gecko-dev/cmd/ybfe/src2/Makefile.mozilla
1998-09-21 08:03:35 +00:00

78 lines
1.6 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 = ybfe
include $(DEPTH)/config/config.mk
CPPSRCS = \
nsBrowserWindow.cpp \
nsEditorMode.cpp \
nsEditorInterfaces.cpp \
nsRhapsodyMain.cpp \
nsSetupRegistry.cpp \
nsStubs.cpp \
nsViewerApp.cpp \
nsWebCrawler.cpp \
$(NULL)
LDFLAGS = -nostdlib -dynamic -lcrt1.o -lcc_dynamic
INCLUDES += $(NSPRPUB)
REQUIRES = \
nsprpub \
js \
img \
layer \
xp \
util \
java \
plugimpl \
security \
netlib \
xpcom \
dom \
raptorwebwidget \
pref \
raptor \
network \
$(NULL)
TARGETS += $(OBJDIR)/moz-export
ALL_TARGETS = $(TARGETS)
include $(DEPTH)/config/rules.mk
$(OBJDIR)/moz-export: $(OBJS)
@$(MAKE_OBJDIR)
rm -f $@
$(CCC) -o $@ $(LDFLAGS) $(OBJS) $(BASIC_LIBS) -L$(DIST)/bin -L$(DIST)/lib $(DSO_EX_LIBS) $(DNS_LIB)
@$(EXTRA_POST_LINK_CMD) $@
install:: $(TARGETS)
ifdef TARGETS
$(INSTALL) $(filter-out tweak_nspr,$(TARGETS)) $(DIST)/bin
endif
everything: all $(ALL_TARGETS)