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

  1. #
  2. # The contents of this file are subject to the Netscape Public License
  3. # Version 1.0 (the "NPL"); you may not use this file except in
  4. # compliance with the NPL.  You may obtain a copy of the NPL at
  5. # http://www.mozilla.org/NPL/
  6. #
  7. # Software distributed under the NPL is distributed on an "AS IS" basis,
  8. # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  9. # for the specific language governing rights and limitations under the
  10. # NPL.
  11. #
  12. # The Initial Developer of this code under the NPL is Netscape
  13. # Communications Corporation.  Portions created by Netscape are
  14. # Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  15. # Reserved.
  16. #
  17. ifndef MOZ_JAVA
  18. LOCAL_JMC_SUBDIR = .
  19. endif
  20.  
  21. DEPTH        = ../../..
  22.  
  23. MODULE        = img
  24. LIBRARY_NAME    = img
  25.  
  26. CSRCS        = color.c \
  27.           colormap.c \
  28.           dither.c \
  29.           dummy_nc.c \
  30.           external.c \
  31.           gif.c \
  32.           if.c \
  33.           ilclient.c \
  34.           il_util.c \
  35.           jpeg.c \
  36.           scale.c \
  37.           xbm.c \
  38.           ipng.c \
  39.           png_png.c \
  40.           $(NULL)
  41.  
  42. EXPORTS        = PIMGCB.h PPSIMGCB.h
  43.  
  44. REQUIRES    = jtools java zlib nspr dbm jpeg util img png layer js
  45.  
  46. LOCAL_INCLUDES    = -I../png -I. -I$(DEPTH)/dist/public/zlib
  47.  
  48. EXTRA_LIBS    = $(DIST)/lib/libzlib.a $(DIST)/lib/libpng.a
  49.  
  50. #
  51. # Generate MIMGCB.c (and similar sources) here.
  52. # MIMGCB.h is generated in ../public/_jmc/
  53. #
  54. JMC_GEN        = MIMGCB MPSIMGCB
  55. JMC_GEN_FLAGS    = -cimpl -noexc -module
  56.  
  57. include $(DEPTH)/config/rules.mk
  58.