diff options
Diffstat (limited to 'contrib/delphi2/d_zlib.bpr')
-rw-r--r-- | contrib/delphi2/d_zlib.bpr | 224 |
1 files changed, 224 insertions, 0 deletions
diff --git a/contrib/delphi2/d_zlib.bpr b/contrib/delphi2/d_zlib.bpr new file mode 100644 index 0000000..78bb254 --- /dev/null +++ b/contrib/delphi2/d_zlib.bpr | |||
@@ -0,0 +1,224 @@ | |||
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.03 | ||
15 | # --------------------------------------------------------------------------- | ||
16 | PROJECT = d_zlib.lib | ||
17 | OBJFILES = d_zlib.obj adler32.obj deflate.obj infblock.obj infcodes.obj inffast.obj \ | ||
18 | inflate.obj inftrees.obj infutil.obj trees.obj | ||
19 | RESFILES = | ||
20 | RESDEPEN = $(RESFILES) | ||
21 | LIBFILES = | ||
22 | LIBRARIES = VCL35.lib | ||
23 | SPARELIBS = VCL35.lib | ||
24 | DEFFILE = | ||
25 | PACKAGES = VCLX35.bpi VCL35.bpi VCLDB35.bpi VCLDBX35.bpi ibsmp35.bpi bcbsmp35.bpi \ | ||
26 | dclocx35.bpi QRPT35.bpi TEEUI35.bpi TEEDB35.bpi TEE35.bpi DSS35.bpi \ | ||
27 | NMFAST35.bpi INETDB35.bpi INET35.bpi VCLMID35.bpi | ||
28 | # --------------------------------------------------------------------------- | ||
29 | PATHCPP = .; | ||
30 | PATHASM = .; | ||
31 | PATHPAS = .; | ||
32 | PATHRC = .; | ||
33 | DEBUGLIBPATH = $(BCB)\lib\debug | ||
34 | RELEASELIBPATH = $(BCB)\lib\release | ||
35 | # --------------------------------------------------------------------------- | ||
36 | CFLAG1 = -O2 -Ve -d -k- -vi | ||
37 | CFLAG2 = -I$(BCB)\include;$(BCB)\include\vcl -H=$(BCB)\lib\vcl35.csm | ||
38 | CFLAG3 = -ff -pr -5 | ||
39 | PFLAGS = -U;$(DEBUGLIBPATH) -I$(BCB)\include;$(BCB)\include\vcl -H -W -$I- -v -JPHN -M | ||
40 | RFLAGS = -i$(BCB)\include;$(BCB)\include\vcl | ||
41 | AFLAGS = /i$(BCB)\include /i$(BCB)\include\vcl /mx /w2 /zn | ||
42 | LFLAGS = | ||
43 | IFLAGS = -g -Gn | ||
44 | # --------------------------------------------------------------------------- | ||
45 | ALLOBJ = c0w32.obj $(OBJFILES) | ||
46 | ALLRES = $(RESFILES) | ||
47 | ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cp32mt.lib | ||
48 | # --------------------------------------------------------------------------- | ||
49 | !!ifdef IDEOPTIONS | ||
50 | |||
51 | [Version Info] | ||
52 | IncludeVerInfo=0 | ||
53 | AutoIncBuild=0 | ||
54 | MajorVer=1 | ||
55 | MinorVer=0 | ||
56 | Release=0 | ||
57 | Build=0 | ||
58 | Debug=0 | ||
59 | PreRelease=0 | ||
60 | Special=0 | ||
61 | Private=0 | ||
62 | DLL=0 | ||
63 | Locale=1040 | ||
64 | CodePage=1252 | ||
65 | |||
66 | [Version Info Keys] | ||
67 | CompanyName= | ||
68 | FileDescription= | ||
69 | FileVersion=1.0.0.0 | ||
70 | InternalName= | ||
71 | LegalCopyright= | ||
72 | LegalTrademarks= | ||
73 | OriginalFilename= | ||
74 | ProductName= | ||
75 | ProductVersion=1.0.0.0 | ||
76 | Comments= | ||
77 | |||
78 | [HistoryLists\hlIncludePath] | ||
79 | Count=2 | ||
80 | Item0=$(BCB)\include | ||
81 | Item1=$(BCB)\include;$(BCB)\include\vcl | ||
82 | |||
83 | [HistoryLists\hlLibraryPath] | ||
84 | Count=1 | ||
85 | Item0=$(BCB)\lib\obj;$(BCB)\lib | ||
86 | |||
87 | [HistoryLists\hlDebugSourcePath] | ||
88 | Count=1 | ||
89 | Item0=$(BCB)\source\vcl | ||
90 | |||
91 | [Debugging] | ||
92 | DebugSourceDirs= | ||
93 | |||
94 | [Parameters] | ||
95 | RunParams= | ||
96 | HostApplication= | ||
97 | |||
98 | !endif | ||
99 | |||
100 | --------------------------------------------------------------------------- | ||
101 | # MAKE SECTION | ||
102 | # --------------------------------------------------------------------------- | ||
103 | # This section of the project file is not used by the BCB IDE. It is for | ||
104 | # the benefit of building from the command-line using the MAKE utility. | ||
105 | # --------------------------------------------------------------------------- | ||
106 | |||
107 | .autodepend | ||
108 | # --------------------------------------------------------------------------- | ||
109 | !if !$d(BCC32) | ||
110 | BCC32 = bcc32 | ||
111 | !endif | ||
112 | |||
113 | !if !$d(DCC32) | ||
114 | DCC32 = dcc32 | ||
115 | !endif | ||
116 | |||
117 | !if !$d(TASM32) | ||
118 | TASM32 = tasm32 | ||
119 | !endif | ||
120 | |||
121 | !if !$d(LINKER) | ||
122 | LINKER = TLib | ||
123 | !endif | ||
124 | |||
125 | !if !$d(BRCC32) | ||
126 | BRCC32 = brcc32 | ||
127 | !endif | ||
128 | # --------------------------------------------------------------------------- | ||
129 | !if $d(PATHCPP) | ||
130 | .PATH.CPP = $(PATHCPP) | ||
131 | .PATH.C = $(PATHCPP) | ||
132 | !endif | ||
133 | |||
134 | !if $d(PATHPAS) | ||
135 | .PATH.PAS = $(PATHPAS) | ||
136 | !endif | ||
137 | |||
138 | !if $d(PATHASM) | ||
139 | .PATH.ASM = $(PATHASM) | ||
140 | !endif | ||
141 | |||
142 | !if $d(PATHRC) | ||
143 | .PATH.RC = $(PATHRC) | ||
144 | !endif | ||
145 | # --------------------------------------------------------------------------- | ||
146 | !ifdef IDEOPTIONS | ||
147 | |||
148 | [Version Info] | ||
149 | IncludeVerInfo=0 | ||
150 | AutoIncBuild=0 | ||
151 | MajorVer=1 | ||
152 | MinorVer=0 | ||
153 | Release=0 | ||
154 | Build=0 | ||
155 | Debug=0 | ||
156 | PreRelease=0 | ||
157 | Special=0 | ||
158 | Private=0 | ||
159 | DLL=0 | ||
160 | Locale=1040 | ||
161 | CodePage=1252 | ||
162 | |||
163 | [Version Info Keys] | ||
164 | CompanyName= | ||
165 | FileDescription= | ||
166 | FileVersion=1.0.0.0 | ||
167 | InternalName= | ||
168 | LegalCopyright= | ||
169 | LegalTrademarks= | ||
170 | OriginalFilename= | ||
171 | ProductName= | ||
172 | ProductVersion=1.0.0.0 | ||
173 | Comments= | ||
174 | |||
175 | [HistoryLists\hlIncludePath] | ||
176 | Count=2 | ||
177 | Item0=$(BCB)\include;$(BCB)\include\vcl | ||
178 | Item1=$(BCB)\include | ||
179 | |||
180 | [HistoryLists\hlLibraryPath] | ||
181 | Count=1 | ||
182 | Item0=$(BCB)\lib\obj;$(BCB)\lib | ||
183 | |||
184 | [HistoryLists\hlDebugSourcePath] | ||
185 | Count=1 | ||
186 | Item0=$(BCB)\source\vcl | ||
187 | |||
188 | [Debugging] | ||
189 | DebugSourceDirs= | ||
190 | |||
191 | [Parameters] | ||
192 | RunParams= | ||
193 | HostApplication= | ||
194 | |||
195 | !endif | ||
196 | |||
197 | $(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE) | ||
198 | $(BCB)\BIN\$(LINKER) @&&! | ||
199 | $(LFLAGS) $(IFLAGS) + | ||
200 | $(ALLOBJ), + | ||
201 | $(PROJECT),, + | ||
202 | $(ALLLIB), + | ||
203 | $(DEFFILE), + | ||
204 | $(ALLRES) | ||
205 | ! | ||
206 | # --------------------------------------------------------------------------- | ||
207 | .pas.hpp: | ||
208 | $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< } | ||
209 | |||
210 | .pas.obj: | ||
211 | $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< } | ||
212 | |||
213 | .cpp.obj: | ||
214 | $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< } | ||
215 | |||
216 | .c.obj: | ||
217 | $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< } | ||
218 | |||
219 | .asm.obj: | ||
220 | $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@ | ||
221 | |||
222 | .rc.res: | ||
223 | $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $< | ||
224 | # --------------------------------------------------------------------------- | ||