]> git.saurik.com Git - wxWidgets.git/blob - src/expat/bcb5/expat_static.mak
adding more infos, links
[wxWidgets.git] / src / expat / bcb5 / expat_static.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\libexpats_mtd.lib
17 OBJFILES = Release\obj\libexpat_static\xmlparse.obj \
18 Release\obj\libexpat_static\xmlrole.obj \
19 Release\obj\libexpat_static\xmltok.obj
20 RESFILES =
21 MAINSOURCE = expat_static.bpf
22 RESDEPEN = $(RESFILES)
23 LIBFILES =
24 IDLFILES =
25 IDLGENFILES =
26 LIBRARIES =
27 PACKAGES =
28 SPARELIBS =
29 DEFFILE =
30 # ---------------------------------------------------------------------------
31 PATHCPP = .;..\lib
32 PATHASM = .;
33 PATHPAS = .;
34 PATHRC = .;
35 LINKER = TLib
36 DEBUGLIBPATH = $(BCB)\lib\debug
37 RELEASELIBPATH = $(BCB)\lib\release
38 USERDEFINES = _WINDOWS;WIN32;NDEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC
39 SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
40 INCLUDEPATH = ..\lib;$(BCB)\include
41 LIBPATH = ..\lib;$(BCB)\lib;$(RELEASELIBPATH)
42 WARNINGS = -w-rch -w-par -w-8027 -w-8026 -w-ccc
43 LISTFILE =
44 # ---------------------------------------------------------------------------
45 CFLAG1 = -O2 -X- -a8 -b -k- -vi -q -tWM -c
46 IDLCFLAGS = -I$(BCB)\include
47 PFLAGS = -N2Release\obj\libexpat_static -N0Release\obj\libexpat_static -$Y- -$L- -$D-
48 RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
49 AFLAGS = /mx /w2 /zn
50 LFLAGS =
51 # ---------------------------------------------------------------------------
52 ALLOBJ = $(OBJFILES)
53 ALLRES = $(RESFILES)
54 ALLLIB = $(LIBFILES) $(LIBRARIES)
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 = TLib
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 !if "$(LISTFILE)" == ""
151 COMMA =
152 !else
153 COMMA = ,
154 !endif
155
156 $(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
157 $(BCB)\BIN\$(LINKER) /u $@ @&&!
158 $(LFLAGS) $? $(COMMA) $(LISTFILE)
159
160 !
161 # ---------------------------------------------------------------------------
162 .pas.hpp:
163 $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
164
165 .pas.obj:
166 $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
167
168 .cpp.obj:
169 $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
170
171 .c.obj:
172 $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
173
174 .c.i:
175 $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
176
177 .cpp.i:
178 $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
179
180 .asm.obj:
181 $(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
182
183 .rc.res:
184 $(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
185 # ---------------------------------------------------------------------------
186
187
188
189