1998-12-03 04:37:24 +03:00
|
|
|
#!nmake
|
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# 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-12-03 04:37:24 +03:00
|
|
|
#
|
1999-11-06 06:43:54 +03: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-12-03 04:37:24 +03:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape
|
1998-12-03 04:37:24 +03:00
|
|
|
# Communications Corporation. Portions created by Netscape are
|
1999-11-06 06:43:54 +03:00
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1998-12-03 04:37:24 +03:00
|
|
|
|
|
|
|
DEPTH=..\..
|
1999-07-29 07:56:54 +04:00
|
|
|
include <$(DEPTH)/config/config.mak>
|
|
|
|
|
1999-09-01 05:13:14 +04:00
|
|
|
|
1998-12-03 04:37:24 +03:00
|
|
|
|
|
|
|
DEFINES=-DWIN32_LEAN_AND_MEAN
|
|
|
|
MODULE=raptor
|
|
|
|
|
|
|
|
CPPSRCS= \
|
|
|
|
nsAppRunner.cpp \
|
|
|
|
nsSetupRegistry.cpp \
|
2000-02-04 17:40:08 +03:00
|
|
|
nsNativeAppSupportWin.cpp \
|
1998-12-03 04:37:24 +03:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
CPP_OBJS= \
|
|
|
|
.\$(OBJDIR)\nsAppRunner.obj \
|
|
|
|
.\$(OBJDIR)\nsSetupRegistry.obj \
|
2000-02-04 17:40:08 +03:00
|
|
|
.\$(OBJDIR)\nsNativeAppSupportWin.obj \
|
1998-12-03 04:37:24 +03:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
LINCS=-I$(PUBLIC)\raptor \
|
|
|
|
-I$(PUBLIC)\xpcom \
|
|
|
|
-I$(PUBLIC)\base \
|
1999-06-28 14:35:57 +04:00
|
|
|
-I$(PUBLIC)\necko \
|
1998-12-03 04:37:24 +03:00
|
|
|
-I$(PUBLIC)\pref \
|
|
|
|
-I$(PUBLIC)\js \
|
1998-12-30 03:09:03 +03:00
|
|
|
-I$(PUBLIC)\dom \
|
1999-03-16 10:15:37 +03:00
|
|
|
-I$(PUBLIC)\pref \
|
1999-04-10 10:43:26 +04:00
|
|
|
-I$(PUBLIC)\profile \
|
1998-12-30 03:09:03 +03:00
|
|
|
-I$(PUBLIC)\rdf \
|
1999-01-26 10:46:51 +03:00
|
|
|
-I$(PUBLIC)\editor \
|
|
|
|
-I$(PUBLIC)\caps \
|
|
|
|
-I$(PUBLIC)\plugin \
|
|
|
|
-I$(PUBLIC)\java \
|
1999-01-30 19:52:29 +03:00
|
|
|
-I$(PUBLIC)\uconv \
|
1999-02-04 18:55:58 +03:00
|
|
|
-I$(PUBLIC)\strres \
|
|
|
|
-I$(PUBLIC)\locale \
|
1999-02-17 18:30:26 +03:00
|
|
|
-I$(PUBLIC)\lwbrk \
|
1999-02-04 18:55:58 +03:00
|
|
|
-I$(PUBLIC)\unicharutil \
|
|
|
|
-I$(PUBLIC)\intl \
|
1999-05-05 09:14:16 +04:00
|
|
|
-I$(PUBLIC)\xpfe\components \
|
1999-07-01 05:48:08 +04:00
|
|
|
-I$(PUBLIC)\oji \
|
|
|
|
!ifdef MOZ_FULLCIRCLE
|
|
|
|
-I$(MOZ_TOOLS)\include \
|
|
|
|
!endif
|
|
|
|
$(NULL)
|
1998-12-30 03:09:03 +03:00
|
|
|
# -I..\browser
|
1998-12-03 04:37:24 +03:00
|
|
|
|
|
|
|
MAKE_OBJ_TYPE = EXE
|
1999-10-10 05:32:59 +04:00
|
|
|
PROGRAM = .\$(OBJDIR)\mozilla.exe
|
2000-02-04 17:40:08 +03:00
|
|
|
RESFILE = splash.res
|
1998-12-03 04:37:24 +03:00
|
|
|
|
|
|
|
LCFLAGS = \
|
|
|
|
$(LCFLAGS) \
|
|
|
|
$(DEFINES) \
|
|
|
|
$(NULL)
|
|
|
|
|
2000-02-04 17:40:08 +03:00
|
|
|
# This code removes the console from release builds
|
|
|
|
# (unless you've set MOZ_WINCONSOLE=1).
|
|
|
|
!ifndef MOZ_WINCONSOLE
|
2000-02-04 18:14:19 +03:00
|
|
|
!ifdef MOZ_DEBUG
|
2000-02-04 17:40:08 +03:00
|
|
|
MOZ_WINCONSOLE=1
|
|
|
|
!else
|
|
|
|
MOZ_WINCONSOLE=0
|
|
|
|
!endif
|
|
|
|
!endif
|
|
|
|
|
|
|
|
# Set subsystem type according to whether we want a console.
|
|
|
|
!if $(MOZ_WINCONSOLE)
|
|
|
|
LFLAGS= $(LFLAGS) /subsystem:console
|
|
|
|
!else
|
|
|
|
LFLAGS= $(LFLAGS) /subsystem:windows
|
|
|
|
!endif
|
|
|
|
|
1998-12-03 04:37:24 +03:00
|
|
|
# These are the libraries we need to link with to create the exe
|
|
|
|
LLIBS= \
|
1999-06-28 14:35:57 +04:00
|
|
|
$(DIST)\lib\xpcom.lib \
|
1999-10-19 01:33:29 +04:00
|
|
|
$(DIST)\lib\js3250.lib \
|
1999-10-10 05:32:59 +04:00
|
|
|
$(DIST)\lib\gkgfxwin.lib \
|
1999-09-22 05:25:40 +04:00
|
|
|
!ifdef DETECT_WEBSHELL_LEAKS
|
1999-10-10 05:32:59 +04:00
|
|
|
$(DIST)\lib\gkweb.lib \
|
1999-09-22 05:25:40 +04:00
|
|
|
!endif
|
1999-10-15 11:41:54 +04:00
|
|
|
!ifdef GC_LEAK_DETECTOR
|
1999-10-16 01:56:51 +04:00
|
|
|
$(DIST)\lib\boehm.lib \
|
1999-10-15 11:41:54 +04:00
|
|
|
!endif
|
1999-07-01 05:48:08 +04:00
|
|
|
!ifdef MOZ_FULLCIRCLE
|
|
|
|
$(MOZ_TOOLS)\lib\fulls32.lib \
|
1999-06-28 14:35:57 +04:00
|
|
|
!endif
|
1998-12-03 04:37:24 +03:00
|
|
|
$(LIBNSPR) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
include <$(DEPTH)\config\rules.mak>
|
|
|
|
|
|
|
|
install:: $(PROGRAM)
|
|
|
|
$(MAKE_INSTALL) $(PROGRAM) $(DIST)\bin
|
|
|
|
|
|
|
|
clobber::
|
1999-10-10 05:32:59 +04:00
|
|
|
rm -f $(DIST)\bin\mozilla.exe
|