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