summaryrefslogtreecommitdiff
path: root/WCC_MAKEFILE
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2018-02-28 09:27:26 +0300
committerIvan Maidanski <ivmai@mail.ru>2018-02-28 11:08:00 +0300
commite2a83ff4ab70eef5b16fabd8e441828b419ceb58 (patch)
tree4b6d37352f47bfd1de779ccc0a422eb652539420 /WCC_MAKEFILE
parentd29e0335a0affcea6bff586d16d37a01fceb0f0b (diff)
downloadbdwgc-e2a83ff4ab70eef5b16fabd8e441828b419ceb58.tar.gz
Remove API symbols renaming in WCC_MAKEFILE
GC_is_marked, GC_incr_bytes_allocd, GC_incr_bytes_freed are now declared as GC_API, the so symbols renaming by the linker is not needed. GC_generic_malloc_words_small does not exist anymore. * WCC_MAKEFILE [MAKE_AS_DLL] (gc.dll): Remove "append $*.lnk export" for GC_is_marked, GC_incr_bytes_allocd, GC_incr_bytes_freed, GC_generic_malloc_words_small. * WCC_MAKEFILE (gc.lib): Adjust indentation. * WCC_MAKEFILE [MAKE_AS_DLL] (gctest.exe): Remove "append $*.lnk import" for GC_is_marked. * WCC_MAKEFILE [MAKE_AS_DLL] (test_cpp.exe): Remove "append $*.lnk import" for GC_incr_bytes_allocd, GC_incr_bytes_freed, GC_generic_malloc_words_small.
Diffstat (limited to 'WCC_MAKEFILE')
-rw-r--r--WCC_MAKEFILE31
1 files changed, 1 insertions, 30 deletions
diff --git a/WCC_MAKEFILE b/WCC_MAKEFILE
index bae89d68..cc2c5566 100644
--- a/WCC_MAKEFILE
+++ b/WCC_MAKEFILE
@@ -95,23 +95,12 @@ gc.dll: $(OBJS) .AUTODEPEND
!endif
@%append $*.lnk name $*
@for %i in ($(OBJS)) do @%append $*.lnk file '%i'
-!ifeq CALLING s
- @%append $*.lnk export GC_is_marked
- @%append $*.lnk export GC_incr_bytes_allocd
- @%append $*.lnk export GC_incr_bytes_freed
- @%append $*.lnk export GC_generic_malloc_words_small
-!else
- @%append $*.lnk export GC_is_marked_
- @%append $*.lnk export GC_incr_bytes_allocd_
- @%append $*.lnk export GC_incr_bytes_freed_
- @%append $*.lnk export GC_generic_malloc_words_small_
-!endif
*wlink @$*.lnk
!else
gc.lib: $(OBJS) gc_cpp.obj
@%create $*.lb1
@for %i in ($(OBJS)) do @%append $*.lb1 +'%i'
- @%append $*.lb1 +'gc_cpp.obj'
+ @%append $*.lb1 +'gc_cpp.obj'
*wlib -b -c -n -p=512 $@ @$*.lb1
!endif
@@ -131,13 +120,6 @@ gctest.exe: test.obj gc.lib
@%append $*.lnk name $*
@%append $*.lnk file test.obj
@%append $*.lnk library gc.lib
-!ifdef MAKE_AS_DLL
-!ifeq CALLING s
- @%append $*.lnk import GC_is_marked gc
-!else
- @%append $*.lnk import GC_is_marked_ gc
-!endif
-!endif
*wlink @$*.lnk
test_cpp.exe: test_cpp.obj gc.lib
%create $*.lnk
@@ -153,17 +135,6 @@ test_cpp.exe: test_cpp.obj gc.lib
@%append $*.lnk name $*
@%append $*.lnk file test_cpp.obj
@%append $*.lnk library gc.lib
-!ifdef MAKE_AS_DLL
-!ifeq CALLING s
- @%append $*.lnk import GC_incr_bytes_allocd gc
- @%append $*.lnk import GC_incr_bytes_freed gc
- @%append $*.lnk import GC_generic_malloc_words_small gc
-!else
- @%append $*.lnk import GC_incr_bytes_allocd_ gc
- @%append $*.lnk import GC_incr_bytes_freed_ gc
- @%append $*.lnk import GC_generic_malloc_words_small_ gc
-!endif
-!endif
*wlink @$*.lnk
gc_cpp.obj: gc_cpp.cc .AUTODEPEND