Add copy of .ttf font with .eot extension for testing
[wine-gecko.git] / security / coreconf / WIN16.mk
blobe5d4b18163fe3ca087189a9b92adcdfa1f7c0403
2 # ***** BEGIN LICENSE BLOCK *****
3 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License. You may obtain a copy of the License at
8 # http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
13 # License.
15 # The Original Code is the Netscape security libraries.
17 # The Initial Developer of the Original Code is
18 # Netscape Communications Corporation.
19 # Portions created by the Initial Developer are Copyright (C) 1994-2000
20 # the Initial Developer. All Rights Reserved.
22 # Contributor(s):
24 # Alternatively, the contents of this file may be used under the terms of
25 # either the GNU General Public License Version 2 or later (the "GPL"), or
26 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 # in which case the provisions of the GPL or the LGPL are applicable instead
28 # of those above. If you wish to allow use of your version of this file only
29 # under the terms of either the GPL or the LGPL, and not to allow others to
30 # use your version of this file under the terms of the MPL, indicate your
31 # decision by deleting the provisions above and replace them with the notice
32 # and other provisions required by the GPL or the LGPL. If you do not delete
33 # the provisions above, a recipient may use your version of this file under
34 # the terms of any one of the MPL, the GPL or the LGPL.
36 # ***** END LICENSE BLOCK *****
39 # win16_3.11.mk -- Make configuration for Win16
41 # This file configures gmake to build the Win16 variant of
42 # NSPR 2.0. This file has the function of two files commonly
43 # used on other platforms, for example: winnt.mk and
44 # winnt4.0.mk. ... The packaging is easier and there is only
45 # one variant of the Win16 target.
47 # Win16 is built using the Watcom C/C++ version 11.0
48 # compiler. You gotta set up the compiler first.
49 # The Watcom compiler depends on a few environment
50 # variables; these environment variables define where the
51 # compiler components are installed; they must be set before
52 # running the make.
54 # Notes:
55 # OS_CFLAGS is the command line options for the compiler when
56 # building the .DLL object files.
57 # OS_EXE_CFLAGS is the command line options for the compiler
58 # when building the .EXE object files; this is for the test
59 # programs.
60 # the macro OS_CFLAGS is set to OS_EXE_CFLAGS inside of the
61 # makefile for the pr/tests directory. ... Hack.
67 # -- configuration -----------------------------------------
69 DEFAULT_COMPILER = wcc
71 CC = wcc
72 CCC = wcl
73 LINK = wlink
74 AR = wlib
75 AR += -q $@
76 RC = wrc.exe
77 RC += /r /dWIN16=1 /bt=windows
78 RANLIB = echo
79 BSDECHO = echo
80 NSINSTALL_DIR = $(CORE_DEPTH)/coreconf/nsinstall
81 NSINSTALL = nsinstall
82 INSTALL = $(NSINSTALL)
83 MAKE_OBJDIR = mkdir
84 MAKE_OBJDIR += $(OBJDIR)
85 XP_DEFINE += -DXP_PC
86 LIB_SUFFIX = lib
87 DLL_SUFFIX = dll
89 ifdef BUILD_OPT
90 OPTIMIZER = -oneatx -oh -oi -ei -3 -fpi87 -fp3
91 else
92 OPTIMIZER += -d2 -hc -DDEBUG
93 # OPTIMIZER += -d2 -hw -DDEBUG
94 # LDFLAGS += -DEBUG -DEBUGTYPE:CV
95 endif
98 # $(CPU_ARCH) has been commented out so that its contents
99 # are not added to the WIN16_?.OBJ names thus expanding
100 # them beyond the 8.3 character limit for this platform.
102 #CPU_ARCH = x386
104 # added "-s" to avoid dependency on watcom's libs (e.g. on _STK)
105 # added "-zt3" for compatibility with MSVC's "/Gt3" option
107 OS_CFLAGS += -ml -3 -bd -zc -zu -bt=windows -s -zt3 -d_X86_ -dWIN16 -d_WINDLL
108 #OS_EXE_CFLAGS += -ml -3 -bt=windows -d_X86_ -dWIN16
109 OS_LIB_FLAGS = -c -iro
111 # Name of the binary code directories
112 OS_DLL_OPTION = CASEEXACT
113 OS_DLLFLAGS =
114 OS_LIBS =
115 W16_EXPORTS = #
116 ifdef MAPFILE
117 # Add LD options to restrict exported symbols to those in the map file
118 endif
119 # Change PROCESS to put the mapfile in the correct format for this platform
120 PROCESS_MAP_FILE = copy $< $@
124 # The following is NOT needed for the NSPR 2.0 library.
127 OS_CFLAGS += -d_WINDOWS -d_MSC_VER=700
130 # override the definitions of RELEASE_TREE found in tree.mk
132 ifndef RELEASE_TREE
133 ifdef BUILD_SHIP
134 ifdef USE_SHIPS
135 RELEASE_TREE = $(NTBUILD_SHIP)
136 else
137 RELEASE_TREE = //redbuild/components
138 endif
139 else
140 RELEASE_TREE = //redbuild/components
141 endif
142 endif
145 # override the definitions of LIB_PREFIX and DLL_PREFIX in prefix.mk
147 ifndef LIB_PREFIX
148 LIB_PREFIX = $(NULL)
149 endif
151 ifndef DLL_PREFIX
152 DLL_PREFIX = $(NULL)
153 endif
156 # override the definitions of various _SUFFIX symbols in suffix.mk
160 # Object suffixes
162 ifndef OBJ_SUFFIX
163 OBJ_SUFFIX = .obj
164 endif
167 # Assembler source suffixes
169 ifndef ASM_SUFFIX
170 ASM_SUFFIX = .asm
171 endif
174 # Library suffixes
176 ifndef IMPORT_LIB_SUFFIX
177 IMPORT_LIB_SUFFIX = .$(LIB_SUFFIX)
178 endif
180 ifndef DYNAMIC_LIB_SUFFIX_FOR_LINKING
181 DYNAMIC_LIB_SUFFIX_FOR_LINKING = $(IMPORT_LIB_SUFFIX)
182 endif
185 # Program suffixes
187 ifndef PROG_SUFFIX
188 PROG_SUFFIX = .exe
189 endif
192 # When the processor is NOT 386-based on Windows NT, override the
193 # value of $(CPU_TAG). For WinNT, 95, 16, not CE.
195 ifneq ($(CPU_ARCH),x386)
196 CPU_TAG = _$(CPU_ARCH)
197 endif
200 # override ruleset.mk, removing the "lib" prefix for library names, and
201 # adding the "32" after the LIBRARY_VERSION.
203 ifdef LIBRARY_NAME
204 SHARED_LIBRARY = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION)32$(JDK_DEBUG_SUFFIX).dll
205 IMPORT_LIBRARY = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION)32$(JDK_DEBUG_SUFFIX).lib
206 endif
209 # override the TARGETS defined in ruleset.mk, adding IMPORT_LIBRARY
211 ifndef TARGETS
212 TARGETS = $(LIBRARY) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(PROGRAM)
213 endif