1998-04-14 00:24:54 +04: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
|
1998-10-31 03:25:40 +03:00
|
|
|
!ifdef MOZ_DEBUG
|
|
|
|
RCFLAGS=/d_DEBUG
|
|
|
|
!endif
|
1998-04-14 00:24:54 +04:00
|
|
|
|
1998-06-01 21:14:40 +04:00
|
|
|
MISCDEP= \
|
|
|
|
$(DIST)\lib\DebugRobot.lib \
|
|
|
|
$(DIST)\lib\raptorweb.lib \
|
|
|
|
$(DIST)\lib\xpcom32.lib \
|
|
|
|
$(LIBNSPR) \
|
1998-04-14 00:24:54 +04:00
|
|
|
$(DIST)\lib\libplc21.lib
|
|
|
|
|
|
|
|
|
1998-10-26 21:07:14 +03:00
|
|
|
OBJS = \
|
|
|
|
.\$(OBJDIR)\nsBrowserWindow.obj \
|
1998-06-24 04:29:00 +04:00
|
|
|
.\$(OBJDIR)\nsEditorInterfaces.obj \
|
1998-10-26 21:07:14 +03:00
|
|
|
.\$(OBJDIR)\nsEditorMode.obj \
|
|
|
|
.\$(OBJDIR)\nsSetupRegistry.obj \
|
|
|
|
.\$(OBJDIR)\nsViewerApp.obj \
|
|
|
|
.\$(OBJDIR)\nsWebCrawler.obj \
|
|
|
|
.\$(OBJDIR)\nsWinMain.obj \
|
|
|
|
.\$(OBJDIR)\JSConsole.obj \
|
1998-04-14 00:24:54 +04:00
|
|
|
$(NULL)
|
|
|
|
|
1998-10-26 21:07:14 +03:00
|
|
|
LINCS= \
|
1998-07-18 02:58:11 +04:00
|
|
|
-I$(PUBLIC)\raptor \
|
|
|
|
-I$(PUBLIC)\xpcom \
|
|
|
|
-I$(PUBLIC)\dom \
|
|
|
|
-I$(PUBLIC)\js \
|
|
|
|
-I$(PUBLIC)\netlib \
|
|
|
|
-I$(PUBLIC)\java \
|
|
|
|
-I$(PUBLIC)\plugin \
|
1998-09-22 04:57:54 +04:00
|
|
|
-I$(PUBLIC)\pref \
|
1998-11-30 01:13:27 +03:00
|
|
|
-I$(PUBLIC)\editor \
|
1998-12-02 03:28:58 +03:00
|
|
|
-I$(PUBLIC)\rdf \
|
1998-09-22 04:57:54 +04:00
|
|
|
!if defined(NGPREFS)
|
|
|
|
-I$(PUBLIC)\ngprefs \
|
|
|
|
!endif
|
1998-11-21 02:54:29 +03:00
|
|
|
!ifdef MOZ_FULLCIRCLE
|
1998-11-22 04:20:32 +03:00
|
|
|
-I$(PUBLIC)\fulls32 \
|
1998-11-21 02:54:29 +03:00
|
|
|
!endif
|
1998-09-22 04:57:54 +04:00
|
|
|
$(NULL)
|
1998-06-04 21:46:41 +04:00
|
|
|
|
1998-06-01 21:14:40 +04:00
|
|
|
MYLIBS= \
|
|
|
|
$(DIST)\lib\raptorbase.lib \
|
1998-07-27 03:52:36 +04:00
|
|
|
$(DIST)\lib\raptorgfxwin.lib \
|
1998-06-01 21:14:40 +04:00
|
|
|
$(DIST)\lib\raptorhtml.lib \
|
|
|
|
$(DIST)\lib\raptorweb.lib \
|
1998-09-15 00:46:42 +04:00
|
|
|
$(DIST)\lib\raptorwidget.lib \
|
1998-10-26 21:07:14 +03:00
|
|
|
$(DIST)\lib\raptorhtmlpars.lib \
|
1998-06-01 21:14:40 +04:00
|
|
|
$(DIST)\lib\DebugRobot.lib \
|
|
|
|
$(DIST)\lib\xpcom32.lib \
|
1998-08-05 05:40:20 +04:00
|
|
|
$(DIST)\lib\js32$(VERSION_NUMBER).lib \
|
1998-06-01 21:14:40 +04:00
|
|
|
$(LIBNSPR) \
|
|
|
|
$(DIST)\lib\libplc21.lib \
|
|
|
|
$(DIST)\lib\netlib.lib \
|
1998-07-09 03:46:01 +04:00
|
|
|
$(DIST)\lib\jsdom.lib \
|
1998-06-01 21:14:40 +04:00
|
|
|
comdlg32.lib \
|
1998-09-22 04:57:54 +04:00
|
|
|
!if defined(NGPREFS)
|
|
|
|
ole32.lib \
|
|
|
|
!endif
|
1998-11-21 02:54:29 +03:00
|
|
|
!ifdef MOZ_FULLCIRCLE
|
1998-11-22 04:20:32 +03:00
|
|
|
$(DIST)\lib\fulls32.lib \
|
1998-11-21 02:54:29 +03:00
|
|
|
!endif
|
1998-04-14 00:24:54 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
LLIBS= $(MYLIBS) \
|
|
|
|
shell32.lib \
|
|
|
|
-SUBSYSTEM:CONSOLE
|
|
|
|
|
|
|
|
include <$(DEPTH)\config\rules.mak>
|
|
|
|
|
1998-06-04 21:46:41 +04:00
|
|
|
!ifdef MOZ_NO_DEBUG_RTL
|
|
|
|
OS_CFLAGS = $(OS_CFLAGS) -DMOZ_NO_DEBUG_RTL
|
|
|
|
!endif
|
|
|
|
|
1998-09-22 04:57:54 +04:00
|
|
|
!if defined(NGPREFS)
|
|
|
|
OS_CFLAGS = $(OS_CFLAGS) -DNGPREFS
|
|
|
|
!endif
|
|
|
|
|
1998-04-14 00:24:54 +04:00
|
|
|
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
|
1998-06-04 21:46:41 +04:00
|
|
|
$(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
|
1998-11-10 02:30:16 +03:00
|
|
|
$(MAKE_INSTALL) samples\test8dom.html $(DIST)\bin\res\samples
|
1998-06-24 04:29:00 +04:00
|
|
|
$(MAKE_INSTALL) samples\test_ed.html $(DIST)\bin\res\samples
|
1998-06-18 04:47:18 +04:00
|
|
|
$(MAKE_INSTALL) samples\test9.html $(DIST)\bin\res\samples
|
|
|
|
$(MAKE_INSTALL) samples\test9a.html $(DIST)\bin\res\samples
|
1998-07-27 09:59:37 +04:00
|
|
|
$(MAKE_INSTALL) samples\test9b.html $(DIST)\bin\res\samples
|
1998-04-14 00:24:54 +04:00
|
|
|
$(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
|
1998-10-26 21:07:14 +03:00
|
|
|
$(MAKE_INSTALL) samples\test10.html $(DIST)\bin\res\samples
|
1998-07-11 09:33:00 +04:00
|
|
|
$(MAKE_INSTALL) throbber\anims00.gif $(DIST)\bin\res\throbber
|
|
|
|
$(MAKE_INSTALL) throbber\anims01.gif $(DIST)\bin\res\throbber
|
|
|
|
$(MAKE_INSTALL) throbber\anims02.gif $(DIST)\bin\res\throbber
|
|
|
|
$(MAKE_INSTALL) throbber\anims03.gif $(DIST)\bin\res\throbber
|
|
|
|
$(MAKE_INSTALL) throbber\anims04.gif $(DIST)\bin\res\throbber
|
|
|
|
$(MAKE_INSTALL) throbber\anims05.gif $(DIST)\bin\res\throbber
|
|
|
|
$(MAKE_INSTALL) throbber\anims06.gif $(DIST)\bin\res\throbber
|
|
|
|
$(MAKE_INSTALL) throbber\anims07.gif $(DIST)\bin\res\throbber
|
|
|
|
$(MAKE_INSTALL) throbber\anims08.gif $(DIST)\bin\res\throbber
|
|
|
|
$(MAKE_INSTALL) throbber\anims09.gif $(DIST)\bin\res\throbber
|
|
|
|
$(MAKE_INSTALL) throbber\anims10.gif $(DIST)\bin\res\throbber
|
|
|
|
$(MAKE_INSTALL) throbber\anims11.gif $(DIST)\bin\res\throbber
|
|
|
|
$(MAKE_INSTALL) throbber\anims12.gif $(DIST)\bin\res\throbber
|
|
|
|
$(MAKE_INSTALL) throbber\anims13.gif $(DIST)\bin\res\throbber
|
1998-04-14 00:24:54 +04:00
|
|
|
|
|
|
|
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
|
1998-06-18 04:47:18 +04:00
|
|
|
rm -f $(DIST)\bin\res\samples\test8siz.html
|
|
|
|
rm -f $(DIST)\bin\res\samples\test8sca.html
|
|
|
|
rm -f $(DIST)\bin\res\samples\test8tab.html
|
1998-11-10 02:30:16 +03:00
|
|
|
rm -f $(DIST)\bin\res\samples\test8dom.html
|
1998-06-24 04:29:00 +04:00
|
|
|
rm -f $(DIST)\bin\res\samples\test_ed.html
|
1998-06-18 04:47:18 +04:00
|
|
|
rm -f $(DIST)\bin\res\samples\test9.html
|
|
|
|
rm -f $(DIST)\bin\res\samples\test9a.html
|
1998-07-27 09:59:37 +04:00
|
|
|
rm -f $(DIST)\bin\res\samples\test9b.html
|
1998-04-14 00:24:54 +04:00
|
|
|
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
|
1998-07-11 09:33:00 +04:00
|
|
|
rm -f $(DIST)\bin\res\throbber\anims00.gif
|
1998-10-26 21:07:14 +03:00
|
|
|
rm -f $(DIST)\bin\res\samples\test10.html
|
1998-07-11 09:33:00 +04:00
|
|
|
rm -f $(DIST)\bin\res\throbber\anims01.gif
|
|
|
|
rm -f $(DIST)\bin\res\throbber\anims02.gif
|
|
|
|
rm -f $(DIST)\bin\res\throbber\anims03.gif
|
|
|
|
rm -f $(DIST)\bin\res\throbber\anims04.gif
|
|
|
|
rm -f $(DIST)\bin\res\throbber\anims05.gif
|
|
|
|
rm -f $(DIST)\bin\res\throbber\anims06.gif
|
|
|
|
rm -f $(DIST)\bin\res\throbber\anims07.gif
|
|
|
|
rm -f $(DIST)\bin\res\throbber\anims08.gif
|
|
|
|
rm -f $(DIST)\bin\res\throbber\anims09.gif
|
|
|
|
rm -f $(DIST)\bin\res\throbber\anims10.gif
|
|
|
|
rm -f $(DIST)\bin\res\throbber\anims11.gif
|
|
|
|
rm -f $(DIST)\bin\res\throbber\anims12.gif
|
|
|
|
rm -f $(DIST)\bin\res\throbber\anims13.gif
|