45 |
endif |
endif |
46 |
|
|
47 |
libgc_la_SOURCES = allchblk.c alloc.c blacklst.c checksums.c dbg_mlc.c \ |
libgc_la_SOURCES = allchblk.c alloc.c blacklst.c checksums.c dbg_mlc.c \ |
48 |
dyn_load.c finalize.c gc_dlopen.c gcj_mlc.c headers.c aix_irix_threads.c \ |
dyn_load.c finalize.c gc_dlopen.c gcj_mlc.c headers.c \ |
49 |
malloc.c mallocx.c mark.c mark_rts.c misc.c new_hblk.c \ |
malloc.c mallocx.c mark.c mark_rts.c misc.c new_hblk.c \ |
50 |
obj_map.c os_dep.c pcr_interface.c ptr_chck.c real_malloc.c reclaim.c \ |
obj_map.c os_dep.c pcr_interface.c ptr_chck.c real_malloc.c reclaim.c \ |
51 |
solaris_pthreads.c solaris_threads.c specific.c stubborn.c typd_mlc.c \ |
solaris_pthreads.c solaris_threads.c specific.c stubborn.c typd_mlc.c \ |
53 |
pthread_support.c pthread_stop_world.c darwin_stop_world.c \ |
pthread_support.c pthread_stop_world.c darwin_stop_world.c \ |
54 |
$(asm_libgc_sources) |
$(asm_libgc_sources) |
55 |
|
|
56 |
# Include THREADLIBS here to ensure that the correct versions of |
# Include THREADDLLIBS here to ensure that the correct versions of |
57 |
# linuxthread semaphore functions get linked: |
# linuxthread semaphore functions get linked: |
58 |
libgc_la_LIBADD = @addobjs@ $(THREADLIBS) $(UNWINDLIBS) |
libgc_la_LIBADD = @addobjs@ $(THREADDLLIBS) $(UNWINDLIBS) |
59 |
libgc_la_DEPENDENCIES = @addobjs@ |
libgc_la_DEPENDENCIES = @addobjs@ |
60 |
libgc_la_LDFLAGS = -version-info 1:2:0 |
libgc_la_LDFLAGS = -version-info 1:2:0 |
61 |
|
|
65 |
sparc_sunos4_mach_dep.s ia64_save_regs_in_stack.s |
sparc_sunos4_mach_dep.s ia64_save_regs_in_stack.s |
66 |
|
|
67 |
libgccpp_la_SOURCES = gc_cpp.cc |
libgccpp_la_SOURCES = gc_cpp.cc |
68 |
libgccpp_la_LIBADD = $(THREADLIBS) $(UNWINDLIBS) |
libgccpp_la_LIBADD = $(THREADDLLIBS) $(UNWINDLIBS) |
69 |
libgccpp_la_LDFLAGS = -version-info 1:2:0 |
libgccpp_la_LDFLAGS = -version-info 1:2:0 |
70 |
|
|
71 |
EXTRA_DIST += alpha_mach_dep.S mips_sgi_mach_dep.s sparc_mach_dep.S |
EXTRA_DIST += alpha_mach_dep.S mips_sgi_mach_dep.s sparc_mach_dep.S |
85 |
$(COMPILE) -c $(srcdir)/tests/test.c |
$(COMPILE) -c $(srcdir)/tests/test.c |
86 |
# Using $< in the above seems to fail with the HP/UX on Itanium make. |
# Using $< in the above seems to fail with the HP/UX on Itanium make. |
87 |
test_cpp.o: $(srcdir)/tests/test_cpp.cc |
test_cpp.o: $(srcdir)/tests/test_cpp.cc |
88 |
$(COMPILE) -c $(srcdir)/tests/test_cpp.cc |
$(CXXCOMPILE) -c $(srcdir)/tests/test_cpp.cc |
89 |
|
|
90 |
## FIXME: this is probably the reason why some files from BUILT_SOURCES |
## FIXME: this is probably the reason why some files from BUILT_SOURCES |
91 |
## are included in the distribution |
## are included in the distribution |
92 |
# gctest_OBJECTS = test.o |
# gctest_OBJECTS = test.o |
93 |
gctest_SOURCES = tests/test.c |
gctest_SOURCES = tests/test.c |
94 |
gctest_LDADD = ./libgc.la $(THREADLIBS) $(UNWINDLIBS) $(EXTRA_TEST_LIBS) |
gctest_LDADD = ./libgc.la $(THREADDLLIBS) $(UNWINDLIBS) $(EXTRA_TEST_LIBS) |
95 |
test_cpp_SOURCES = tests/test_cpp.cc |
test_cpp_SOURCES = tests/test_cpp.cc |
96 |
test_cpp_LDADD = ./libgc.la ./libgccpp.la $(THREADLIBS) $(UNWINDLIBS) $(EXTRA_TEST_LIBS) |
test_cpp_LDADD = ./libgc.la ./libgccpp.la $(THREADDLLIBS) $(UNWINDLIBS) $(EXTRA_TEST_LIBS) |
97 |
|
|
98 |
TESTS = gctest $(extra_checks) |
TESTS = gctest $(extra_checks) |
99 |
|
|