home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / modules / rdf / src / makefile.win < prev    next >
Encoding:
Makefile  |  1998-04-08  |  2.6 KB  |  99 lines

  1. #!gmake
  2. #
  3. # The contents of this file are subject to the Netscape Public License
  4. # Version 1.0 (the "NPL"); you may not use this file except in
  5. # compliance with the NPL.  You may obtain a copy of the NPL at
  6. # http://www.mozilla.org/NPL/
  7. #
  8. # Software distributed under the NPL is distributed on an "AS IS" basis,
  9. # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10. # for the specific language governing rights and limitations under the
  11. # NPL.
  12. #
  13. # The Initial Developer of this code under the NPL is Netscape
  14. # Communications Corporation.  Portions created by Netscape are
  15. # Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16. # Reserved.
  17.  
  18.  
  19. IGNORE_MANIFEST=1
  20.  
  21. DEPTH    = ..\..\..
  22.   
  23. LIBRARY_SUFFIX=$(MOZ_BITS)
  24.  
  25. !ifndef MAKE_OBJ_TYPE
  26. MAKE_OBJ_TYPE=DLL
  27. !else
  28. OBJS= $(OBJS) .\$(OBJDIR)\test.obj
  29. # LLIBS=$(LIBNSPR) $(DEPTH)\lib\libdbm\$(DIST_PREFIX)$(MOZ_BITS)_D.OBJ\dbm.lib
  30. # !endif
  31. !ifndef    MOZ_DEBUG
  32. LLIBS=$(LIBNSPR) $(DEPTH)\lib\libdbm\$(DIST_PREFIX)$(MOZ_BITS)_O.OBJ\dbm.lib
  33. !else
  34. LLIBS=$(LIBNSPR) $(DEPTH)\lib\libdbm\$(DIST_PREFIX)$(MOZ_BITS)_D.OBJ\dbm.lib
  35. !endif
  36. !endif
  37.  
  38.  
  39. PROGRAM=.\$(OBJDIR)\test.exe
  40.  
  41.  
  42.  
  43. MODULE=rdf 
  44. LIBRARY_NAME=rdf 
  45. REQUIRES=nspr dbm java js htmldlgs util img layer pref
  46. CSRCS=bmk2mcf.c vocab.c  nlcstore.c mcf.c mcff2mcf.c rdfht.c \
  47.     remstore.c ht.c glue.c utils.c fs2rdf.c hist2rdf.c \
  48.     rdfparse.c   es2mcf.c columns.c   \
  49.      scook.c \
  50.  
  51. C_OBJS=.\$(OBJDIR)\bmk2mcf.obj .\$(OBJDIR)\vocab.obj \
  52.      .\$(OBJDIR)\nlcstore.obj \
  53.     .\$(OBJDIR)\mcf.obj .\$(OBJDIR)\mcff2mcf.obj .\$(OBJDIR)\rdfht.obj \
  54.     .\$(OBJDIR)\remstore.obj .\$(OBJDIR)\ht.obj \
  55.     .\$(OBJDIR)\glue.obj .\$(OBJDIR)\utils.obj .\$(OBJDIR)\fs2rdf.obj \
  56.     .\$(OBJDIR)\hist2rdf.obj .\$(OBJDIR)\rdfparse.obj \
  57.      .\$(OBJDIR)\es2mcf.obj \
  58.     .\$(OBJDIR)\columns.obj  \
  59.     .\$(OBJDIR)\scook.obj 
  60. !if "$(MOZ_BITS)" != "16"
  61. LINCS=-I$(XPDIST)\public\nspr -I$(XPDIST)\public\dbm \
  62.     -I$(XPDIST)\public\java -I$(XPDIST)\public\js \
  63.     -I$(XPDIST)\public\htmldlgs -I$(XPDIST)\public\util \
  64.     -I$(XPDIST)\public\img -I$(XPDIST)\public\layer \
  65.     -I$(XPDIST)\public\pref
  66.      
  67. !endif
  68.  
  69.  
  70. include <$(DEPTH)\config\rules.mak>
  71.  
  72. !if "$(MOZ_BITS)" == "32"
  73. LINCS= $(LINCS) -I$(PUBLIC)\rdf
  74. !endif
  75.  
  76. libs:: $(LIBRARY)
  77.     $(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
  78.  
  79.  
  80. test: 
  81.     echo make test
  82.     nmake /nologo -f makefile.win MAKE_OBJ_TYPE=EXE $(PROGRAM)
  83.  
  84. JNI_GEN_DIR = _jni
  85.  
  86. !ifdef JNI_GEN
  87.  
  88. export:: $(JNI_GEN)
  89.  
  90. $(JNI_GEN):: display_jni_header_msg
  91.     !$(JAVAH) -jni -d $(JNI_GEN_DIR) $@
  92.  
  93. LINCS = $(LINCS) -I$(JNI_GEN_DIR)
  94.  
  95. display_jni_header_msg:
  96.     echo +++ make: Generating JNI header files...
  97.  
  98. !endif
  99.