]> git.saurik.com Git - wxWidgets.git/blame - src/expat/bcb5/expat.mak
Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW...
[wxWidgets.git] / src / expat / bcb5 / expat.mak
CommitLineData
5e9f2524
VS
1# ---------------------------------------------------------------------------
2!if !$d(BCB)
3BCB = $(MAKEDIR)\..
4!endif
5
6# ---------------------------------------------------------------------------
7# IDE SECTION
8# ---------------------------------------------------------------------------
9# The following section of the project makefile is managed by the BCB IDE.
10# It is recommended to use the IDE to change any of the values in this
11# section.
12# ---------------------------------------------------------------------------
13
14VERSION = BCB.05.03
15# ---------------------------------------------------------------------------
16PROJECT = Release\libexpat_mtd.dll
17OBJFILES = Release\obj\libexpat\xmlparse.obj Release\obj\libexpat\xmlrole.obj \
18 Release\obj\libexpat\xmltok.obj
19RESFILES =
20MAINSOURCE = expat.bpf
21RESDEPEN = $(RESFILES)
22LIBFILES =
23IDLFILES =
24IDLGENFILES =
25LIBRARIES =
26PACKAGES = VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi \
27 ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi \
28 VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi \
29 dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi
30SPARELIBS =
31DEFFILE = libexpat_mtd.def
32# ---------------------------------------------------------------------------
33PATHCPP = .;..\lib
34PATHASM = .;
35PATHPAS = .;
36PATHRC = .;
37DEBUGLIBPATH = $(BCB)\lib\debug
38RELEASELIBPATH = $(BCB)\lib\release
39USERDEFINES = _WINDOWS;WIN32;NDEBUG;_USRDLL;COMPILED_FROM_DSP;EXPAT_EXPORTS
40SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
41INCLUDEPATH = ..\lib;$(BCB)\include
42LIBPATH = ..\lib;$(BCB)\lib;$(RELEASELIBPATH)
43WARNINGS= -w-rch -w-par -w-8027 -w-8026 -w-ccc
44# ---------------------------------------------------------------------------
45CFLAG1 = -WD -O2 -X- -a8 -b -k- -vi -q -tWM -c -tWD
46IDLCFLAGS = -I$(BCB)\include
47PFLAGS = -N2Release\obj\libexpat -N0Release\obj\libexpat -$Y- -$L- -$D-
48RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
49AFLAGS = /mx /w2 /zn
50LFLAGS = -IRelease\obj\libexpat -D"" -aa -Tpd -x -Gn -Gi -q
51# ---------------------------------------------------------------------------
52ALLOBJ = c0d32.obj $(OBJFILES)
53ALLRES = $(RESFILES)
54ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib
55# ---------------------------------------------------------------------------
56!ifdef IDEOPTIONS
57
58[Version Info]
59IncludeVerInfo=0
60AutoIncBuild=0
61MajorVer=1
62MinorVer=0
63Release=0
64Build=0
65Debug=0
66PreRelease=0
67Special=0
68Private=0
69DLL=0
70
71[Version Info Keys]
72CompanyName=
73FileDescription=
74FileVersion=1.0.0.0
75InternalName=
76LegalCopyright=
77LegalTrademarks=
78OriginalFilename=
79ProductName=
80ProductVersion=1.0.0.0
81Comments=
82
83[Debugging]
84DebugSourceDirs=$(BCB)\source\vcl
85
86!endif
87
88
89
90
91
92# ---------------------------------------------------------------------------
93# MAKE SECTION
94# ---------------------------------------------------------------------------
95# This section of the project file is not used by the BCB IDE. It is for
96# the benefit of building from the command-line using the MAKE utility.
97# ---------------------------------------------------------------------------
98
99.autodepend
100# ---------------------------------------------------------------------------
101!if "$(USERDEFINES)" != ""
102AUSERDEFINES = -d$(USERDEFINES:;= -d)
103!else
104AUSERDEFINES =
105!endif
106
107!if !$d(BCC32)
108BCC32 = bcc32
109!endif
110
111!if !$d(CPP32)
112CPP32 = cpp32
113!endif
114
115!if !$d(DCC32)
116DCC32 = dcc32
117!endif
118
119!if !$d(TASM32)
120TASM32 = tasm32
121!endif
122
123!if !$d(LINKER)
124LINKER = ilink32
125!endif
126
127!if !$d(BRCC32)
128BRCC32 = brcc32
129!endif
130
131
132# ---------------------------------------------------------------------------
133!if $d(PATHCPP)
134.PATH.CPP = $(PATHCPP)
135.PATH.C = $(PATHCPP)
136!endif
137
138!if $d(PATHPAS)
139.PATH.PAS = $(PATHPAS)
140!endif
141
142!if $d(PATHASM)
143.PATH.ASM = $(PATHASM)
144!endif
145
146!if $d(PATHRC)
147.PATH.RC = $(PATHRC)
148!endif
149# ---------------------------------------------------------------------------
150$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
151 $(BCB)\BIN\$(LINKER) @&&!
152 $(LFLAGS) -L$(LIBPATH) +
153 $(ALLOBJ), +
154 $(PROJECT),, +
155 $(ALLLIB), +
156 $(DEFFILE), +
157 $(ALLRES)
158!
159# ---------------------------------------------------------------------------
160.pas.hpp:
161 $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
162
163.pas.obj:
164 $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
165
166.cpp.obj:
167 $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
168
169.c.obj:
170 $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
171
172.c.i:
173 $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
174
175.cpp.i:
176 $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
177
178.asm.obj:
179 $(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
180
181.rc.res:
182 $(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
183# ---------------------------------------------------------------------------
184
185
186
187