Makefile.lib.in
上传用户:shenzhenrh
上传日期:2013-05-12
资源大小:2904k
文件大小:1k
源码类别:

信息检索与抽取

开发平台:

Unix_Linux

  1. include @swarm_prefix@/etc/swarm/Makefile.common
  2. include @swarm_prefix@/etc/swarm/Makefile.rules
  3. LIBRARY = lib$(LIBNAME).a
  4. INCFILE = $(LIBNAME).h
  5. RANLIB = @RANLIB@
  6. SWARMINCLUDES = -I$(includedir) -I.
  7. .PHONY: install-headers install-lib
  8. all: symlink $(LIBRARY)
  9. symlink:
  10. test -d $(LIBNAME) || ln -s . $(LIBNAME)
  11. install: install-headers install-lib
  12. install-headers: 
  13. $(INSTALL_DATA) $(INCFILE) $(includedir)
  14. test -d $(includedir)/$(LIBNAME) || mkdir $(includedir)/$(LIBNAME)
  15. $(INSTALL_DATA) $(HEADERS) $(includedir)/$(LIBNAME)
  16. install-lib: $(LIBRARY)
  17. $(INSTALL_DATA) $(LIBRARY) $(libdir)
  18. clean:
  19. -rm -f core $(OBJECTS) $(OTHERCLEAN)
  20. $(LIBRARY): $(OBJECTS)
  21. -rm -f $@
  22. ar q $@ $(OBJECTS)
  23. $(RANLIB) $(LIBRARY)  
  24. # Local Variables:
  25. # mode: makefile
  26. # End: