X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=hs-boehmgc.git;a=blobdiff_plain;f=gc-7.2%2Flibatomic_ops%2Fsrc%2FMakefile.msft;fp=gc-7.2%2Flibatomic_ops%2Fsrc%2FMakefile.msft;h=ae96702f00040126cabe712c719ea57a513ba6d4;hp=0000000000000000000000000000000000000000;hb=324587ba93dc77f37406d41fd2a20d0e0d94fb1d;hpb=2a4ea609491b225a1ceb06da70396e93916f137a diff --git a/gc-7.2/libatomic_ops/src/Makefile.msft b/gc-7.2/libatomic_ops/src/Makefile.msft new file mode 100644 index 0000000..ae96702 --- /dev/null +++ b/gc-7.2/libatomic_ops/src/Makefile.msft @@ -0,0 +1,45 @@ +# +# Copyright (c) 2003-2005 Hewlett-Packard Development Company, L.P. +# +# The really trivial win32/VC++ Makefile. Note that atomic_ops.c isn't useful. +# And we rely on a pre-built test_atomic_include.h and generalize-small.h, +# since we can't rely on sed. +# Win32 clients only need to include the header files. +# To install, copy atomic_ops.h and the atomic_ops/... tree to your favorite +# include directory. + +#MY_CPU=X86 +#CPU=$(MY_CPU) +#!include + +LIB_OBJS=atomic_ops_stack.obj atomic_ops_malloc.obj + +all: check + +atomic_ops_stack.obj: + cl -O2 -c -DAO_ASSUME_WINDOWS98 atomic_ops_stack.c + +atomic_ops_malloc.obj: + cl -O2 -c -DAO_ASSUME_WINDOWS98 atomic_ops_malloc.c + +test_atomic: ..\tests\test_atomic.c ..\tests\test_atomic_include.h + cl -O2 -I. -DAO_ASSUME_WINDOWS98 ..\tests\test_atomic.c -o test_atomic + +test_atomic_w95: ..\tests\test_atomic.c ..\tests\test_atomic_include.h + cl -O2 -I. ..\tests\test_atomic.c -o test_atomic_w95 + +test_malloc: ..\tests\test_malloc.c ..\tests\test_atomic_include.h \ + libatomic_ops_gpl.lib + cl -O2 -DAO_ASSUME_WINDOWS98 -I. ..\tests\test_malloc.c -o test_malloc libatomic_ops_gpl.lib + +libatomic_ops_gpl.lib: $(LIB_OBJS) + lib /MACHINE:i386 /out:libatomic_ops_gpl.lib $(LIB_OBJS) + +check: test_atomic test_atomic_w95 test_malloc + echo The following will print lots of \"Missing ...\" messages. + test_atomic_w95 + echo The following will print some \"Missing ...\" messages. + test_atomic + test_malloc + +