gecko-dev/webshell/tests/viewer/Makefile

94 lines
3.1 KiB
Makefile
Raw Normal View History

1998-06-01 22:28:38 +00:00
#!nmake
#
# 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=../../..
IGNORE_MANIFEST=1
MAKE_OBJ_TYPE = EXE
PROGRAM = ./$(OBJDIR)/viewer.exe
RESFILE = viewer.res
MISCDEP= \
$(DIST)/lib/raptorweb.a \
$(DIST)/lib/xpcom32.a \
$(LIBNSPR) \
$(DIST)/lib/libplc21.a
CPPSRCS = \
main.cpp \
nsViewer.cpp \
nsDocLoader.cpp \
$(NULL)
OBJS = $(CPPSRCS:.cpp=.o)
REQUIRES = xpcom raptor dom netlib js
MYLIBS= \
$(DIST)/lib/raptorbase.a \
$(DIST)/lib/raptorgfx.a \
$(DIST)/lib/raptorhtml.a \
$(DIST)/lib/raptorweb.a \
$(DIST)/lib/xpcom32.a \
$(DIST)/lib/js3240.a \
$(LIBNSPR) \
$(DIST)/lib/libplc21.a \
$(DIST)/lib/netlib.a \
$(NULL)
LLIBS= $(MYLIBS)
include $(DEPTH)/config/rules.mk
install:: $(PROGRAM)
$(MAKE_INSTALL) $(PROGRAM) $(DIST)/bin
$(MAKE_INSTALL) samples/test0.html $(DIST)/bin/res/samples
$(MAKE_INSTALL) samples/test1.html $(DIST)/bin/res/samples
$(MAKE_INSTALL) samples/test2.html $(DIST)/bin/res/samples
$(MAKE_INSTALL) samples/test3.html $(DIST)/bin/res/samples
$(MAKE_INSTALL) samples/test4.html $(DIST)/bin/res/samples
$(MAKE_INSTALL) samples/test5.html $(DIST)/bin/res/samples
$(MAKE_INSTALL) samples/test6.html $(DIST)/bin/res/samples
$(MAKE_INSTALL) samples/test7.html $(DIST)/bin/res/samples
$(MAKE_INSTALL) samples/test8.html $(DIST)/bin/res/samples
$(MAKE_INSTALL) samples/test8siz.html $(DIST)/bin/res/samples
$(MAKE_INSTALL) samples/test8sca.html $(DIST)/bin/res/samples
$(MAKE_INSTALL) samples/test8tab.html $(DIST)/bin/res/samples
$(MAKE_INSTALL) samples/raptor.jpg $(DIST)/bin/res/samples
$(MAKE_INSTALL) samples/Anieyes.gif $(DIST)/bin/res/samples
$(MAKE_INSTALL) samples/gear1.gif $(DIST)/bin/res/samples
$(MAKE_INSTALL) samples/rock_gra.gif $(DIST)/bin/res/samples
$(MAKE_INSTALL) samples/bg.jpg $(DIST)/bin/res/samples
clobber::
rm -f $(DIST)/bin/viewer.exe
rm -f $(DIST)/bin/res/samples/test0.html
rm -f $(DIST)/bin/res/samples/test1.html
rm -f $(DIST)/bin/res/samples/test2.html
rm -f $(DIST)/bin/res/samples/test3.html
rm -f $(DIST)/bin/res/samples/test4.html
rm -f $(DIST)/bin/res/samples/test5.html
rm -f $(DIST)/bin/res/samples/test6.html
rm -f $(DIST)/bin/res/samples/test7.html
rm -f $(DIST)/bin/res/samples/test8.html
rm -f $(DIST)/bin/res/samples/raptor.jpg
rm -f $(DIST)/bin/res/samples/Anieyes.gif
rm -f $(DIST)/bin/res/samples/gear1.gif
rm -f $(DIST)/bin/res/samples/rock_gra.gif
rm -f $(DIST)/bin/res/samples/bg.jpg