mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 18:51:28 +00:00
93 lines
2.0 KiB
Makefile
93 lines
2.0 KiB
Makefile
#!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 = mocha
|
|
LIBRARY_NAME = mocha
|
|
|
|
REQUIRES = lay parse img js style layer applet dbm nspr security \
|
|
htmldlgs util jtools pref java libreg softupdt jsdebug netcache network httpurl
|
|
|
|
ifndef NO_SECURITY
|
|
REQUIRES += jar
|
|
endif
|
|
|
|
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_span.c \
|
|
lm_supdt.c \
|
|
lm_taint.c \
|
|
lm_trans.c \
|
|
lm_trggr.c \
|
|
lm_url.c \
|
|
lm_win.c \
|
|
lm_layer.c \
|
|
$(NULL)
|
|
|
|
|
|
ifdef MOZ_JAVA
|
|
CSRCS += \
|
|
lm_jsd.c \
|
|
$(NULL)
|
|
endif
|
|
|
|
include $(DEPTH)/config/rules.mk
|
|
|
|
DEFINES += -DDLL_SUFFIX=\"$(DLL_SUFFIX)\"
|
|
|
|
EMBED_CFLAGS = $(CFLAGS) -I$(DEPTH)/lib/plugin
|
|
TAINT_CFLAGS = $(CFLAGS) -I$(DEPTH)/lib/libjar -I$(DEPTH)/sun-java/netscape/security/_jri
|
|
|
|
ifneq ($(OS_ARCH),OS2)
|
|
$(OBJDIR)/lm_embed.o: lm_embed.c
|
|
@$(MAKE_OBJDIR)
|
|
$(CC) -o $@ -c $(EMBED_CFLAGS) $<
|
|
|
|
$(OBJDIR)/lm_taint.o: lm_taint.c
|
|
@$(MAKE_OBJDIR)
|
|
$(CC) -o $@ -c $(TAINT_CFLAGS) $<
|
|
|
|
else
|
|
$(OBJDIR)/lm_embed.o: lm_embed.c
|
|
@$(MAKE_OBJDIR)
|
|
$(CC) -Fo$@ -c $(EMBED_CFLAGS) $<
|
|
|
|
$(OBJDIR)/lm_taint.o: lm_taint.c
|
|
@$(MAKE_OBJDIR)
|
|
$(CC) -Fo$@ -c $(TAINT_CFLAGS) $<
|
|
|
|
endif
|