< prev index next >

make/java/npt/Makefile

Print this page
rev 1377 : 6727683: Cleanup use of COMPILER_WARNINGS_FATAL in makefiles
Reviewed-by: tbell

  36 
  37 SRCDIR=$(SHARE_SRC)/npt
  38 PSRCDIR=$(PLATFORM_SRC)/npt
  39 
  40 # Use the mapfile-vers (See the mapfile located with this Makefile)
  41 ifdef FILES_m
  42 include $(BUILDDIR)/common/Mapfile-vers.gmk
  43 endif
  44 
  45 #
  46 # Files to compile.
  47 #
  48 FILES_c =                       \
  49         npt.c   \
  50         utf.c   \
  51         utf_md.c
  52 
  53 OTHER_INCLUDES = -I$(SRCDIR) -I$(PSRCDIR)
  54 
  55 #
  56 # This removes all asserts in the optimized version
  57 #
  58 CPPFLAGS_OPT += -DNDEBUG
  59 
  60 #
  61 # Library to compile.
  62 #
  63 include $(BUILDDIR)/common/Library.gmk
  64 
  65 # We don't want to link against -ljava
  66 JAVALIB=
  67 
  68 # Add -export options to explicitly spell exported symbols
  69 ifeq ($(PLATFORM), windows)
  70   OTHER_LCF += -export:nptInitialize -export:nptTerminate
  71 endif
  72 
  73 #
  74 # Add to ambient vpath so we pick up the library files
  75 #
  76 vpath %.c $(SRCDIR):$(PSRCDIR)
  77 

  36 
  37 SRCDIR=$(SHARE_SRC)/npt
  38 PSRCDIR=$(PLATFORM_SRC)/npt
  39 
  40 # Use the mapfile-vers (See the mapfile located with this Makefile)
  41 ifdef FILES_m
  42 include $(BUILDDIR)/common/Mapfile-vers.gmk
  43 endif
  44 
  45 #
  46 # Files to compile.
  47 #
  48 FILES_c =                       \
  49         npt.c   \
  50         utf.c   \
  51         utf_md.c
  52 
  53 OTHER_INCLUDES = -I$(SRCDIR) -I$(PSRCDIR)
  54 
  55 #





  56 # Library to compile.
  57 #
  58 include $(BUILDDIR)/common/Library.gmk
  59 
  60 # We don't want to link against -ljava
  61 JAVALIB=
  62 
  63 # Add -export options to explicitly spell exported symbols
  64 ifeq ($(PLATFORM), windows)
  65   OTHER_LCF += -export:nptInitialize -export:nptTerminate
  66 endif
  67 
  68 #
  69 # Add to ambient vpath so we pick up the library files
  70 #
  71 vpath %.c $(SRCDIR):$(PSRCDIR)
  72 
< prev index next >