1 | # $Id: Makefile,v 1.1.1.2 2002-02-11 16:25:24 ghudson Exp $ |
---|
2 | # |
---|
3 | |
---|
4 | srcdir= ../dist/.. |
---|
5 | |
---|
6 | ################################################################# |
---|
7 | # VMS build |
---|
8 | # |
---|
9 | |
---|
10 | NOOPT=1 |
---|
11 | |
---|
12 | %ifdef NODEBUG |
---|
13 | DEBUG = /NOdebug |
---|
14 | %else |
---|
15 | DEBUG = /debug |
---|
16 | %endif |
---|
17 | |
---|
18 | %ifdef NOOPT |
---|
19 | OPT = /NOoptimize |
---|
20 | %else |
---|
21 | OPT = /optimize |
---|
22 | %endif |
---|
23 | |
---|
24 | %ifdef LIST |
---|
25 | LIST = /list/show=all |
---|
26 | %else |
---|
27 | LIST = /NOlist |
---|
28 | %endif |
---|
29 | |
---|
30 | %ifndef CEXTRA |
---|
31 | CEXTRA = |
---|
32 | %endif |
---|
33 | |
---|
34 | %ifdef LDEBUG |
---|
35 | LDEBUG = /debug |
---|
36 | %else |
---|
37 | LDEBUG = /NOdebug |
---|
38 | %endif |
---|
39 | |
---|
40 | %ifdef MAP |
---|
41 | MAP = /map/full |
---|
42 | %else |
---|
43 | MAP = /NOmap |
---|
44 | %endif |
---|
45 | |
---|
46 | C_GLOBAL_DEFS = __KVC_NOOP |
---|
47 | ###C_GLOBAL_DEFS = __CRTL_VER=60100000,__VMS_VER=60100000 ###for VMS V6 |
---|
48 | |
---|
49 | DEFS = /define=($(C_GLOBAL_DEFS)) |
---|
50 | |
---|
51 | INCLUDES= /include=([],[-.include]) |
---|
52 | ###INCLUDES= /include=([],[-.include],dskb:[crw.src.tcl]) ### for TCL |
---|
53 | |
---|
54 | CFLAGS = /prefix=all/float=g_float/extern=relaxed_refdef/noshare \ |
---|
55 | /member_alignment \ |
---|
56 | $(LIST)$(DEBUG)$(OPT)$(DEFS)$(INCLUDES)$(CEXTRA) |
---|
57 | CC = cc/decc |
---|
58 | CXX = cxx |
---|
59 | |
---|
60 | LFLAGS = $(LDEBUG) $(MAP) |
---|
61 | LINK = link |
---|
62 | # |
---|
63 | # |
---|
64 | ################################################################# |
---|
65 | |
---|
66 | SHELL= /usr/bin/sh |
---|
67 | ar= /usr/bin/ar cq |
---|
68 | chmod= /usr/bin/chmod |
---|
69 | cp= /usr/bin/cp |
---|
70 | mkdir= /usr/bin/mkdir |
---|
71 | ranlib= /usr/bin/ranlib |
---|
72 | rm= /usr/bin/rm |
---|
73 | strip= /usr/bin/strip |
---|
74 | |
---|
75 | libdb= libdb.olb |
---|
76 | |
---|
77 | OBJS= $(libdb)(bt_compare), \ |
---|
78 | $(libdb)(bt_conv), \ |
---|
79 | $(libdb)(bt_curadj), \ |
---|
80 | $(libdb)(bt_cursor), \ |
---|
81 | $(libdb)(bt_delete), \ |
---|
82 | $(libdb)(bt_open), \ |
---|
83 | $(libdb)(bt_page), \ |
---|
84 | $(libdb)(bt_put), \ |
---|
85 | $(libdb)(bt_rec), \ |
---|
86 | $(libdb)(bt_recno), \ |
---|
87 | $(libdb)(bt_rsearch), \ |
---|
88 | $(libdb)(bt_search), \ |
---|
89 | $(libdb)(bt_split), \ |
---|
90 | $(libdb)(bt_stat), \ |
---|
91 | $(libdb)(btree_auto), \ |
---|
92 | $(libdb)(db), \ |
---|
93 | $(libdb)(db_am), \ |
---|
94 | $(libdb)(db_appinit), \ |
---|
95 | $(libdb)(db_apprec), \ |
---|
96 | $(libdb)(db_auto), \ |
---|
97 | $(libdb)(db_byteorder), \ |
---|
98 | $(libdb)(db_conv), \ |
---|
99 | $(libdb)(db_dispatch), \ |
---|
100 | $(libdb)(db_dup), \ |
---|
101 | $(libdb)(db_err), \ |
---|
102 | $(libdb)(db_iface), \ |
---|
103 | $(libdb)(db_join), \ |
---|
104 | $(libdb)(db_log2), \ |
---|
105 | $(libdb)(db_overflow), \ |
---|
106 | $(libdb)(db_pr), \ |
---|
107 | $(libdb)(db_rec), \ |
---|
108 | $(libdb)(db_region), \ |
---|
109 | $(libdb)(db_ret), \ |
---|
110 | $(libdb)(db_salloc), \ |
---|
111 | $(libdb)(db_shash), \ |
---|
112 | $(libdb)(dbm), \ |
---|
113 | $(libdb)(hash), \ |
---|
114 | $(libdb)(hash_auto), \ |
---|
115 | $(libdb)(hash_conv), \ |
---|
116 | $(libdb)(hash_dup), \ |
---|
117 | $(libdb)(hash_func), \ |
---|
118 | $(libdb)(hash_page), \ |
---|
119 | $(libdb)(hash_rec), \ |
---|
120 | $(libdb)(hash_stat), \ |
---|
121 | $(libdb)(hsearch), \ |
---|
122 | $(libdb)(lock), \ |
---|
123 | $(libdb)(lock_conflict), \ |
---|
124 | $(libdb)(lock_deadlock), \ |
---|
125 | $(libdb)(lock_region), \ |
---|
126 | $(libdb)(lock_util), \ |
---|
127 | $(libdb)(log), \ |
---|
128 | $(libdb)(log_archive), \ |
---|
129 | $(libdb)(log_auto), \ |
---|
130 | $(libdb)(log_compare), \ |
---|
131 | $(libdb)(log_findckp), \ |
---|
132 | $(libdb)(log_get), \ |
---|
133 | $(libdb)(log_put), \ |
---|
134 | $(libdb)(log_rec), \ |
---|
135 | $(libdb)(log_register), \ |
---|
136 | $(libdb)(mp_bh), \ |
---|
137 | $(libdb)(mp_fget), \ |
---|
138 | $(libdb)(mp_fopen), \ |
---|
139 | $(libdb)(mp_fput), \ |
---|
140 | $(libdb)(mp_fset), \ |
---|
141 | $(libdb)(mp_open), \ |
---|
142 | $(libdb)(mp_pr), \ |
---|
143 | $(libdb)(mp_region), \ |
---|
144 | $(libdb)(mp_sync), \ |
---|
145 | $(libdb)(mutex), \ |
---|
146 | $(libdb)(os_abs), \ |
---|
147 | $(libdb)(os_alloc), \ |
---|
148 | $(libdb)(os_config), \ |
---|
149 | $(libdb)(os_dir), \ |
---|
150 | $(libdb)(os_fid), \ |
---|
151 | $(libdb)(os_fsync), \ |
---|
152 | $(libdb)(os_map), \ |
---|
153 | $(libdb)(os_oflags), \ |
---|
154 | $(libdb)(os_open), \ |
---|
155 | $(libdb)(os_rpath), \ |
---|
156 | $(libdb)(os_rw), \ |
---|
157 | $(libdb)(os_seek), \ |
---|
158 | $(libdb)(os_sleep), \ |
---|
159 | $(libdb)(os_spin), \ |
---|
160 | $(libdb)(os_stat), \ |
---|
161 | $(libdb)(os_tmpdir), \ |
---|
162 | $(libdb)(os_unlink), \ |
---|
163 | $(libdb)(txn), \ |
---|
164 | $(libdb)(txn_auto), \ |
---|
165 | $(libdb)(txn_rec) |
---|
166 | |
---|
167 | COBJS= cxx_app.obj, \ |
---|
168 | cxx_except.obj, \ |
---|
169 | cxx_lock.obj, \ |
---|
170 | cxx_log.obj, \ |
---|
171 | cxx_mpool.obj, \ |
---|
172 | cxx_table.obj, \ |
---|
173 | cxx_txn.obj |
---|
174 | |
---|
175 | PROGS= db_archive.exe db_checkpoint.exe db_deadlock.exe db_dump.exe \ |
---|
176 | db_load.exe db_recover.exe db_stat.exe |
---|
177 | |
---|
178 | LOBJS= $(libdb)(snprintf), $(libdb)(vsnprintf) |
---|
179 | LLIBS= |
---|
180 | POBJS= err.obj, getlong.obj |
---|
181 | |
---|
182 | LIBOBJS= $(OBJS) $(LOBJS) |
---|
183 | |
---|
184 | TCLLIB= |
---|
185 | ##TCLLIB = dskb:[alpha_obj]tcl.olb/lib ###for TCL |
---|
186 | |
---|
187 | all: $(PROGS) |
---|
188 | |
---|
189 | $(libdb): |
---|
190 | if F$SEARCH("$(libdb)") .eqs. "" then libr/create $(libdb) |
---|
191 | |
---|
192 | DBA= db_archive.obj, $(POBJS) |
---|
193 | db_archive.exe: $(DBA) $(LIBOBJS) |
---|
194 | $(LINK) $(LFLAGS) /exe=$@ $(DBA), $(libdb)/lib $(LLIBS) |
---|
195 | |
---|
196 | DBB= db_checkpoint.obj, $(POBJS) |
---|
197 | db_checkpoint.exe: $(DBB) $(LIBOBJS) |
---|
198 | $(LINK) $(LFLAGS) /exe=$@ $(DBB), $(libdb)/lib $(LLIBS) |
---|
199 | |
---|
200 | DBC= db_deadlock.obj, $(POBJS) |
---|
201 | db_deadlock.exe: $(DBC) $(LIBOBJS) |
---|
202 | $(LINK) $(LFLAGS) /exe=$@ $(DBC), $(libdb)/lib $(LLIBS) |
---|
203 | |
---|
204 | DBD= db_dump.obj, $(POBJS) |
---|
205 | db_dump.exe: $(DBD) $(LIBOBJS) |
---|
206 | $(LINK) $(LFLAGS) /exe=$@ $(DBD), $(libdb)/lib $(LLIBS) |
---|
207 | |
---|
208 | DBE= db_dump185.obj, $(POBJS) |
---|
209 | db_dump185.exe: $(DBE) |
---|
210 | $(LINK) $(LFLAGS) /exe=$@ $(DBE), $(LLIBS) |
---|
211 | |
---|
212 | DBF= db_load.obj, $(POBJS) |
---|
213 | db_load.exe: $(DBF) $(LIBOBJS) |
---|
214 | $(LINK) $(LFLAGS) /exe=$@ $(DBF), $(libdb)/lib $(LLIBS) |
---|
215 | |
---|
216 | DBG= db_printlog.obj, $(POBJS) |
---|
217 | db_printlog.exe: $(DBG) $(LIBOBJS) |
---|
218 | $(LINK) $(LFLAGS) /exe=$@ $(DBG), $(libdb)/lib $(LLIBS) |
---|
219 | |
---|
220 | DBH= db_recover.obj, $(POBJS) |
---|
221 | db_recover.exe: $(DBH) $(LIBOBJS) |
---|
222 | $(LINK) $(LFLAGS) /exe=$@ $(DBH), $(libdb)/lib $(LLIBS) |
---|
223 | |
---|
224 | DBI= db_stat.obj, $(POBJS) |
---|
225 | db_stat.exe: $(DBI) $(LIBOBJS) |
---|
226 | $(LINK) $(LFLAGS) /exe=$@ $(DBI), $(libdb)/lib $(LLIBS) |
---|
227 | |
---|
228 | EPROGS= ex_access.exe ex_appinit.exe ex_btrec.exe ex_lock.exe ex_mpool.exe \ |
---|
229 | ex_tpcb |
---|
230 | DBJ= ex_access.obj, |
---|
231 | ex_access.exe: $(DBJ) $(LIBOBJS) |
---|
232 | $(LINK) $(LFLAGS) /exe=$@ $(DBJ), $(libdb)/lib $(LLIBS) |
---|
233 | |
---|
234 | DBK= ex_appinit.obj, |
---|
235 | ex_appinit.exe: $(DBK) $(LIBOBJS) |
---|
236 | $(LINK) $(LFLAGS) /exe=$@ $(DBK), $(libdb)/lib $(LLIBS) |
---|
237 | |
---|
238 | DBL= ex_btrec.obj, |
---|
239 | ex_btrec.exe: $(DBL) $(LIBOBJS) |
---|
240 | $(LINK) $(LFLAGS) /exe=$@ $(DBL), $(libdb)/lib $(LLIBS) |
---|
241 | |
---|
242 | DBM= ex_lock.obj, $(POBJS) |
---|
243 | ex_lock.exe: $(DBM) $(LIBOBJS) |
---|
244 | $(LINK) $(LFLAGS) /exe=$@ $(DBM), $(libdb)/lib $(LLIBS) |
---|
245 | |
---|
246 | DBN= ex_mpool.obj, |
---|
247 | ex_mpool.exe: $(DBN) $(LIBOBJS) |
---|
248 | $(LINK) $(LFLAGS) /exe=$@ $(DBN), $(libdb)/lib $(LLIBS) |
---|
249 | |
---|
250 | DBO= ex_thread.obj, |
---|
251 | ex_thread.exe: $(DBO) $(LIBOBJS) |
---|
252 | $(LINK) $(LFLAGS) /exe=$@ $(DBO), $(libdb)/lib $(LLIBS) |
---|
253 | |
---|
254 | DBP= ex_tpcb.obj, $(POBJS) |
---|
255 | ex_tpcb.exe: $(DBP) $(LIBOBJS) |
---|
256 | $(LINK) $(LFLAGS) /exe=$@ $(DBP), $(libdb)/lib $(LLIBS) |
---|
257 | |
---|
258 | DBT= tclAppInit.obj, tcl_dbm.obj, tcl_hsearch.obj, tcl_lock.obj, \ |
---|
259 | tcl_log.obj, tcl_mpool.obj, tcl_mutex.obj, tcl_ndbm.obj, \ |
---|
260 | tcl_txn.obj, utils.obj, $(POBJS) |
---|
261 | |
---|
262 | dbtest.exe: .dbtestrc |
---|
263 | dbtest.exe: $(DBT) $(LIBOBJS) |
---|
264 | $(LINK) $(LFLAGS) /exe=$@ $(DBT), $(libdb)/lib, $(TCLLIB) $(LLIBS) |
---|
265 | |
---|
266 | DBTT= thread.obj, $(POBJS) |
---|
267 | thread.exe: $(DBTT) $(LIBOBJS) |
---|
268 | $(LINK) $(LFLAGS) /exe=$@ $(DBTT), $(libdb)/lib $(LLIBS) |
---|
269 | |
---|
270 | ##clean: |
---|
271 | ## $(rm) -f $(OBJS) |
---|
272 | ## $(rm) -f $(DBA) $(DBB) $(DBC) $(DBD) $(DBE) $(DBF) $(DBG) $(DBH) |
---|
273 | ## $(rm) -f $(DBI) $(DBJ) $(DBK) $(DBL) $(DBM) $(DBN) $(DBO) $(DBP) |
---|
274 | ## $(rm) -f $(DBT) $(DBTT) |
---|
275 | ## $(rm) -f $(PROGS) $(EPROGS) $(POBJS) $(LOBJS) |
---|
276 | ## $(rm) -f thread core *.core .dbtestrc $(libdb) |
---|
277 | clean: |
---|
278 | delete/log .dbtestrc;*,*.obj;*,*.olb;*,*.exe;* |
---|
279 | |
---|
280 | depend obj: |
---|
281 | |
---|
282 | realclean distclean: clean |
---|
283 | $(rm) -f Makefile config.cache config.h config.log config.status |
---|
284 | $(rm) -f confdefs.h db.h db_int.h db_185.h include.tcl |
---|
285 | |
---|
286 | prefix= /usr/local |
---|
287 | sprefix=/usr/local |
---|
288 | exec_prefix=${prefix} |
---|
289 | bindir= ${exec_prefix}/bin |
---|
290 | datadir=${prefix}/share |
---|
291 | includedir=${prefix}/include |
---|
292 | libdir= ${exec_prefix}/lib |
---|
293 | mandir= ${prefix}/man |
---|
294 | |
---|
295 | dmode= 755 |
---|
296 | emode= 555 |
---|
297 | fmode= 444 |
---|
298 | |
---|
299 | transform=s,x,x, |
---|
300 | |
---|
301 | man1= db_archive.1 db_checkpoint.1 db_deadlock.1 db_dump.1 db_load.1 \ |
---|
302 | db_recover.1 db_stat.1 |
---|
303 | man10= db_archive.0 db_checkpoint.0 db_deadlock.0 db_dump.0 db_load.0 \ |
---|
304 | db_recover.0 db_stat.0 |
---|
305 | man3= db_appinit.3 db_cursor.3 db_dbm.3 db_dbt.3 db_hsearch.3 db_internal.3 \ |
---|
306 | db_intro.3 db_lock.3 db_log.3 db_mpool.3 db_open.3 db_thread.3 db_txn.3 |
---|
307 | manx3= Db.3 DbEnv.3 DbException.3 DbInfo.3 DbLock.3 DbLockTab.3 DbLog.3 \ |
---|
308 | DbLsn.3 DbMpool.3 DbMpoolFile.3 DbTxn.3 DbTxnMgr.3 Dbc.3 Dbt.3 |
---|
309 | man30= db_appinit.0 db_cursor.0 db_dbm.0 db_dbt.0 db_hsearch.0 db_internal.0 \ |
---|
310 | db_intro.0 db_lock.0 db_log.0 db_mpool.0 db_open.0 db_thread.0 db_txn.0 |
---|
311 | manx30= Db.0 DbEnv.0 DbException.0 DbInfo.0 DbLock.0 DbLockTab.0 DbLog.0 \ |
---|
312 | DbLsn.0 DbMpool.0 DbMpoolFile.0 DbTxn.0 DbTxnMgr.0 Dbc.0 Dbt.0 |
---|
313 | |
---|
314 | install: all |
---|
315 | @test -f $(chmod) || (echo 'chmod not found.'; exit 1) |
---|
316 | @test -f $(cp) || (echo 'cp not found.'; exit 1) |
---|
317 | @test -f $(mkdir) || (echo 'mkdir not found.'; exit 1) |
---|
318 | @test -f $(rm) || (echo 'rm not found.'; exit 1) |
---|
319 | @test -d $(prefix) || \ |
---|
320 | ($(mkdir) $(prefix) && $(chmod) $(dmode) $(prefix)) |
---|
321 | @test -d $(exec_prefix) || \ |
---|
322 | ($(mkdir) $(exec_prefix) && $(chmod) $(dmode) $(exec_prefix)) |
---|
323 | @echo "Installing DB include file: $(includedir) ..." |
---|
324 | @test -d $(includedir) || \ |
---|
325 | ($(mkdir) $(includedir) && $(chmod) $(dmode) $(includedir)) |
---|
326 | @cd $(includedir) && $(rm) -f db.h db_185.h db_cxx.h |
---|
327 | @$(cp) -p db.h db_185.h $(srcdir)/include/db_cxx.h $(includedir) |
---|
328 | @cd $(includedir) && $(chmod) $(fmode) db.h db_185.h db_cxx.h |
---|
329 | @echo "Installing DB library: $(libdir) ..." |
---|
330 | @test -d $(libdir) || \ |
---|
331 | ($(mkdir) $(libdir) && $(chmod) $(dmode) $(libdir)) |
---|
332 | @cd $(libdir) && $(rm) -f $(libdb) |
---|
333 | @$(cp) -p $(libdb) $(libdir) |
---|
334 | @cd $(libdir) && $(chmod) $(fmode) $(libdb) |
---|
335 | @echo "Installing DB utilities: $(bindir) ..." |
---|
336 | @test -d $(bindir) || \ |
---|
337 | ($(mkdir) $(bindir) && $(chmod) $(dmode) $(bindir)) |
---|
338 | @cd $(bindir) && $(rm) -f $(PROGS) |
---|
339 | @$(cp) -p $(PROGS) $(bindir) |
---|
340 | @cd $(bindir) && (test ! -f $(strip) || $(strip) $(PROGS)) |
---|
341 | @cd $(bindir) && $(chmod) $(emode) $(PROGS) |
---|
342 | @test -d $(mandir) || \ |
---|
343 | ($(mkdir) $(mandir) && $(chmod) $(dmode) $(mandir)) |
---|
344 | @echo "Installing formatted man pages: $(mandir)/cat1 ..." |
---|
345 | @test -d $(mandir)/cat1 || \ |
---|
346 | ($(mkdir) $(mandir)/cat1 && $(chmod) $(dmode) $(mandir)/cat1) |
---|
347 | @cd $(mandir)/cat1 && $(rm) -f $(man10) |
---|
348 | @cd $(srcdir)/man/man.text && $(cp) -p $(man10) $(mandir)/cat1 |
---|
349 | @cd $(mandir)/cat1 && $(chmod) $(fmode) $(man10) |
---|
350 | @echo "Installing formatted man pages: $(mandir)/cat3 ..." |
---|
351 | @test -d $(mandir)/cat3 || \ |
---|
352 | ($(mkdir) $(mandir)/cat3 && $(chmod) $(dmode) $(mandir)/cat3) |
---|
353 | @cd $(mandir)/cat3 && $(rm) -f $(man30) $(manx30) |
---|
354 | @cd $(srcdir)/man/man.text && $(cp) -p $(man30) $(mandir)/cat3 |
---|
355 | @cd $(srcdir)/man/mancxx.text && $(cp) -p $(manx30) $(mandir)/cat3 |
---|
356 | @cd $(mandir)/cat3 && $(chmod) $(fmode) $(man30) $(manx30) |
---|
357 | @echo "Installing unformatted man pages: $(mandir)/man1 ..." |
---|
358 | @test -d $(mandir)/man1 || \ |
---|
359 | ($(mkdir) $(mandir)/man1 && $(chmod) $(dmode) $(mandir)/man1) |
---|
360 | @cd $(mandir)/man1 && $(rm) -f $(man1) |
---|
361 | @cd $(srcdir)/man/man.roff && $(cp) -p $(man1) $(mandir)/man1 |
---|
362 | @cd $(mandir)/man1 && $(chmod) $(fmode) $(man1) |
---|
363 | @echo "Installing unformatted man pages: $(mandir)/man3 ..." |
---|
364 | @test -d $(mandir)/man3 || \ |
---|
365 | ($(mkdir) $(mandir)/man3 && $(chmod) $(dmode) $(mandir)/man3) |
---|
366 | @cd $(mandir)/man3 && $(rm) -f $(man3) $(manx3) |
---|
367 | @cd $(srcdir)/man/man.roff && $(cp) -p $(man3) $(mandir)/man3 |
---|
368 | @cd $(srcdir)/man/mancxx.roff && $(cp) -p $(manx3) $(mandir)/man3 |
---|
369 | @cd $(mandir)/man3 && $(chmod) $(fmode) $(man3) $(manx3) |
---|
370 | |
---|
371 | uninstall: |
---|
372 | -cd $(includedir) && $(rm) -f db.h db_185.h db_cxx.h |
---|
373 | -cd $(libdir) && $(rm) -f $(libdb) |
---|
374 | -cd $(bindir) && $(rm) -f $(PROGS) |
---|
375 | -cd $(mandir)/man1 && $(rm) -f $(man1) |
---|
376 | -cd $(mandir)/cat1 && $(rm) -f $(man10) |
---|
377 | -cd $(mandir)/man3 && $(rm) -f $(man3) $(manx3) |
---|
378 | -cd $(mandir)/cat3 && $(rm) -f $(man30) $(manx30) |
---|
379 | |
---|
380 | # Programs. |
---|
381 | db_archive.obj: [-.db_archive]db_archive.c |
---|
382 | $(CC) $(CFLAGS) $? |
---|
383 | db_checkpoint.obj: [-.db_checkpoint]db_checkpoint.c |
---|
384 | $(CC) $(CFLAGS) $? |
---|
385 | db_deadlock.obj: [-.db_deadlock]db_deadlock.c |
---|
386 | $(CC) $(CFLAGS) $? |
---|
387 | db_dump.obj: [-.db_dump]db_dump.c |
---|
388 | $(CC) $(CFLAGS) $? |
---|
389 | db_dump185.obj: [-.db_dump185]db_dump185.c |
---|
390 | $(CC) $(CFLAGS) $? |
---|
391 | db_load.obj: [-.db_load]db_load.c |
---|
392 | $(CC) $(CFLAGS) $? |
---|
393 | db_printlog.obj: [-.db_printlog]db_printlog.c |
---|
394 | $(CC) $(CFLAGS) $? |
---|
395 | db_recover.obj: [-.db_recover]db_recover.c |
---|
396 | $(CC) $(CFLAGS) $? |
---|
397 | db_stat.obj: [-.db_stat]db_stat.c |
---|
398 | $(CC) $(CFLAGS) $? |
---|
399 | |
---|
400 | # Examples. |
---|
401 | ex_access.obj: [-.examples]ex_access.c |
---|
402 | $(CC) $(CFLAGS) $? |
---|
403 | ex_appinit.obj: [-.examples]ex_appinit.c |
---|
404 | $(CC) $(CFLAGS) $? |
---|
405 | ex_btrec.obj: [-.examples]ex_btrec.c |
---|
406 | $(CC) $(CFLAGS) $? |
---|
407 | ex_lock.obj: [-.examples]ex_lock.c |
---|
408 | $(CC) $(CFLAGS) $? |
---|
409 | ex_mpool.obj: [-.examples]ex_mpool.c |
---|
410 | $(CC) $(CFLAGS) $? |
---|
411 | ex_thread.obj: [-.examples]ex_thread.c |
---|
412 | $(CC) $(CFLAGS) $? |
---|
413 | ex_tpcb.obj: [-.examples]ex_tpcb.c |
---|
414 | $(CC) $(CFLAGS) $? |
---|
415 | |
---|
416 | # DB files. |
---|
417 | $(libdb)(db): [-.db]db.c |
---|
418 | $(CC) $(CFLAGS) $? |
---|
419 | libr/replace $(libdb) db.obj |
---|
420 | delete db.obj;* |
---|
421 | |
---|
422 | $(libdb)(db_am): [-.db]db_am.c |
---|
423 | $(CC) $(CFLAGS) $? |
---|
424 | libr/replace $(libdb) db_am.obj |
---|
425 | delete db_am.obj;* |
---|
426 | |
---|
427 | $(libdb)(db_auto): [-.db]db_auto.c |
---|
428 | $(CC) $(CFLAGS) $? |
---|
429 | libr/replace $(libdb) db_auto.obj |
---|
430 | delete db_auto.obj;* |
---|
431 | |
---|
432 | $(libdb)(db_conv): [-.db]db_conv.c |
---|
433 | $(CC) $(CFLAGS) $? |
---|
434 | libr/replace $(libdb) db_conv.obj |
---|
435 | delete db_conv.obj;* |
---|
436 | |
---|
437 | $(libdb)(db_dispatch): [-.db]db_dispatch.c |
---|
438 | $(CC) $(CFLAGS) $? |
---|
439 | libr/replace $(libdb) db_dispatch.obj |
---|
440 | delete db_dispatch.obj;* |
---|
441 | |
---|
442 | $(libdb)(db_dup): [-.db]db_dup.c |
---|
443 | $(CC) $(CFLAGS) $? |
---|
444 | libr/replace $(libdb) db_dup.obj |
---|
445 | delete db_dup.obj;* |
---|
446 | |
---|
447 | $(libdb)(db_iface): [-.db]db_iface.c |
---|
448 | $(CC) $(CFLAGS) $? |
---|
449 | libr/replace $(libdb) db_iface.obj |
---|
450 | delete db_iface.obj;* |
---|
451 | |
---|
452 | $(libdb)(db_join): [-.db]db_join.c |
---|
453 | $(CC) $(CFLAGS) $? |
---|
454 | libr/replace $(libdb) db_join.obj |
---|
455 | delete db_join.obj;* |
---|
456 | |
---|
457 | $(libdb)(db_overflow): [-.db]db_overflow.c |
---|
458 | $(CC) $(CFLAGS) $? |
---|
459 | libr/replace $(libdb) db_overflow.obj |
---|
460 | delete db_overflow.obj;* |
---|
461 | |
---|
462 | $(libdb)(db_pr): [-.db]db_pr.c |
---|
463 | $(CC) $(CFLAGS) $? |
---|
464 | libr/replace $(libdb) db_pr.obj |
---|
465 | delete db_pr.obj;* |
---|
466 | |
---|
467 | $(libdb)(db_rec): [-.db]db_rec.c |
---|
468 | $(CC) $(CFLAGS) $? |
---|
469 | libr/replace $(libdb) db_rec.obj |
---|
470 | delete db_rec.obj;* |
---|
471 | |
---|
472 | $(libdb)(db_ret): [-.db]db_ret.c |
---|
473 | $(CC) $(CFLAGS) $? |
---|
474 | libr/replace $(libdb) db_ret.obj |
---|
475 | delete db_ret.obj;* |
---|
476 | |
---|
477 | $(libdb)(db_thread): [-.db]db_thread.c |
---|
478 | $(CC) $(CFLAGS) $? |
---|
479 | libr/replace $(libdb) db_thread.obj |
---|
480 | delete db_thread.obj;* |
---|
481 | |
---|
482 | # Btree source files. |
---|
483 | $(libdb)(bt_close): [-.btree]bt_close.c |
---|
484 | $(CC) $(CFLAGS) $? |
---|
485 | libr/replace $(libdb) bt_close.obj |
---|
486 | delete bt_close.obj;* |
---|
487 | |
---|
488 | $(libdb)(bt_compare): [-.btree]bt_compare.c |
---|
489 | $(CC) $(CFLAGS) $? |
---|
490 | libr/replace $(libdb) bt_compare.obj |
---|
491 | delete bt_compare.obj;* |
---|
492 | |
---|
493 | $(libdb)(bt_conv): [-.btree]bt_conv.c |
---|
494 | $(CC) $(CFLAGS) $? |
---|
495 | libr/replace $(libdb) bt_conv.obj |
---|
496 | delete bt_conv.obj;* |
---|
497 | |
---|
498 | $(libdb)(bt_curadj): [-.btree]bt_curadj.c |
---|
499 | $(CC) $(CFLAGS) $? |
---|
500 | libr/replace $(libdb) bt_curadj.obj |
---|
501 | delete bt_curadj.obj;* |
---|
502 | |
---|
503 | $(libdb)(bt_cursor): [-.btree]bt_cursor.c |
---|
504 | $(CC) $(CFLAGS) $? |
---|
505 | libr/replace $(libdb) bt_cursor.obj |
---|
506 | delete bt_cursor.obj;* |
---|
507 | |
---|
508 | $(libdb)(bt_delete): [-.btree]bt_delete.c |
---|
509 | $(CC) $(CFLAGS) $? |
---|
510 | libr/replace $(libdb) bt_delete.obj |
---|
511 | delete bt_delete.obj;* |
---|
512 | |
---|
513 | $(libdb)(bt_open): [-.btree]bt_open.c |
---|
514 | $(CC) $(CFLAGS) $? |
---|
515 | libr/replace $(libdb) bt_open.obj |
---|
516 | delete bt_open.obj;* |
---|
517 | |
---|
518 | $(libdb)(bt_page): [-.btree]bt_page.c |
---|
519 | $(CC) $(CFLAGS) $? |
---|
520 | libr/replace $(libdb) bt_page.obj |
---|
521 | delete bt_page.obj;* |
---|
522 | |
---|
523 | $(libdb)(bt_put): [-.btree]bt_put.c |
---|
524 | $(CC) $(CFLAGS) $? |
---|
525 | libr/replace $(libdb) bt_put.obj |
---|
526 | delete bt_put.obj;* |
---|
527 | |
---|
528 | $(libdb)(bt_rec): [-.btree]bt_rec.c |
---|
529 | $(CC) $(CFLAGS) $? |
---|
530 | libr/replace $(libdb) bt_rec.obj |
---|
531 | delete bt_rec.obj;* |
---|
532 | |
---|
533 | $(libdb)(bt_recno): [-.btree]bt_recno.c |
---|
534 | $(CC) $(CFLAGS) $? |
---|
535 | libr/replace $(libdb) bt_recno.obj |
---|
536 | delete bt_recno.obj;* |
---|
537 | |
---|
538 | $(libdb)(bt_rsearch): [-.btree]bt_rsearch.c |
---|
539 | $(CC) $(CFLAGS) $? |
---|
540 | libr/replace $(libdb) bt_rsearch.obj |
---|
541 | delete bt_rsearch.obj;* |
---|
542 | |
---|
543 | $(libdb)(bt_search): [-.btree]bt_search.c |
---|
544 | $(CC) $(CFLAGS) $? |
---|
545 | libr/replace $(libdb) bt_search.obj |
---|
546 | delete bt_search.obj;* |
---|
547 | |
---|
548 | $(libdb)(bt_split): [-.btree]bt_split.c |
---|
549 | $(CC) $(CFLAGS) $? |
---|
550 | libr/replace $(libdb) bt_split.obj |
---|
551 | delete bt_split.obj;* |
---|
552 | |
---|
553 | $(libdb)(bt_stat): [-.btree]bt_stat.c |
---|
554 | $(CC) $(CFLAGS) $? |
---|
555 | libr/replace $(libdb) bt_stat.obj |
---|
556 | delete bt_stat.obj;* |
---|
557 | |
---|
558 | $(libdb)(btree_auto): [-.btree]btree_auto.c |
---|
559 | $(CC) $(CFLAGS) $? |
---|
560 | libr/replace $(libdb) btree_auto.obj |
---|
561 | delete btree_auto.obj;* |
---|
562 | |
---|
563 | # C++ interface files. |
---|
564 | cxx_app.obj: [-.cxx]cxx_app.cpp |
---|
565 | $(CXX) $(CFLAGS) $? |
---|
566 | cxx_except.obj: [-.cxx]cxx_except.cpp |
---|
567 | $(CXX) $(CFLAGS) $? |
---|
568 | cxx_lock.obj: [-.cxx]cxx_lock.cpp |
---|
569 | $(CXX) $(CFLAGS) $? |
---|
570 | cxx_log.obj: [-.cxx]cxx_log.cpp |
---|
571 | $(CXX) $(CFLAGS) $? |
---|
572 | cxx_mpool.obj: [-.cxx]cxx_mpool.cpp |
---|
573 | $(CXX) $(CFLAGS) $? |
---|
574 | cxx_table.obj: [-.cxx]cxx_table.cpp |
---|
575 | $(CXX) $(CFLAGS) $? |
---|
576 | cxx_txn.obj: [-.cxx]cxx_txn.cpp |
---|
577 | $(CXX) $(CFLAGS) $? |
---|
578 | |
---|
579 | # Hash source files. |
---|
580 | $(libdb)(hash_auto): [-.hash]hash_auto.c |
---|
581 | $(CC) $(CFLAGS) $? |
---|
582 | libr/replace $(libdb) hash_auto.obj |
---|
583 | delete hash_auto.obj;* |
---|
584 | |
---|
585 | $(libdb)(hash): [-.hash]hash.c |
---|
586 | $(CC) $(CFLAGS) $? |
---|
587 | libr/replace $(libdb) hash.obj |
---|
588 | delete hash.obj;* |
---|
589 | |
---|
590 | $(libdb)(hash_conv): [-.hash]hash_conv.c |
---|
591 | $(CC) $(CFLAGS) $? |
---|
592 | libr/replace $(libdb) hash_conv.obj |
---|
593 | delete hash_conv.obj;* |
---|
594 | |
---|
595 | $(libdb)(hash_debug): [-.hash]hash_debug.c |
---|
596 | $(CC) $(CFLAGS) $? |
---|
597 | libr/replace $(libdb) hash_debug.obj |
---|
598 | delete hash_debug.obj;* |
---|
599 | |
---|
600 | $(libdb)(hash_dup): [-.hash]hash_dup.c |
---|
601 | $(CC) $(CFLAGS) $? |
---|
602 | libr/replace $(libdb) hash_dup.obj |
---|
603 | delete hash_dup.obj;* |
---|
604 | |
---|
605 | $(libdb)(hash_func): [-.hash]hash_func.c |
---|
606 | $(CC) $(CFLAGS) $? |
---|
607 | libr/replace $(libdb) hash_func.obj |
---|
608 | delete hash_func.obj;* |
---|
609 | |
---|
610 | $(libdb)(hash_page): [-.hash]hash_page.c |
---|
611 | $(CC) $(CFLAGS) $? |
---|
612 | libr/replace $(libdb) hash_page.obj |
---|
613 | delete hash_page.obj;* |
---|
614 | |
---|
615 | $(libdb)(hash_rec): [-.hash]hash_rec.c |
---|
616 | $(CC) $(CFLAGS) $? |
---|
617 | libr/replace $(libdb) hash_rec.obj |
---|
618 | delete hash_rec.obj;* |
---|
619 | |
---|
620 | $(libdb)(hash_stat): [-.hash]hash_stat.c |
---|
621 | $(CC) $(CFLAGS) $? |
---|
622 | libr/replace $(libdb) hash_stat.obj |
---|
623 | delete hash_stat.obj;* |
---|
624 | |
---|
625 | # Lock source files. |
---|
626 | $(libdb)(lock): [-.lock]lock.c |
---|
627 | $(CC) $(CFLAGS) $? |
---|
628 | libr/replace $(libdb) lock.obj |
---|
629 | delete lock.obj;* |
---|
630 | |
---|
631 | $(libdb)(lock_conflict): [-.lock]lock_conflict.c |
---|
632 | $(CC) $(CFLAGS) $? |
---|
633 | libr/replace $(libdb) lock_conflict.obj |
---|
634 | delete lock_conflict.obj;* |
---|
635 | |
---|
636 | $(libdb)(lock_deadlock): [-.lock]lock_deadlock.c |
---|
637 | $(CC) $(CFLAGS) $? |
---|
638 | libr/replace $(libdb) lock_deadlock.obj |
---|
639 | delete lock_deadlock.obj;* |
---|
640 | |
---|
641 | $(libdb)(lock_region): [-.lock]lock_region.c |
---|
642 | $(CC) $(CFLAGS) $? |
---|
643 | libr/replace $(libdb) lock_region.obj |
---|
644 | delete lock_region.obj;* |
---|
645 | |
---|
646 | $(libdb)(lock_util): [-.lock]lock_util.c |
---|
647 | $(CC) $(CFLAGS) $? |
---|
648 | libr/replace $(libdb) lock_util.obj |
---|
649 | delete lock_util.obj;* |
---|
650 | |
---|
651 | # Log source files. |
---|
652 | $(libdb)(log): [-.log]log.c |
---|
653 | $(CC) $(CFLAGS) $? |
---|
654 | libr/replace $(libdb) log.obj |
---|
655 | delete log.obj;* |
---|
656 | |
---|
657 | $(libdb)(log_archive): [-.log]log_archive.c |
---|
658 | $(CC) $(CFLAGS) $? |
---|
659 | libr/replace $(libdb) log_archive.obj |
---|
660 | delete log_archive.obj;* |
---|
661 | |
---|
662 | $(libdb)(log_auto): [-.log]log_auto.c |
---|
663 | $(CC) $(CFLAGS) $? |
---|
664 | libr/replace $(libdb) log_auto.obj |
---|
665 | delete log_auto.obj;* |
---|
666 | |
---|
667 | $(libdb)(log_compare): [-.log]log_compare.c |
---|
668 | $(CC) $(CFLAGS) $? |
---|
669 | libr/replace $(libdb) log_compare.obj |
---|
670 | delete log_compare.obj;* |
---|
671 | |
---|
672 | $(libdb)(log_findckp): [-.log]log_findckp.c |
---|
673 | $(CC) $(CFLAGS) $? |
---|
674 | libr/replace $(libdb) log_findckp.obj |
---|
675 | delete log_findckp.obj;* |
---|
676 | |
---|
677 | $(libdb)(log_get): [-.log]log_get.c |
---|
678 | $(CC) $(CFLAGS) $? |
---|
679 | libr/replace $(libdb) log_get.obj |
---|
680 | delete log_get.obj;* |
---|
681 | |
---|
682 | $(libdb)(log_put): [-.log]log_put.c |
---|
683 | $(CC) $(CFLAGS) $? |
---|
684 | libr/replace $(libdb) log_put.obj |
---|
685 | delete log_put.obj;* |
---|
686 | |
---|
687 | $(libdb)(log_rec): [-.log]log_rec.c |
---|
688 | $(CC) $(CFLAGS) $? |
---|
689 | libr/replace $(libdb) log_rec.obj |
---|
690 | delete log_rec.obj;* |
---|
691 | |
---|
692 | $(libdb)(log_register): [-.log]log_register.c |
---|
693 | $(CC) $(CFLAGS) $? |
---|
694 | libr/replace $(libdb) log_register.obj |
---|
695 | delete log_register.obj;* |
---|
696 | |
---|
697 | # Mpool source files. |
---|
698 | $(libdb)(mp_bh): [-.mp]mp_bh.c |
---|
699 | $(CC) $(CFLAGS) $? |
---|
700 | libr/replace $(libdb) mp_bh.obj |
---|
701 | delete mp_bh.obj;* |
---|
702 | |
---|
703 | $(libdb)(mp_fget): [-.mp]mp_fget.c |
---|
704 | $(CC) $(CFLAGS) $? |
---|
705 | libr/replace $(libdb) mp_fget.obj |
---|
706 | delete mp_fget.obj;* |
---|
707 | |
---|
708 | $(libdb)(mp_fopen): [-.mp]mp_fopen.c |
---|
709 | $(CC) $(CFLAGS) $? |
---|
710 | libr/replace $(libdb) mp_fopen.obj |
---|
711 | delete mp_fopen.obj;* |
---|
712 | |
---|
713 | $(libdb)(mp_fput): [-.mp]mp_fput.c |
---|
714 | $(CC) $(CFLAGS) $? |
---|
715 | libr/replace $(libdb) mp_fput.obj |
---|
716 | delete mp_fput.obj;* |
---|
717 | |
---|
718 | $(libdb)(mp_fset): [-.mp]mp_fset.c |
---|
719 | $(CC) $(CFLAGS) $? |
---|
720 | libr/replace $(libdb) mp_fset.obj |
---|
721 | delete mp_fset.obj;* |
---|
722 | |
---|
723 | $(libdb)(mp_open): [-.mp]mp_open.c |
---|
724 | $(CC) $(CFLAGS) $? |
---|
725 | libr/replace $(libdb) mp_open.obj |
---|
726 | delete mp_open.obj;* |
---|
727 | |
---|
728 | $(libdb)(mp_pr): [-.mp]mp_pr.c |
---|
729 | $(CC) $(CFLAGS) $? |
---|
730 | libr/replace $(libdb) mp_pr.obj |
---|
731 | delete mp_pr.obj;* |
---|
732 | |
---|
733 | $(libdb)(mp_region): [-.mp]mp_region.c |
---|
734 | $(CC) $(CFLAGS) $? |
---|
735 | libr/replace $(libdb) mp_region.obj |
---|
736 | delete mp_region.obj;* |
---|
737 | |
---|
738 | $(libdb)(mp_sync): [-.mp]mp_sync.c |
---|
739 | $(CC) $(CFLAGS) $? |
---|
740 | libr/replace $(libdb) mp_sync.obj |
---|
741 | delete mp_sync.obj;* |
---|
742 | |
---|
743 | # Mutex source files. |
---|
744 | $(libdb)(mutex): [-.mutex]mutex.c |
---|
745 | $(CC) $(CFLAGS) $? |
---|
746 | libr/replace $(libdb) mutex.obj |
---|
747 | delete mutex.obj;* |
---|
748 | |
---|
749 | # XXX |
---|
750 | # UTS4 spinlocks |
---|
751 | uts4.cc.obj: [-.mutex]uts4.cc.s |
---|
752 | $(AS) $(ASFLAGS) -o $@ $? |
---|
753 | |
---|
754 | # Transaction source files. |
---|
755 | $(libdb)(txn): [-.txn]txn.c |
---|
756 | $(CC) $(CFLAGS) $? |
---|
757 | libr/replace $(libdb) txn.obj |
---|
758 | delete txn.obj;* |
---|
759 | |
---|
760 | $(libdb)(txn_auto): [-.txn]txn_auto.c |
---|
761 | $(CC) $(CFLAGS) $? |
---|
762 | libr/replace $(libdb) txn_auto.obj |
---|
763 | delete txn_auto.obj;* |
---|
764 | |
---|
765 | $(libdb)(txn_rec): [-.txn]txn_rec.c |
---|
766 | $(CC) $(CFLAGS) $? |
---|
767 | libr/replace $(libdb) txn_rec.obj |
---|
768 | delete txn_rec.obj;* |
---|
769 | |
---|
770 | # Historic interfaces. |
---|
771 | $(libdb)(hsearch): [-.hsearch]hsearch.c |
---|
772 | $(CC) $(CFLAGS) $? |
---|
773 | libr/replace $(libdb) hsearch.obj |
---|
774 | delete hsearch.obj;* |
---|
775 | |
---|
776 | $(libdb)(dbm): [-.dbm]dbm.c |
---|
777 | $(CC) $(CFLAGS) $? |
---|
778 | libr/replace $(libdb) dbm.obj |
---|
779 | delete dbm.obj;* |
---|
780 | |
---|
781 | # Common source files. |
---|
782 | $(libdb)(db_appinit): [-.common]db_appinit.c |
---|
783 | $(CC) $(CFLAGS) $? |
---|
784 | libr/replace $(libdb) db_appinit.obj |
---|
785 | delete db_appinit.obj;* |
---|
786 | |
---|
787 | $(libdb)(db_apprec): [-.common]db_apprec.c |
---|
788 | $(CC) $(CFLAGS) $? |
---|
789 | libr/replace $(libdb) db_apprec.obj |
---|
790 | delete db_apprec.obj;* |
---|
791 | |
---|
792 | $(libdb)(db_byteorder): [-.common]db_byteorder.c |
---|
793 | $(CC) $(CFLAGS) $? |
---|
794 | libr/replace $(libdb) db_byteorder.obj |
---|
795 | delete db_byteorder.obj;* |
---|
796 | |
---|
797 | $(libdb)(db_err): [-.common]db_err.c |
---|
798 | $(CC) $(CFLAGS) $? |
---|
799 | libr/replace $(libdb) db_err.obj |
---|
800 | delete db_err.obj;* |
---|
801 | |
---|
802 | $(libdb)(db_log2): [-.common]db_log2.c |
---|
803 | $(CC) $(CFLAGS) $? |
---|
804 | libr/replace $(libdb) db_log2.obj |
---|
805 | delete db_log2.obj;* |
---|
806 | |
---|
807 | $(libdb)(db_region): [-.common]db_region.c |
---|
808 | $(CC) $(CFLAGS) $? |
---|
809 | libr/replace $(libdb) db_region.obj |
---|
810 | delete db_region.obj;* |
---|
811 | |
---|
812 | $(libdb)(db_salloc): [-.common]db_salloc.c |
---|
813 | $(CC) $(CFLAGS) $? |
---|
814 | libr/replace $(libdb) db_salloc.obj |
---|
815 | delete db_salloc.obj;* |
---|
816 | |
---|
817 | $(libdb)(db_shash): [-.common]db_shash.c |
---|
818 | $(CC) $(CFLAGS) $? |
---|
819 | libr/replace $(libdb) db_shash.obj |
---|
820 | delete db_shash.obj;* |
---|
821 | |
---|
822 | # OS specific source files. |
---|
823 | $(libdb)(os_abs): [-.os]os_abs.c |
---|
824 | $(CC) $(CFLAGS) $? |
---|
825 | libr/replace $(libdb) os_abs.obj |
---|
826 | delete os_abs.obj;* |
---|
827 | |
---|
828 | $(libdb)(os_alloc): [-.os]os_alloc.c |
---|
829 | $(CC) $(CFLAGS) $? |
---|
830 | libr/replace $(libdb) os_alloc.obj |
---|
831 | delete os_alloc.obj;* |
---|
832 | |
---|
833 | $(libdb)(os_config): [-.os]os_config.c |
---|
834 | $(CC) $(CFLAGS) $? |
---|
835 | libr/replace $(libdb) os_config.obj |
---|
836 | delete os_config.obj;* |
---|
837 | |
---|
838 | $(libdb)(os_dir): [-.os]os_dir.c |
---|
839 | $(CC) $(CFLAGS) $? |
---|
840 | libr/replace $(libdb) os_dir.obj |
---|
841 | delete os_dir.obj;* |
---|
842 | |
---|
843 | $(libdb)(os_fid): [-.os]os_fid.c |
---|
844 | $(CC) $(CFLAGS) $? |
---|
845 | libr/replace $(libdb) os_fid.obj |
---|
846 | delete os_fid.obj;* |
---|
847 | |
---|
848 | $(libdb)(os_fsync): [-.os]os_fsync.c |
---|
849 | $(CC) $(CFLAGS) $? |
---|
850 | libr/replace $(libdb) os_fsync.obj |
---|
851 | delete os_fsync.obj;* |
---|
852 | |
---|
853 | $(libdb)(os_map): [-.os]os_map.c |
---|
854 | $(CC) $(CFLAGS) $? |
---|
855 | libr/replace $(libdb) os_map.obj |
---|
856 | delete os_map.obj;* |
---|
857 | |
---|
858 | $(libdb)(os_oflags): [-.os]os_oflags.c |
---|
859 | $(CC) $(CFLAGS) $? |
---|
860 | libr/replace $(libdb) os_oflags.obj |
---|
861 | delete os_oflags.obj;* |
---|
862 | |
---|
863 | $(libdb)(os_open): [-.os]os_open.c |
---|
864 | $(CC) $(CFLAGS) $? |
---|
865 | libr/replace $(libdb) os_open.obj |
---|
866 | delete os_open.obj;* |
---|
867 | |
---|
868 | $(libdb)(os_rpath): [-.os]os_rpath.c |
---|
869 | $(CC) $(CFLAGS) $? |
---|
870 | libr/replace $(libdb) os_rpath.obj |
---|
871 | delete os_rpath.obj;* |
---|
872 | |
---|
873 | $(libdb)(os_rw): [-.os]os_rw.c |
---|
874 | $(CC) $(CFLAGS) $? |
---|
875 | libr/replace $(libdb) os_rw.obj |
---|
876 | delete os_rw.obj;* |
---|
877 | |
---|
878 | $(libdb)(os_seek): [-.os]os_seek.c |
---|
879 | $(CC) $(CFLAGS) $? |
---|
880 | libr/replace $(libdb) os_seek.obj |
---|
881 | delete os_seek.obj;* |
---|
882 | |
---|
883 | $(libdb)(os_sleep): [-.os]os_sleep.c |
---|
884 | $(CC) $(CFLAGS) $? |
---|
885 | libr/replace $(libdb) os_sleep.obj |
---|
886 | delete os_sleep.obj;* |
---|
887 | |
---|
888 | $(libdb)(os_spin): [-.os]os_spin.c |
---|
889 | $(CC) $(CFLAGS) $? |
---|
890 | libr/replace $(libdb) os_spin.obj |
---|
891 | delete os_spin.obj;* |
---|
892 | |
---|
893 | $(libdb)(os_stat): [-.os]os_stat.c |
---|
894 | $(CC) $(CFLAGS) $? |
---|
895 | libr/replace $(libdb) os_stat.obj |
---|
896 | delete os_stat.obj;* |
---|
897 | |
---|
898 | $(libdb)(os_tmpdir): [-.os]os_tmpdir.c |
---|
899 | $(CC) $(CFLAGS) $? |
---|
900 | libr/replace $(libdb) os_tmpdir.obj |
---|
901 | delete os_tmpdir.obj;* |
---|
902 | |
---|
903 | $(libdb)(os_unlink): [-.os]os_unlink.c |
---|
904 | $(CC) $(CFLAGS) $? |
---|
905 | libr/replace $(libdb) os_unlink.obj |
---|
906 | delete os_unlink.obj;* |
---|
907 | |
---|
908 | # Test programs. |
---|
909 | .dbtestrc: db.h [-.test]test.tcl |
---|
910 | copy/log [-.test]test.tcl $@ |
---|
911 | tclAppInit.obj: [-.test]tclAppInit.c |
---|
912 | $(CC) $(CFLAGS) $? |
---|
913 | tcl_dbm.obj: [-.test]tcl_dbm.c |
---|
914 | $(CC) $(CFLAGS) $? |
---|
915 | tcl_hsearch.obj: [-.test]tcl_hsearch.c |
---|
916 | $(CC) $(CFLAGS) $? |
---|
917 | tcl_lock.obj: [-.test]tcl_lock.c |
---|
918 | $(CC) $(CFLAGS) $? |
---|
919 | tcl_log.obj: [-.test]tcl_log.c |
---|
920 | $(CC) $(CFLAGS) $? |
---|
921 | tcl_mpool.obj: [-.test]tcl_mpool.c |
---|
922 | $(CC) $(CFLAGS) $? |
---|
923 | tcl_mutex.obj: [-.test]tcl_mutex.c |
---|
924 | $(CC) $(CFLAGS) $? |
---|
925 | tcl_ndbm.obj: [-.test]tcl_ndbm.c |
---|
926 | $(CC) $(CFLAGS) $? |
---|
927 | tcl_txn.obj: [-.test]tcl_txn.c |
---|
928 | $(CC) $(CFLAGS) $? |
---|
929 | thread.obj: [-.test]thread.c |
---|
930 | $(CC) $(CFLAGS) $? |
---|
931 | utils.obj: [-.test]utils.c |
---|
932 | $(CC) $(CFLAGS) $? |
---|
933 | |
---|
934 | # Replacement source files. |
---|
935 | err.obj: [-.clib]err.c |
---|
936 | $(CC) $(CFLAGS) $? |
---|
937 | getcwd.obj: [-.clib]getcwd.c |
---|
938 | $(CC) $(CFLAGS) $? |
---|
939 | getlong.obj: [-.clib]getlong.c |
---|
940 | $(CC) $(CFLAGS) $? |
---|
941 | getopt.obj: [-.clib]getopt.c |
---|
942 | $(CC) $(CFLAGS) $? |
---|
943 | memcmp.obj: [-.clib]memcmp.c |
---|
944 | $(CC) $(CFLAGS) $? |
---|
945 | memcpy.obj: [-.clib]memcpy.c |
---|
946 | $(CC) -DMEMCOPY $(CFLAGS) $? |
---|
947 | memmove.obj: [-.clib]memmove.c |
---|
948 | $(CC) -DMEMMOVE $(CFLAGS) $? |
---|
949 | raise.obj: [-.clib]raise.c |
---|
950 | $(CC) $(CFLAGS) $? |
---|
951 | |
---|
952 | $(libdb)(snprintf): [-.clib]snprintf.c |
---|
953 | $(CC) $(CFLAGS) $? |
---|
954 | libr/replace $(libdb) snprintf.obj |
---|
955 | delete snprintf.obj;* |
---|
956 | |
---|
957 | strdup.obj: [-.clib]strdup.c |
---|
958 | $(CC) $(CFLAGS) $? |
---|
959 | strerror.obj: [-.clib]strerror.c |
---|
960 | $(CC) $(CFLAGS) $? |
---|
961 | strsep.obj: [-.clib]strsep.c |
---|
962 | $(CC) $(CFLAGS) $? |
---|
963 | |
---|
964 | $(libdb)(vsnprintf): [-.clib]vsnprintf.c |
---|
965 | $(CC) $(CFLAGS) $? |
---|
966 | libr/replace $(libdb) vsnprintf.obj |
---|
967 | delete vsnprintf.obj;* |
---|