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