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 = ../..
|
|
|
|
|
1998-10-11 05:10:11 +04:00
|
|
|
include $(DEPTH)/config/config.mk
|
|
|
|
|
1998-03-28 05:44:41 +03:00
|
|
|
MODULE = mocha
|
|
|
|
LIBRARY_NAME = mocha
|
|
|
|
|
1998-05-12 02:02:46 +04:00
|
|
|
REQUIRES = lay parse img js style layer applet dbm nspr security \
|
1998-09-01 05:59:14 +04:00
|
|
|
htmldlgs util jtools pref caps java libreg softupdt jsdebug \
|
1998-09-30 04:53:09 +04:00
|
|
|
netcache network httpurl plugin plugimpl mocha oji ojiimpl xpcom \
|
1998-09-30 06:05:19 +04:00
|
|
|
layout rdf
|
1998-08-27 04:09:43 +04:00
|
|
|
|
|
|
|
ifdef DOM
|
1998-08-28 11:52:07 +04:00
|
|
|
EXPORTS = lm_dom.h # required by layout
|
1998-08-27 04:09:43 +04:00
|
|
|
REQUIRES += dom
|
|
|
|
endif
|
|
|
|
|
1998-03-28 05:44:41 +03:00
|
|
|
|
1998-07-02 05:15:11 +04:00
|
|
|
ifdef MOZ_SECURITY
|
1998-04-27 23:07:29 +04:00
|
|
|
REQUIRES += jar
|
|
|
|
endif
|
|
|
|
|
1998-03-28 05:44:41 +03:00
|
|
|
CSRCS = et_mocha.c \
|
|
|
|
et_moz.c \
|
|
|
|
lm_applt.c \
|
|
|
|
lm_bars.c \
|
|
|
|
lm_cmpnt.c \
|
|
|
|
lm_doc.c \
|
|
|
|
lm_embed.c \
|
|
|
|
lm_event.c \
|
|
|
|
lm_form.c \
|
|
|
|
lm_hardw.c \
|
|
|
|
lm_hist.c \
|
|
|
|
lm_href.c \
|
|
|
|
lm_img.c \
|
|
|
|
lm_init.c \
|
|
|
|
lm_input.c \
|
|
|
|
lm_nav.c \
|
|
|
|
lm_plgin.c \
|
|
|
|
lm_screen.c \
|
|
|
|
lm_supdt.c \
|
|
|
|
lm_taint.c \
|
1998-09-30 04:53:09 +04:00
|
|
|
lm_tree.c \
|
1998-03-28 05:44:41 +03:00
|
|
|
lm_trggr.c \
|
|
|
|
lm_url.c \
|
|
|
|
lm_win.c \
|
1998-09-26 02:04:34 +04:00
|
|
|
lm_wngrp.c \
|
1998-03-28 05:44:41 +03:00
|
|
|
lm_layer.c \
|
1998-10-28 23:17:56 +03:00
|
|
|
lm_bkgrd.c \
|
1998-10-23 00:35:54 +04:00
|
|
|
lm_env.c \
|
1998-03-28 05:44:41 +03:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
|
|
|
|
ifdef MOZ_JAVA
|
|
|
|
CSRCS += \
|
|
|
|
lm_jsd.c \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
1998-08-27 04:09:43 +04:00
|
|
|
ifdef DOM
|
|
|
|
CSRCS += lm_dom.c \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
1998-03-28 05:44:41 +03:00
|
|
|
include $(DEPTH)/config/rules.mk
|
|
|
|
|
1998-08-27 04:09:43 +04:00
|
|
|
ifdef DOM
|
|
|
|
DEFINES += -DDOM
|
|
|
|
endif
|
|
|
|
|
1998-03-28 05:44:41 +03:00
|
|
|
DEFINES += -DDLL_SUFFIX=\"$(DLL_SUFFIX)\"
|
|
|
|
|
1998-06-23 01:21:28 +04:00
|
|
|
TAINT_CFLAGS = $(CFLAGS) -I$(DEPTH)/lib/libjar -I$(DEPTH)/sun-java/netscape/security/_jri \
|
|
|
|
-I$(DEPTH)/dist/public/security
|
1998-03-28 05:44:41 +03:00
|
|
|
|
|
|
|
ifneq ($(OS_ARCH),OS2)
|
|
|
|
$(OBJDIR)/lm_embed.o: lm_embed.c
|
|
|
|
@$(MAKE_OBJDIR)
|
1998-08-01 00:19:50 +04:00
|
|
|
$(CC) -o $@ -c $(CFLAGS) $<
|
1998-03-28 05:44:41 +03:00
|
|
|
|
|
|
|
$(OBJDIR)/lm_taint.o: lm_taint.c
|
|
|
|
@$(MAKE_OBJDIR)
|
|
|
|
$(CC) -o $@ -c $(TAINT_CFLAGS) $<
|
|
|
|
|
|
|
|
else
|
|
|
|
$(OBJDIR)/lm_embed.o: lm_embed.c
|
|
|
|
@$(MAKE_OBJDIR)
|
1998-08-01 00:19:50 +04:00
|
|
|
$(CC) -Fo$@ -c $(CFLAGS) $<
|
1998-03-28 05:44:41 +03:00
|
|
|
|
|
|
|
$(OBJDIR)/lm_taint.o: lm_taint.c
|
|
|
|
@$(MAKE_OBJDIR)
|
|
|
|
$(CC) -Fo$@ -c $(TAINT_CFLAGS) $<
|
|
|
|
|
|
|
|
endif
|