source: trunk/third/firefox/config/WIN16 @ 21695

Revision 21695, 3.4 KB checked in by rbasch, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21694, which included commits to RCS files with non-trunk default branches.
Line 
1# The contents of this file are subject to the Netscape Public
2# License Version 1.1 (the "License"); you may not use this file
3# except in compliance with the License. You may obtain a copy of
4# the License at http://www.mozilla.org/NPL/
5#
6# Software distributed under the License is distributed on an "AS
7# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
8# implied. See the License for the specific language governing
9# rights and limitations under the License.
10#
11# The Original Code is mozilla.org code.
12#
13# The Initial Developer of the Original Code is Netscape
14# Communications Corporation.  Portions created by Netscape are
15# Copyright (C) 1998 Netscape Communications Corporation. All
16# Rights Reserved.
17#
18# Contributor(s):
19
20#//------------------------------------------------------------------------
21#//
22#// Win16 Configuration file
23#//
24#//------------------------------------------------------------------------
25
26#//------------------------------------------------------------------------
27#//
28#// Define the OS dependent commands used by MAKE
29#//
30#//------------------------------------------------------------------------
31CC=cl
32LD=$(MOZ_TOOLS)\bin\optlinks.exe
33AR=$(DEPTH)\CONFIG\TLIB.EXE /P64 /C
34#AR=lib /NOLOGO /BATCH /NOIGNORECASE
35RC=rc
36#RM=del /F /Q
37#RM_R=del /F /S /Q
38RM=rm -f
39RM_R=rm -fr
40CP=cp
41AWK=$(MOZ_TOOLS)\bin\gawk.exe
42RANLIB=$(DEPTH)\config\true.bat
43!ifndef MOZ_DEBUG
44JAVAH_PROG=$(DEPTH)\dist\$(DIST_PREFIX)32_o.obj\bin\javah.exe
45!else
46JAVAH_PROG=$(DEPTH)\dist\$(DIST_PREFIX)32_d.obj\bin\javah.exe
47!endif
48
49#//------------------------------------------------------------------------
50#//
51#// Define Debug and optimization flags
52#//
53#//------------------------------------------------------------------------
54!ifndef MOZ_DEBUG
55!ifndef OPTIMIZER
56OPTIMIZER=-Ox -Os -DDEVELOPER_DEBUG
57!endif
58OS_LFLAGS=
59!else
60!if defined(MOZ_FULL_DEBUG_INFO) || ("$(MAKE_OBJ_TYPE)" == "DLL")
61OPTIMIZER=-Z7
62!else if defined(MOZ_DEBUG_FLAG)
63OPTIMIZER=$(MOZ_DEBUG_FLAG)
64!else
65OPTIMIZER=-Zd
66!endif
67OPTIMIZER=$(OPTIMIZER) -Od -DDEBUG -UNDEBUG
68OS_LFLAGS=/CO
69!endif
70!if defined (MOZ_LITE)
71OPTIMIZER=$(OPTIMIZER) -DMOZ_LITE
72!endif
73#//------------------------------------------------------------------------
74#//
75#// Specify the OS dependent compiler flags, linker flags and libraries
76#//
77#//------------------------------------------------------------------------
78!ifdef 286_INSTRUCTIONS
79INSTRUCTIONS=-G2
80!else
81INSTRUCTIONS=-G3
82!endif
83OS_CFLAGS=$(INSTRUCTIONS) -AL -Gx- -Gf -Gd -Gs -W3 -nologo \
84!ifdef MOZ_JAVA
85            -DSEG_ARRAY \
86!endif
87            -D_X86_ -D_WINDOWS -DXP_PC -DSW_THREADS
88
89
90OS_LFLAGS=$(OS_LFLAGS) /NOE /NOD /NOI /XNOI \
91           /ALIGN:16 /BYORDINAL /FARCALL \
92           /PACKC:61440 /PACKD /REORDERSEGMENTS \
93           /DETAILEDMAP /XREF /ONERROR:NOEXE /NOLOGO /WARNDUPS
94
95OS_LIBS=LIBW.LIB TOOLHELP.LIB
96
97
98#//------------------------------------------------------------------------
99#//
100#// Specify the special flags for creating EXEs
101#//
102#//------------------------------------------------------------------------
103EXE_CFLAGS=/GA /Gt3
104EXE_LFLAGS=/STACK:20000
105EXE_LIBS=OLDNAMES.LIB LLIBCEW.LIB
106
107#//------------------------------------------------------------------------
108#//
109#// Specify the special flags for creating DLLs
110#//
111#//------------------------------------------------------------------------
112!ifndef DLL_CFLAGS
113DLL_CFLAGS=/GD /D "_WINDLL"
114!endif
115DLL_LFLAGS=
116DLL_LIBS=OLDNAMES.LIB LDLLCEW.LIB
117
Note: See TracBrowser for help on using the repository browser.