Annotation of OpenXM_contrib2/asir2000/gc/BCC_MAKEFILE, Revision 1.5
1.4 noro 1: # Makefile for Borland C++ 5.5 on NT
1.1 noro 2: # If you have the Borland assembler, remove "-DUSE_GENERIC"
3: #
1.4 noro 4: bc= c:\Borland\BCC55
5: bcbin= $(bc)\bin
6: bclib= $(bc)\lib
1.1 noro 7: bcinclude= $(bc)\include
8:
1.5 ! noro 9: gcinclude1 = $(bc)\gc6.2\include
! 10: gcinclude2 = $(bc)\gc6.2\cord
1.4 noro 11:
12: cc= $(bcbin)\bcc32
13: rc= $(bcbin)\brc32
14: lib= $(bcbin)\tlib
1.5 ! noro 15: link= $(bcbin)\ilink32
! 16: cflags= -O2 -R -v- -vi -H -H=gc.csm -I$(bcinclude);$(gcinclude1);$(gcinclude2) -L$(bclib) \
1.4 noro 17: -w-pro -w-aus -w-par -w-ccc -w-rch -a4 -D__STDC__=0
1.1 noro 18: #defines= -DSILENT
1.5 ! noro 19: defines= -DSMALL_CONFIG -DSILENT -DALL_INTERIOR_POINTERS -DUSE_GENERIC -DNO_GETENV -DJAVA_FINALIZATION -DGC_OPERATOR_NEW_ARRAY
1.1 noro 20:
21: .c.obj:
22: $(cc) @&&|
1.4 noro 23: $(cdebug) $(cflags) $(cvars) $(defines) -o$* -c $*.c
1.1 noro 24: |
25:
26: .cpp.obj:
27: $(cc) @&&|
1.4 noro 28: $(cdebug) $(cflags) $(cvars) $(defines) -o$* -c $*.cpp
1.1 noro 29: |
30:
31: .rc.res:
32: $(rc) -i$(bcinclude) -r -fo$* $*.rc
33:
34: XXXOBJS= XXXalloc.obj XXXreclaim.obj XXXallchblk.obj XXXmisc.obj \
35: XXXmach_dep.obj XXXos_dep.obj XXXmark_rts.obj XXXheaders.obj XXXmark.obj \
36: XXXobj_map.obj XXXblacklst.obj XXXfinalize.obj XXXnew_hblk.obj \
37: XXXdbg_mlc.obj XXXmalloc.obj XXXstubborn.obj XXXdyn_load.obj \
38: XXXtypd_mlc.obj XXXptr_chck.obj XXXgc_cpp.obj XXXmallocx.obj
39:
40: OBJS= $(XXXOBJS:XXX=)
41:
42: all: gctest.exe cord\de.exe test_cpp.exe
43:
1.4 noro 44: $(OBJS) test.obj: include\private\gc_priv.h include\private\gc_hdrs.h include\gc.h include\private\gcconfig.h MAKEFILE
1.1 noro 45:
46: gc.lib: $(OBJS)
1.4 noro 47: del gc.lib
48: $(lib) $* @&&|
49: $(XXXOBJS:XXX=+)
1.1 noro 50: |
51:
1.2 noro 52: gctest.exe: tests\test.obj gc.lib
1.1 noro 53: $(cc) @&&|
1.4 noro 54: $(cflags) -W -e$* tests\test.obj gc.lib
1.1 noro 55: |
56:
1.5 ! noro 57: cord\de.obj cord\de_win.obj: include\cord.h include\private\cord_pos.h cord\de_win.h \
1.1 noro 58: cord\de_cmds.h
59:
60: cord\de.exe: cord\cordbscs.obj cord\cordxtra.obj cord\de.obj cord\de_win.obj \
1.4 noro 61: cord\de_win.res gc.lib
1.1 noro 62: $(cc) @&&|
1.4 noro 63: $(cflags) -W -e$* cord\cordbscs.obj cord\cordxtra.obj \
64: cord\de.obj cord\de_win.obj gc.lib
1.1 noro 65: |
66: $(rc) cord\de_win.res cord\de.exe
67:
1.4 noro 68: gc_cpp.obj: include\gc_cpp.h include\gc.h
1.1 noro 69:
70: gc_cpp.cpp: gc_cpp.cc
71: copy gc_cpp.cc gc_cpp.cpp
72:
1.2 noro 73: test_cpp.cpp: tests\test_cpp.cc
74: copy tests\test_cpp.cc test_cpp.cpp
1.1 noro 75:
1.5 ! noro 76: test_cpp.exe: test_cpp.obj include\gc_cpp.h include\gc.h gc.lib
1.1 noro 77: $(cc) @&&|
1.4 noro 78: $(cflags) -W -e$* test_cpp.obj gc.lib
1.1 noro 79: |
80:
81: scratch:
82: -del *.obj *.res *.exe *.csm cord\*.obj cord\*.res cord\*.exe cord\*.csm
83:
1.4 noro 84: clean:
85: del gc.lib
86: del *.obj
87: del tests\test.obj
1.1 noro 88:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>