home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / modules / rdf / src / Makefile < prev    next >
Encoding:
Makefile  |  1998-04-08  |  1.5 KB  |  63 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. #
  20.  
  21. DEPTH        = ../../..
  22. MODULE        = rdf
  23. LIBRARY_NAME    = $(LITE_PREFIX)rdf
  24.  
  25. REQUIRES    = nspr dbm java js htmldlgs util img layer pref
  26.  
  27. JNI_GEN        = netscape.rdf.core.NativeRDF netscape.rdf.core.NativeRDFEnumeration
  28.  
  29. CSRCS        = bmk2mcf.c \
  30.           vocab.c \
  31.           nlcstore.c \
  32.           mcff2mcf.c \
  33.           rdfht.c \
  34.           remstore.c \
  35.           glue.c \
  36.           utils.c \
  37.           fs2rdf.c \
  38.           hist2rdf.c \
  39.           rdfparse.c \
  40.           pm2rdf.c \
  41.           es2mcf.c \
  42.           columns.c \
  43.           scook.c \
  44.           rdfjava.c \
  45.           mcf.c \
  46.           ht.c \
  47.           $(NULL)
  48.  
  49. LOCAL_INCLUDES    = -I$(PUBLIC)/rdf
  50.  
  51. include $(DEPTH)/config/rules.mk
  52.  
  53. $(LIBRARY): $(OBJS)
  54.  
  55. test:    $(OBJDIR)/test
  56.  
  57. .PHONY: test
  58.  
  59. $(OBJDIR)/test: $(OBJDIR)/test.o $(LIBRARY)
  60.         @$(MAKE_OBJDIR)
  61.         $(CC) -o $@ $(OBJDIR)/test.o $(LIBRARY) $(LIBNSPR) $(DIST)/lib/libdbm.$(LIB_SUFFIX) $(LDFLAGS)
  62.