OSDN Git Service

Import GC 6.3alpha1.
[pf3gnuchains/gcc-fork.git] / boehm-gc / BCC_MAKEFILE
index a8e0682..3f86ed5 100644 (file)
@@ -1,29 +1,31 @@
-# Makefile for Borland C++ 4.5 on NT\r
-# For Borland 5.0, replace bc45 by bc5.\r
+# Makefile for Borland C++ 5.5 on NT\r
 # If you have the Borland assembler, remove "-DUSE_GENERIC"\r
 #\r
-bc=        c:\bc45\r
-bcbin=     $(bc)\bin\r
-bclib=     $(bc)\lib\r
+bc=       c:\Borland\BCC55\r
+bcbin=    $(bc)\bin\r
+bclib=    $(bc)\lib\r
 bcinclude= $(bc)\include\r
 \r
-cc=      $(bcbin)\bcc32\r
-rc=      $(bcbin)\brc32\r
-lib=     $(bcbin)\tlib\r
-link=    $(bcbin)\tlink32\r
-cflags=  -R -v -vi -H -H=gc.csm -I$(bcinclude);cord -L$(bclib) \\r
-         -w-pro -w-aus -w-par -w-ccc -w-rch -a4 -D__STDC__=0\r
+gcinclude1 = $(bc)\gc6.2\include\r
+gcinclude2 = $(bc)\gc6.2\cord\r
+\r
+cc=     $(bcbin)\bcc32\r
+rc=     $(bcbin)\brc32\r
+lib=    $(bcbin)\tlib\r
+link=   $(bcbin)\ilink32\r
+cflags=  -O2 -R -v- -vi -H -H=gc.csm -I$(bcinclude);$(gcinclude1);$(gcinclude2) -L$(bclib) \\r
+        -w-pro -w-aus -w-par -w-ccc -w-rch -a4 -D__STDC__=0\r
 #defines= -DSILENT\r
-defines= -DSMALL_CONFIG -DSILENT -DALL_INTERIOR_POINTERS -DUSE_GENERIC\r
+defines= -DSMALL_CONFIG -DSILENT -DALL_INTERIOR_POINTERS -DUSE_GENERIC -DNO_GETENV -DJAVA_FINALIZATION -DGC_OPERATOR_NEW_ARRAY\r
 \r
 .c.obj:\r
        $(cc) @&&|\r
-        $(cdebug) $(cflags) $(cvars) $(defines) -o$* -c $*.c\r
+       $(cdebug) $(cflags) $(cvars) $(defines) -o$* -c $*.c\r
 |\r
 \r
 .cpp.obj:\r
        $(cc) @&&|\r
-        $(cdebug) $(cflags) $(cvars) $(defines) -o$* -c $*.cpp\r
+       $(cdebug) $(cflags) $(cvars) $(defines) -o$* -c $*.cpp\r
 |\r
 \r
 .rc.res:\r
@@ -39,31 +41,31 @@ OBJS= $(XXXOBJS:XXX=)
 \r
 all: gctest.exe cord\de.exe test_cpp.exe\r
 \r
-$(OBJS) test.obj: gc_priv.h gc_hdrs.h gc.h gcconfig.h MAKEFILE\r
+$(OBJS) test.obj: include\private\gc_priv.h include\private\gc_hdrs.h include\gc.h include\private\gcconfig.h MAKEFILE\r
 \r
 gc.lib: $(OBJS)\r
-    -del gc.lib\r
-       tlib $* @&&|\r
-        $(XXXOBJS:XXX=+)\r
+       del gc.lib\r
+       $(lib) $* @&&|\r
+       $(XXXOBJS:XXX=+)\r
 |\r
 \r
 gctest.exe: tests\test.obj gc.lib\r
     $(cc) @&&|\r
-        $(cflags) -W -e$* tests\test.obj gc.lib\r
+       $(cflags) -W -e$* tests\test.obj gc.lib\r
 |\r
 \r
-cord\de.obj cord\de_win.obj: cord\cord.h cord\private\cord_pos.h cord\de_win.h \\r
+cord\de.obj cord\de_win.obj: include\cord.h include\private\cord_pos.h cord\de_win.h \\r
     cord\de_cmds.h\r
 \r
 cord\de.exe: cord\cordbscs.obj cord\cordxtra.obj cord\de.obj cord\de_win.obj \\r
-        cord\de_win.res gc.lib\r
+       cord\de_win.res gc.lib\r
        $(cc) @&&|\r
-        $(cflags) -W -e$* cord\cordbscs.obj cord\cordxtra.obj \\r
-        cord\de.obj cord\de_win.obj gc.lib\r
+       $(cflags) -W -e$* cord\cordbscs.obj cord\cordxtra.obj \\r
+       cord\de.obj cord\de_win.obj gc.lib\r
 |\r
     $(rc) cord\de_win.res cord\de.exe\r
 \r
-gc_cpp.obj: gc_cpp.h gc.h\r
+gc_cpp.obj: include\gc_cpp.h include\gc.h\r
 \r
 gc_cpp.cpp: gc_cpp.cc\r
        copy gc_cpp.cc gc_cpp.cpp\r
@@ -71,12 +73,16 @@ gc_cpp.cpp: gc_cpp.cc
 test_cpp.cpp: tests\test_cpp.cc\r
        copy tests\test_cpp.cc test_cpp.cpp\r
 \r
-test_cpp.exe: test_cpp.obj gc_cpp.h gc.h gc.lib\r
+test_cpp.exe: test_cpp.obj include\gc_cpp.h include\gc.h gc.lib\r
     $(cc) @&&|\r
-        $(cflags) -W -e$* test_cpp.obj gc.lib\r
+       $(cflags) -W -e$* test_cpp.obj gc.lib\r
 |\r
 \r
 scratch:\r
     -del *.obj *.res *.exe *.csm cord\*.obj cord\*.res cord\*.exe cord\*.csm\r
 \r
+clean:\r
+      del gc.lib\r
+      del *.obj\r
+      del tests\test.obj\r
 \r