1998-03-28 05:44:41 +03:00
|
|
|
#!gmake
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Netscape Public License
|
|
|
|
# Version 1.0 (the "NPL"); you may not use this file except in
|
|
|
|
# compliance with the NPL. You may obtain a copy of the NPL at
|
|
|
|
# http://www.mozilla.org/NPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# NPL.
|
|
|
|
#
|
|
|
|
# The Initial Developer of this code under the NPL is Netscape
|
|
|
|
# Communications Corporation. Portions created by Netscape are
|
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
|
|
|
# Reserved.
|
|
|
|
|
|
|
|
DEPTH = ../..
|
|
|
|
|
|
|
|
MODULE = lay
|
|
|
|
LIBRARY_NAME = lay
|
|
|
|
|
1998-10-11 04:57:43 +04:00
|
|
|
include $(DEPTH)/config/config.mk
|
|
|
|
|
1998-08-04 05:41:21 +04:00
|
|
|
EXPORTS = laylayer.h layout.h lo_funcs.h
|
1998-03-28 05:44:41 +03:00
|
|
|
|
1998-09-29 03:39:17 +04:00
|
|
|
# XXX Perignon hack
|
|
|
|
ifdef DOM
|
1998-10-17 01:18:24 +04:00
|
|
|
EXPORTS += laydom.h laystyle.h
|
1998-09-29 03:39:17 +04:00
|
|
|
endif
|
|
|
|
|
1998-03-28 05:44:41 +03:00
|
|
|
CSRCS = bullet.c \
|
|
|
|
clipline.c \
|
|
|
|
layarena.c \
|
|
|
|
layblock.c \
|
1998-07-23 21:44:04 +04:00
|
|
|
laybuiltin.c \
|
|
|
|
laycell.c \
|
1998-03-28 05:44:41 +03:00
|
|
|
laycols.c \
|
|
|
|
laydisp.c \
|
|
|
|
layembed.c \
|
|
|
|
layfind.c \
|
|
|
|
layform.c \
|
|
|
|
laygrid.c \
|
|
|
|
layhrule.c \
|
|
|
|
layinfo.c \
|
|
|
|
laylist.c \
|
|
|
|
laymap.c \
|
|
|
|
layobj.c \
|
|
|
|
layscrip.c \
|
|
|
|
layspace.c \
|
|
|
|
laystyle.c \
|
|
|
|
laysub.c \
|
|
|
|
ptinpoly.c \
|
|
|
|
laymocha.c \
|
|
|
|
layjava.c \
|
|
|
|
laylayer.c \
|
|
|
|
layrelay.c \
|
|
|
|
laytrav.c \
|
1998-09-30 22:40:05 +04:00
|
|
|
layfree.c \
|
|
|
|
layimage.c \
|
|
|
|
layout.c \
|
|
|
|
laysel.c \
|
|
|
|
laytable.c \
|
|
|
|
laytags.c \
|
|
|
|
laytext.c \
|
|
|
|
layutil.c \
|
1998-07-23 21:44:04 +04:00
|
|
|
$(NULL)
|
1998-03-28 05:44:41 +03:00
|
|
|
|
1998-10-17 01:18:24 +04:00
|
|
|
ifdef DOM
|
|
|
|
CSRCS +=laydom.c
|
|
|
|
endif
|
|
|
|
|
1998-10-15 00:29:40 +04:00
|
|
|
REQUIRES = parse style js layer applet nspr security dbm img util jtools edtplug java hook pref libfont lay rdf network htmldlgs privacy mocha oji ojiimpl xpcom mailto
|
1998-08-27 04:05:26 +04:00
|
|
|
|
|
|
|
ifdef DOM
|
|
|
|
REQUIRES += dom
|
|
|
|
endif
|
1998-03-28 05:44:41 +03:00
|
|
|
|
1998-09-30 04:53:10 +04:00
|
|
|
ifdef MOZ_EDITOR
|
1998-03-28 05:44:41 +03:00
|
|
|
CSRCS += layedit.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
CPPSRCS = streams.cpp \
|
|
|
|
fsfile.cpp \
|
|
|
|
editor.cpp \
|
|
|
|
edtbuf.cpp \
|
|
|
|
edtcmd.cpp \
|
|
|
|
edtele.cpp \
|
|
|
|
edtjava.cpp \
|
1998-10-10 02:14:45 +04:00
|
|
|
edtlist.cpp \
|
1998-03-28 05:44:41 +03:00
|
|
|
edtsave.cpp \
|
|
|
|
edtutil.cpp \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(DEPTH)/config/rules.mk
|
|
|
|
|
1998-08-27 04:05:26 +04:00
|
|
|
ifdef DOM
|
|
|
|
DEFINES += -DDOM=1
|
|
|
|
endif
|
|
|
|
|
1998-03-28 05:44:41 +03:00
|
|
|
ifneq ($(OS_ARCH),OS2)
|
|
|
|
$(OBJDIR)/laymocha.o: laymocha.c
|
|
|
|
@$(MAKE_OBJDIR)
|
|
|
|
$(CC) -o $@ -c $(CFLAGS) -I$(DEPTH)/mocha/include $<
|
|
|
|
else
|
|
|
|
$(OBJDIR)/laymocha.o: laymocha.c
|
|
|
|
@$(MAKE_OBJDIR)
|
|
|
|
$(CC) -Fo$@ -c $(CFLAGS) -I$(DEPTH)/mocha/include $<
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(LIBRARY): $(OBJS)
|