Lib.make 672 B

123456789101112131415161718192021222324252627
  1. # common dependencies and rules for building libraries
  2. #for i18N support
  3. PACKAGE ="grasslibs"
  4. include $(MODULE_TOPDIR)/include/Make/Vars.make
  5. include $(MODULE_TOPDIR)/include/Make/Rules.make
  6. include $(MODULE_TOPDIR)/include/Make/Html.make
  7. include $(MODULE_TOPDIR)/include/Make/Compile.make
  8. ifneq ($(LIB),)
  9. LIB_NAME := $($(LIB)_LIBNAME)
  10. EXTRA_LIBS := $($(LIB)DEPS)
  11. endif
  12. STLIB_NAME = $(LIB_NAME)
  13. STLIB_OBJS = $(ARCH_OBJS)
  14. SHLIB_NAME = $(LIB_NAME)
  15. SHLIB_OBJS = $(ARCH_OBJS)
  16. include $(MODULE_TOPDIR)/include/Make/Stlib.make
  17. include $(MODULE_TOPDIR)/include/Make/Shlib.make
  18. lib: $(GRASS_LIBRARY_TYPE)
  19. if [ "$(PGM)" != "" -a -f "$(PGM)".html ] ; then $(MAKE) html ; fi