/[emacs]/emacs/gc/Makefile.am
ViewVC logotype

Diff of /emacs/gc/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2.2.1 by fx, Thu Jun 5 18:23:03 2003 UTC revision 1.2.2.1.2.1 by fx, Mon Jun 16 15:19:52 2003 UTC
# Line 25  SUBDIRS = doc include Line 25  SUBDIRS = doc include
25  EXTRA_DIST =  EXTRA_DIST =
26      ## more items will be succesively added below      ## more items will be succesively added below
27    
28  lib_LTLIBRARIES = libgc.la  if CPLUSPLUS
29    extra = libgccpp.la
30    else
31    extra =
32    endif
33    lib_LTLIBRARIES = libgc.la $(extra)
34    
35  include_HEADERS = include/gc.h include/gc_local_alloc.h \  include_HEADERS = include/gc.h include/gc_local_alloc.h \
36  include/gc_pthread_redirects.h include/gc_config_macros.h \  include/gc_pthread_redirects.h include/gc_config_macros.h \
# Line 33  include/leak_detector.h include/gc_typed Line 38  include/leak_detector.h include/gc_typed
38    
39  EXTRA_HEADERS = include/gc_cpp.h include/gc_allocator.h  EXTRA_HEADERS = include/gc_cpp.h include/gc_allocator.h
40    
41    if POWERPC_DARWIN
42    asm_libgc_sources = powerpc_darwin_mach_dep.s
43    else
44    asm_libgc_sources =
45    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 irix_threads.c \  dyn_load.c finalize.c gc_dlopen.c gcj_mlc.c headers.c aix_irix_threads.c \
49  linux_threads.c 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 \
52  backgraph.c win32_threads.c  backgraph.c win32_threads.c \
53    pthread_support.c pthread_stop_world.c darwin_stop_world.c \
54    $(asm_libgc_sources)
55    
56  # Include THREADLIBS here to ensure that the correct versions of  # Include THREADLIBS here to ensure that the correct versions of
57  # linuxthread semaphore functions get linked:  # linuxthread semaphore functions get linked:
# Line 47  libgc_la_DEPENDENCIES = @addobjs@ Line 60  libgc_la_DEPENDENCIES = @addobjs@
60  libgc_la_LDFLAGS = -version-info 1:2:0  libgc_la_LDFLAGS = -version-info 1:2:0
61    
62  EXTRA_libgc_la_SOURCES = alpha_mach_dep.S \  EXTRA_libgc_la_SOURCES = alpha_mach_dep.S \
63      mips_sgi_mach_dep.S mips_ultrix_mach_dep.s powerpc_macosx_mach_dep.s \      mips_sgi_mach_dep.S mips_ultrix_mach_dep.s powerpc_darwin_mach_dep.s \
64      rs6000_mach_dep.s sparc_mach_dep.S sparc_netbsd_mach_dep.s \      rs6000_mach_dep.s sparc_mach_dep.S sparc_netbsd_mach_dep.s \
65      sparc_sunos4_mach_dep.s ia64_save_regs_in_stack.s gc_cpp.cc      sparc_sunos4_mach_dep.s ia64_save_regs_in_stack.s
66    
67    libgccpp_la_SOURCES = gc_cpp.cc
68    libgccpp_la_LIBADD = $(THREADLIBS)
69    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
72    
73  AM_CXXFLAGS = @GC_CFLAGS@  AM_CXXFLAGS = @GC_CFLAGS@
74  AM_CFLAGS = @GC_CFLAGS@  AM_CFLAGS = @GC_CFLAGS@
75    
76  check_PROGRAMS = gctest @addtests@  if CPLUSPLUS
77  EXTRA_PROGRAMS = test_cpp  extra_checks = test_cpp
78    else
79    extra_checks =
80    endif
81    
82    check_PROGRAMS = gctest $(extra_checks)
83    
84  test.o: $(srcdir)/tests/test.c  test.o: $(srcdir)/tests/test.c
85          $(COMPILE) -c $(srcdir)/tests/test.c          $(COMPILE) -c $(srcdir)/tests/test.c
# Line 71  test_cpp.o:    $(srcdir)/tests/test_cpp.cc Line 93  test_cpp.o:    $(srcdir)/tests/test_cpp.cc
93  gctest_SOURCES = tests/test.c  gctest_SOURCES = tests/test.c
94  gctest_LDADD = ./libgc.la $(THREADLIBS) $(EXTRA_TEST_LIBS)  gctest_LDADD = ./libgc.la $(THREADLIBS) $(EXTRA_TEST_LIBS)
95  test_cpp_SOURCES = tests/test_cpp.cc  test_cpp_SOURCES = tests/test_cpp.cc
96  test_cpp_LDADD = ./libgc.la $(THREADLIBS) $(EXTRA_TEST_LIBS)  test_cpp_LDADD = ./libgc.la ./libgccpp.la $(THREADLIBS) $(EXTRA_TEST_LIBS)
97  TESTS_ENVIRONMENT = LD_LIBRARY_PATH=../../gcc  
98  TESTS = gctest @addtests@  TESTS = gctest $(extra_checks)
99    
100  ## FIXME: relies on internal code generated by automake.  ## FIXME: relies on internal code generated by automake.
101  all_objs = @addobjs@ $(libgc_la_OBJECTS)  all_objs = @addobjs@ $(libgc_la_OBJECTS)

Legend:
Removed from v.1.2.2.1  
changed lines
  Added in v.1.2.2.1.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26