pjs/webshell/tests/viewer/makefile.win

283 строки
11 KiB
Plaintext
Исходник Обычный вид История

1998-04-14 00:24:54 +04:00
#!nmake
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
1998-04-14 00:24:54 +04:00
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
1998-04-14 00:24:54 +04:00
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
1998-04-14 00:24:54 +04:00
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
1998-04-14 00:24:54 +04:00
DEPTH=..\..\..
include <$(DEPTH)/config/config.mak>
1998-04-14 00:24:54 +04:00
DIRS=public
1998-04-14 00:24:54 +04:00
MAKE_OBJ_TYPE = EXE
PROGRAM = .\$(OBJDIR)\viewer.exe
RESFILE = viewer.res
!ifdef MOZ_DEBUG
RCFLAGS=/d_DEBUG
!endif
1998-04-14 00:24:54 +04:00
!ifdef MOZ_DEBUG
1999-09-26 09:52:24 +04:00
RCFLAGS=/dPURIFY
LCFLAGS=-DPURIFY
!endif
1998-04-14 00:24:54 +04:00
1998-10-26 21:07:14 +03:00
OBJS = \
.\$(OBJDIR)\nsBaseDialog.obj \
.\$(OBJDIR)\nsFindDialog.obj \
1999-01-07 00:59:17 +03:00
.\$(OBJDIR)\nsImageInspectorDialog.obj \
.\$(OBJDIR)\nsTableInspectorDialog.obj \
.\$(OBJDIR)\nsPrintSetupDialog.obj \
.\$(OBJDIR)\nsXPBaseWindow.obj \
1998-10-26 21:07:14 +03:00
.\$(OBJDIR)\nsBrowserWindow.obj \
.\$(OBJDIR)\nsEditorMode.obj \
.\$(OBJDIR)\nsSetupRegistry.obj \
1999-09-26 00:10:29 +04:00
.\$(OBJDIR)\nsThrobber.obj \
1998-10-26 21:07:14 +03:00
.\$(OBJDIR)\nsViewerApp.obj \
.\$(OBJDIR)\nsWebCrawler.obj \
.\$(OBJDIR)\nsWebBrowserChrome.obj \
1998-10-26 21:07:14 +03:00
.\$(OBJDIR)\nsWinMain.obj \
.\$(OBJDIR)\JSConsole.obj \
1998-04-14 00:24:54 +04:00
$(NULL)
1998-10-26 21:07:14 +03:00
LINCS= \
-I$(PUBLIC)\raptor \
-I$(PUBLIC)\xpcom \
-I$(PUBLIC)\dom \
-I$(PUBLIC)\js \
!ifdef NECKO
-I$(PUBLIC)\necko \
!else
-I$(PUBLIC)\netlib \
!endif
-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 \
1999-01-30 19:52:29 +03:00
-I$(PUBLIC)\uconv \
-I$(PUBLIC)\strres \
-I$(PUBLIC)\locale \
1999-02-17 18:30:26 +03:00
-I$(PUBLIC)\lwbrk \
-I$(PUBLIC)\unicharutil \
-I$(PUBLIC)\intl \
-I$(PUBLIC)\rdf \
1999-04-04 04:40:56 +04:00
-I$(PUBLIC)\wallet \
1999-04-11 13:41:53 +04:00
-I$(PUBLIC)\profile \
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
-I$(MOZ_TOOLS)\include \
1998-11-21 02:54:29 +03:00
!endif
1999-01-25 11:05:00 +03:00
-I$(PUBLIC)\oji \
-I$(PUBLIC)\caps \
1998-09-22 04:57:54 +04:00
$(NULL)
LLIBS= \
$(DIST)\lib\gkgfxwin.lib \
1999-07-17 19:52:01 +04:00
$(DIST)\lib\timer_s.lib \
$(DIST)\lib\widgetsupport_s.lib \
$(DIST)\lib\DebugRobot.lib \
1999-05-26 05:38:36 +04:00
$(DIST)\lib\xpcom.lib \
1998-08-05 05:40:20 +04:00
$(DIST)\lib\js32$(VERSION_NUMBER).lib \
$(LIBNSPR) \
$(DIST)\lib\jsdom.lib \
1998-11-21 02:54:29 +03:00
!ifdef MOZ_FULLCIRCLE
$(MOZ_TOOLS)\lib\fulls32.lib \
1998-11-21 02:54:29 +03:00
!endif
1998-04-14 00:24:54 +04:00
$(NULL)
WIN_LIBS= \
shell32.lib \
!if defined(NGPREFS)
ole32.lib \
!endif
comdlg32.lib
LLFLAGS=-SUBSYSTEM:CONSOLE
1998-04-14 00:24:54 +04:00
include <$(DEPTH)\config\rules.mak>
!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) resources\find.html $(DIST)\bin\res\samples
$(MAKE_INSTALL) resources\printsetup.html $(DIST)\bin\res\samples
1999-01-07 00:59:17 +03:00
$(MAKE_INSTALL) resources\image_props.html $(DIST)\bin\res\samples
$(MAKE_INSTALL) resources\viewer.properties $(DIST)\bin\res
1998-04-14 00:24:54 +04:00
$(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\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
$(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
$(MAKE_INSTALL) samples\checkboxTest.xul $(DIST)\bin\res\samples
$(MAKE_INSTALL) samples\beeptest.html $(DIST)\bin\res\samples
1999-07-24 09:01:29 +04:00
$(MAKE_INSTALL) samples\soundtest.html $(DIST)\bin\res\samples
$(MAKE_INSTALL) samples\test.wav $(DIST)\bin\res\samples
1998-10-26 21:07:14 +03:00
$(MAKE_INSTALL) samples\test10.html $(DIST)\bin\res\samples
1999-02-03 20:05:48 +03:00
$(MAKE_INSTALL) samples\test11.html $(DIST)\bin\res\samples
$(MAKE_INSTALL) samples\test12.html $(DIST)\bin\res\samples
$(MAKE_INSTALL) samples\test13.html $(DIST)\bin\res\samples
$(MAKE_INSTALL) samples\test14.html $(DIST)\bin\res\samples
$(MAKE_INSTALL) samples\test15.html $(DIST)\bin\res\samples
$(MAKE_INSTALL) samples\test16.html $(DIST)\bin\res\samples
$(MAKE_INSTALL) samples\demoform.css $(DIST)\bin\res\samples
$(MAKE_INSTALL) samples\mozform.css $(DIST)\bin\res\samples
$(MAKE_INSTALL) samples\aform.css $(DIST)\bin\res\samples
$(MAKE_INSTALL) samples\bform.css $(DIST)\bin\res\samples
$(MAKE_INSTALL) samples\cform.css $(DIST)\bin\res\samples
$(MAKE_INSTALL) samples\test_pr.html $(DIST)\bin\res\samples
$(MAKE_INSTALL) samples\test_gfx.html $(DIST)\bin\res\samples
$(MAKE_INSTALL) samples\test_lbox.html $(DIST)\bin\res\samples
1999-03-05 23:20:18 +03:00
$(MAKE_INSTALL) samples\toolbarTest1.xul $(DIST)\bin\res\samples
$(MAKE_INSTALL) samples\treeTest1.xul $(DIST)\bin\res\samples
1999-03-05 23:20:18 +03:00
$(MAKE_INSTALL) samples\xulTest.css $(DIST)\bin\res\samples
$(MAKE_INSTALL) samples\treeTest1.css $(DIST)\bin\res\samples
1999-06-17 02:20:29 +04:00
$(MAKE_INSTALL) samples\sliderTest1.xul $(DIST)\bin\res\samples
$(MAKE_INSTALL) samples\scrollbarTest1.xul $(DIST)\bin\res\samples
$(MAKE_INSTALL) samples\scrollbarTest2.xul $(DIST)\bin\res\samples
1999-03-13 00:40:39 +03:00
$(MAKE_INSTALL) throbber\anim.gif $(DIST)\bin\res\throbber
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
$(MAKE_INSTALL) throbber\anims14.gif $(DIST)\bin\res\throbber
$(MAKE_INSTALL) throbber\anims15.gif $(DIST)\bin\res\throbber
$(MAKE_INSTALL) throbber\anims16.gif $(DIST)\bin\res\throbber
$(MAKE_INSTALL) throbber\anims17.gif $(DIST)\bin\res\throbber
$(MAKE_INSTALL) throbber\anims18.gif $(DIST)\bin\res\throbber
$(MAKE_INSTALL) throbber\anims19.gif $(DIST)\bin\res\throbber
$(MAKE_INSTALL) throbber\anims20.gif $(DIST)\bin\res\throbber
$(MAKE_INSTALL) throbber\anims21.gif $(DIST)\bin\res\throbber
$(MAKE_INSTALL) throbber\anims22.gif $(DIST)\bin\res\throbber
$(MAKE_INSTALL) throbber\anims23.gif $(DIST)\bin\res\throbber
$(MAKE_INSTALL) throbber\anims24.gif $(DIST)\bin\res\throbber
$(MAKE_INSTALL) throbber\anims25.gif $(DIST)\bin\res\throbber
$(MAKE_INSTALL) throbber\anims26.gif $(DIST)\bin\res\throbber
$(MAKE_INSTALL) throbber\anims27.gif $(DIST)\bin\res\throbber
$(MAKE_INSTALL) throbber\anims28.gif $(DIST)\bin\res\throbber
$(MAKE_INSTALL) throbber\anims29.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\find.html
rm -f $(DIST)\bin\res\samples\printsetup.html
1998-04-14 00:24:54 +04:00
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
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
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
rm -f $(DIST)\bin\res\samples\checkboxTest.xul
rm -f $(DIST)\bin\res\samples\beeptest.html
1999-07-24 09:01:29 +04:00
rm -f $(DIST)\bin\res\samples\soundtest.html
rm -f $(DIST)\bin\res\samples\test.wav
1998-10-26 21:07:14 +03:00
rm -f $(DIST)\bin\res\samples\test10.html
1999-02-03 20:05:48 +03:00
rm -f $(DIST)\bin\res\samples\test11.html
rm -f $(DIST)\bin\res\samples\test12.html
rm -f $(DIST)\bin\res\samples\test16.html
rm -f $(DIST)\bin\res\samples\demoform.css
rm -f $(DIST)\bin\res\samples\mozform.css
rm -f $(DIST)\bin\res\samples\aform.css
rm -f $(DIST)\bin\res\samples\bform.css
rm -f $(DIST)\bin\res\samples\cform.css
rm -f $(DIST)\bin\res\samples\test_pr.html
rm -f $(DIST)\bin\res\samples\test_gfx.html
rm -f $(DIST)\bin\res\samples\test_lbox.html
1999-03-13 00:40:39 +03:00
rm -f $(DIST)\bin\res\throbber\anim.gif
rm -f $(DIST)\bin\res\throbber\anims00.gif
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
rm -f $(DIST)\bin\res\throbber\anims14.gif
rm -f $(DIST)\bin\res\throbber\anims15.gif
rm -f $(DIST)\bin\res\throbber\anims16.gif
rm -f $(DIST)\bin\res\throbber\anims17.gif
rm -f $(DIST)\bin\res\throbber\anims18.gif
rm -f $(DIST)\bin\res\throbber\anims19.gif
rm -f $(DIST)\bin\res\throbber\anims20.gif
rm -f $(DIST)\bin\res\throbber\anims21.gif
rm -f $(DIST)\bin\res\throbber\anims22.gif
rm -f $(DIST)\bin\res\throbber\anims23.gif
rm -f $(DIST)\bin\res\throbber\anims24.gif
rm -f $(DIST)\bin\res\throbber\anims25.gif
rm -f $(DIST)\bin\res\throbber\anims26.gif
rm -f $(DIST)\bin\res\throbber\anims27.gif
rm -f $(DIST)\bin\res\throbber\anims28.gif
rm -f $(DIST)\bin\res\throbber\anims29.gif