2003-07-28 06:18:23 +02:00
|
|
|
# Makefile for Borland C++ 5.5 on NT
|
1999-04-07 10:01:30 +02:00
|
|
|
# If you have the Borland assembler, remove "-DUSE_GENERIC"
|
|
|
|
#
|
2003-07-28 06:18:23 +02:00
|
|
|
bc= c:\Borland\BCC55
|
|
|
|
bcbin= $(bc)\bin
|
|
|
|
bclib= $(bc)\lib
|
1999-04-07 10:01:30 +02:00
|
|
|
bcinclude= $(bc)\include
|
|
|
|
|
2003-07-28 06:18:23 +02:00
|
|
|
gcinclude1 = $(bc)\gc6.2\include
|
|
|
|
gcinclude2 = $(bc)\gc6.2\cord
|
|
|
|
|
|
|
|
cc= $(bcbin)\bcc32
|
|
|
|
rc= $(bcbin)\brc32
|
|
|
|
lib= $(bcbin)\tlib
|
|
|
|
link= $(bcbin)\ilink32
|
|
|
|
cflags= -O2 -R -v- -vi -H -H=gc.csm -I$(bcinclude);$(gcinclude1);$(gcinclude2) -L$(bclib) \
|
|
|
|
-w-pro -w-aus -w-par -w-ccc -w-rch -a4 -D__STDC__=0
|
1999-04-07 10:01:30 +02:00
|
|
|
#defines= -DSILENT
|
2003-07-28 06:18:23 +02:00
|
|
|
defines= -DSMALL_CONFIG -DSILENT -DALL_INTERIOR_POINTERS -DUSE_GENERIC -DNO_GETENV -DJAVA_FINALIZATION -DGC_OPERATOR_NEW_ARRAY
|
1999-04-07 10:01:30 +02:00
|
|
|
|
|
|
|
.c.obj:
|
|
|
|
$(cc) @&&|
|
2003-07-28 06:18:23 +02:00
|
|
|
$(cdebug) $(cflags) $(cvars) $(defines) -o$* -c $*.c
|
1999-04-07 10:01:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
.cpp.obj:
|
|
|
|
$(cc) @&&|
|
2003-07-28 06:18:23 +02:00
|
|
|
$(cdebug) $(cflags) $(cvars) $(defines) -o$* -c $*.cpp
|
1999-04-07 10:01:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
.rc.res:
|
|
|
|
$(rc) -i$(bcinclude) -r -fo$* $*.rc
|
|
|
|
|
|
|
|
XXXOBJS= XXXalloc.obj XXXreclaim.obj XXXallchblk.obj XXXmisc.obj \
|
|
|
|
XXXmach_dep.obj XXXos_dep.obj XXXmark_rts.obj XXXheaders.obj XXXmark.obj \
|
|
|
|
XXXobj_map.obj XXXblacklst.obj XXXfinalize.obj XXXnew_hblk.obj \
|
|
|
|
XXXdbg_mlc.obj XXXmalloc.obj XXXstubborn.obj XXXdyn_load.obj \
|
|
|
|
XXXtypd_mlc.obj XXXptr_chck.obj XXXgc_cpp.obj XXXmallocx.obj
|
|
|
|
|
|
|
|
OBJS= $(XXXOBJS:XXX=)
|
|
|
|
|
|
|
|
all: gctest.exe cord\de.exe test_cpp.exe
|
|
|
|
|
2003-07-28 06:18:23 +02:00
|
|
|
$(OBJS) test.obj: include\private\gc_priv.h include\private\gc_hdrs.h include\gc.h include\private\gcconfig.h MAKEFILE
|
1999-04-07 10:01:30 +02:00
|
|
|
|
|
|
|
gc.lib: $(OBJS)
|
2003-07-28 06:18:23 +02:00
|
|
|
del gc.lib
|
|
|
|
$(lib) $* @&&|
|
|
|
|
$(XXXOBJS:XXX=+)
|
1999-04-07 10:01:30 +02:00
|
|
|
|
|
|
|
|
|
Imported version version 6.0alpha7.
* README, README.Mac, README.OS2, README.QUICK, README.alpha,
README.amiga, README.debugging, README.dj, README.hp, README.linux,
README.rs6000, README.sgi, README.solaris2, README.uts,
README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
hpux_irix_threads.c, makefile.depend, nursery.c,
solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
files.
From-SVN: r42379
2001-05-21 10:35:14 +02:00
|
|
|
gctest.exe: tests\test.obj gc.lib
|
1999-04-07 10:01:30 +02:00
|
|
|
$(cc) @&&|
|
2003-07-28 06:18:23 +02:00
|
|
|
$(cflags) -W -e$* tests\test.obj gc.lib
|
1999-04-07 10:01:30 +02:00
|
|
|
|
|
|
|
|
|
2003-07-28 06:18:23 +02:00
|
|
|
cord\de.obj cord\de_win.obj: include\cord.h include\private\cord_pos.h cord\de_win.h \
|
1999-04-07 10:01:30 +02:00
|
|
|
cord\de_cmds.h
|
|
|
|
|
|
|
|
cord\de.exe: cord\cordbscs.obj cord\cordxtra.obj cord\de.obj cord\de_win.obj \
|
2003-07-28 06:18:23 +02:00
|
|
|
cord\de_win.res gc.lib
|
1999-04-07 10:01:30 +02:00
|
|
|
$(cc) @&&|
|
2003-07-28 06:18:23 +02:00
|
|
|
$(cflags) -W -e$* cord\cordbscs.obj cord\cordxtra.obj \
|
|
|
|
cord\de.obj cord\de_win.obj gc.lib
|
1999-04-07 10:01:30 +02:00
|
|
|
|
|
|
|
|
$(rc) cord\de_win.res cord\de.exe
|
|
|
|
|
2003-07-28 06:18:23 +02:00
|
|
|
gc_cpp.obj: include\gc_cpp.h include\gc.h
|
1999-04-07 10:01:30 +02:00
|
|
|
|
|
|
|
gc_cpp.cpp: gc_cpp.cc
|
|
|
|
copy gc_cpp.cc gc_cpp.cpp
|
|
|
|
|
Imported version version 6.0alpha7.
* README, README.Mac, README.OS2, README.QUICK, README.alpha,
README.amiga, README.debugging, README.dj, README.hp, README.linux,
README.rs6000, README.sgi, README.solaris2, README.uts,
README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
hpux_irix_threads.c, makefile.depend, nursery.c,
solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
files.
From-SVN: r42379
2001-05-21 10:35:14 +02:00
|
|
|
test_cpp.cpp: tests\test_cpp.cc
|
|
|
|
copy tests\test_cpp.cc test_cpp.cpp
|
1999-04-07 10:01:30 +02:00
|
|
|
|
2003-07-28 06:18:23 +02:00
|
|
|
test_cpp.exe: test_cpp.obj include\gc_cpp.h include\gc.h gc.lib
|
1999-04-07 10:01:30 +02:00
|
|
|
$(cc) @&&|
|
2003-07-28 06:18:23 +02:00
|
|
|
$(cflags) -W -e$* test_cpp.obj gc.lib
|
1999-04-07 10:01:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
scratch:
|
|
|
|
-del *.obj *.res *.exe *.csm cord\*.obj cord\*.res cord\*.exe cord\*.csm
|
|
|
|
|
2003-07-28 06:18:23 +02:00
|
|
|
clean:
|
|
|
|
del gc.lib
|
|
|
|
del *.obj
|
|
|
|
del tests\test.obj
|
1999-04-07 10:01:30 +02:00
|
|
|
|