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