]> git.saurik.com Git - wxWidgets.git/blob - src/expat/bcb5/expat.mak
guard for 10.2
[wxWidgets.git] / src / expat / bcb5 / expat.mak
1 # ---------------------------------------------------------------------------
2 !if !$d(BCB)
3 BCB = $(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
14 VERSION = BCB.05.03
15 # ---------------------------------------------------------------------------
16 PROJECT = Release\libexpat_mtd.dll
17 OBJFILES = Release\obj\libexpat\xmlparse.obj Release\obj\libexpat\xmlrole.obj \
18 Release\obj\libexpat\xmltok.obj
19 RESFILES =
20 MAINSOURCE = expat.bpf
21 RESDEPEN = $(RESFILES)
22 LIBFILES =
23 IDLFILES =
24 IDLGENFILES =
25 LIBRARIES =
26 PACKAGES = 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
30 SPARELIBS =
31 DEFFILE = libexpat_mtd.def
32 # ---------------------------------------------------------------------------
33 PATHCPP = .;..\lib
34 PATHASM = .;
35 PATHPAS = .;
36 PATHRC = .;
37 DEBUGLIBPATH = $(BCB)\lib\debug
38 RELEASELIBPATH = $(BCB)\lib\release
39 USERDEFINES = _WINDOWS;WIN32;NDEBUG;_USRDLL;COMPILED_FROM_DSP;EXPAT_EXPORTS
40 SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
41 INCLUDEPATH = ..\lib;$(BCB)\include
42 LIBPATH = ..\lib;$(BCB)\lib;$(RELEASELIBPATH)
43 WARNINGS= -w-rch -w-par -w-8027 -w-8026 -w-ccc
44 # ---------------------------------------------------------------------------
45 CFLAG1 = -WD -O2 -X- -a8 -b -k- -vi -q -tWM -c -tWD
46 IDLCFLAGS = -I$(BCB)\include
47 PFLAGS = -N2Release\obj\libexpat -N0Release\obj\libexpat -$Y- -$L- -$D-
48 RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
49 AFLAGS = /mx /w2 /zn
50 LFLAGS = -IRelease\obj\libexpat -D"" -aa -Tpd -x -Gn -Gi -q
51 # ---------------------------------------------------------------------------
52 ALLOBJ = c0d32.obj $(OBJFILES)
53 ALLRES = $(RESFILES)
54 ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib
55 # ---------------------------------------------------------------------------
56 !ifdef IDEOPTIONS
57
58 [Version Info]
59 IncludeVerInfo=0
60 AutoIncBuild=0
61 MajorVer=1
62 MinorVer=0
63 Release=0
64 Build=0
65 Debug=0
66 PreRelease=0
67 Special=0
68 Private=0
69 DLL=0
70
71 [Version Info Keys]
72 CompanyName=
73 FileDescription=
74 FileVersion=1.0.0.0
75 InternalName=
76 LegalCopyright=
77 LegalTrademarks=
78 OriginalFilename=
79 ProductName=
80 ProductVersion=1.0.0.0
81 Comments=
82
83 [Debugging]
84 DebugSourceDirs=$(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)" != ""
102 AUSERDEFINES = -d$(USERDEFINES:;= -d)
103 !else
104 AUSERDEFINES =
105 !endif
106
107 !if !$d(BCC32)
108 BCC32 = bcc32
109 !endif
110
111 !if !$d(CPP32)
112 CPP32 = cpp32
113 !endif
114
115 !if !$d(DCC32)
116 DCC32 = dcc32
117 !endif
118
119 !if !$d(TASM32)
120 TASM32 = tasm32
121 !endif
122
123 !if !$d(LINKER)
124 LINKER = ilink32
125 !endif
126
127 !if !$d(BRCC32)
128 BRCC32 = 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