home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / lib / layout / Makefile < prev    next >
Encoding:
Makefile  |  1998-04-08  |  2.0 KB  |  94 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. DEPTH        = ../..
  19.  
  20. MODULE        = lay
  21. LIBRARY_NAME    = lay
  22.  
  23. EXPORTS        = layout.h lo_funcs.h
  24.  
  25. CSRCS        = bullet.c \
  26.           clipline.c \
  27.           layarena.c \
  28.           layblock.c \
  29.           laycell.c \
  30.           laycols.c \
  31.           laydisp.c \
  32.           layembed.c \
  33.           layfind.c \
  34.           layform.c \
  35.           laygrid.c \
  36.           layhrule.c \
  37.           layinfo.c \
  38.           laylist.c \
  39.           laymap.c \
  40.           layobj.c \
  41.           layscrip.c \
  42.           layspace.c \
  43.           laystyle.c \
  44.           laysub.c \
  45.           ptinpoly.c \
  46.           laymocha.c \
  47.           layjava.c \
  48.           laylayer.c \
  49.           layrelay.c \
  50.           laytrav.c \
  51.           $(NULL)
  52.  
  53. REQUIRES    = parse style js layer applet nspr security dbm img util jtools edtplug java hook pref libfont lay rdf
  54.  
  55. include $(DEPTH)/config/config.mk
  56.  
  57. ifdef EDITOR
  58. CSRCS        += layedit.c \
  59.           layfree.c \
  60.           layimage.c \
  61.           layout.c \
  62.           laysel.c \
  63.           laytable.c \
  64.           laytags.c \
  65.           laytext.c \
  66.           layutil.c \
  67.           $(NULL)
  68.  
  69. CPPSRCS        = streams.cpp \
  70.           fsfile.cpp \
  71.           editor.cpp \
  72.           edtbuf.cpp \
  73.           edtcmd.cpp \
  74.           edtele.cpp \
  75.           edtjava.cpp \
  76.           edtsave.cpp \
  77.           edtutil.cpp \
  78.           $(NULL)
  79. endif
  80.  
  81. include $(DEPTH)/config/rules.mk
  82.  
  83. ifneq ($(OS_ARCH),OS2)
  84. $(OBJDIR)/laymocha.o: laymocha.c
  85.     @$(MAKE_OBJDIR)
  86.     $(CC) -o $@ -c $(CFLAGS) -I$(DEPTH)/mocha/include $<
  87. else
  88. $(OBJDIR)/laymocha.o: laymocha.c
  89.     @$(MAKE_OBJDIR)
  90.     $(CC) -Fo$@ -c $(CFLAGS) -I$(DEPTH)/mocha/include $<
  91. endif
  92.  
  93. $(LIBRARY): $(OBJS)
  94.