Annotation of OpenXM_contrib2/asir2000/gc/Makefile.am, Revision 1.1
1.1 ! noro 1: # Copyright (c) 1999-2001 by Red Hat, Inc. All rights reserved.
! 2: #
! 3: # THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
! 4: # OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
! 5: #
! 6: # Permission is hereby granted to use or copy this program
! 7: # for any purpose, provided the above notices are retained on all copies.
! 8: # Permission to modify the code and to distribute modified code is granted,
! 9: # provided the above notices are retained, and a notice that the code was
! 10: # modified is included with the above copyright notice.
! 11: #
! 12: # Original author: Tom Tromey
! 13: # Severely truncated by Hans-J. Boehm
! 14:
! 15: ## Process this file with automake to produce Makefile.in.
! 16:
! 17: ## FIXME: `make dist' in this directory will not currently work. Many
! 18: ## files that should be in the distribution are not mentioned in this
! 19: ## Makefile.am.
! 20:
! 21: AUTOMAKE_OPTIONS = foreign
! 22:
! 23: lib_LTLIBRARIES = libgc.la
! 24:
! 25: libgc_la_SOURCES = allchblk.c alloc.c blacklst.c checksums.c dbg_mlc.c \
! 26: dyn_load.c finalize.c gc_dlopen.c gcj_mlc.c headers.c irix_threads.c \
! 27: linux_threads.c malloc.c mallocx.c mark.c mark_rts.c misc.c new_hblk.c \
! 28: obj_map.c os_dep.c pcr_interface.c ptr_chck.c real_malloc.c reclaim.c \
! 29: solaris_pthreads.c solaris_threads.c specific.c stubborn.c typd_mlc.c \
! 30: backgraph.c win32_threads.c
! 31:
! 32: # Include THREADLIBS here to ensure that the correct versions of
! 33: # linuxthread semaphore functions get linked:
! 34: libgc_la_LIBADD = @addobjs@ $(THREADLIBS)
! 35: libgc_la_DEPENDENCIES = @addobjs@
! 36: libgc_la_LDFLAGS = -version-info 1:1:0
! 37:
! 38: EXTRA_libgc_la_SOURCES = alpha_mach_dep.s \
! 39: mips_sgi_mach_dep.S mips_ultrix_mach_dep.s powerpc_macosx_mach_dep.s \
! 40: rs6000_mach_dep.s sparc_mach_dep.S sparc_netbsd_mach_dep.s \
! 41: sparc_sunos4_mach_dep.s ia64_save_regs_in_stack.s
! 42:
! 43: AM_CXXFLAGS = @GC_CFLAGS@
! 44: AM_CFLAGS = @GC_CFLAGS@
! 45:
! 46: check_PROGRAMS = gctest
! 47: # The following hack produces a warning from automake, but we need it in order
! 48: # to build a file from a subdirectory. FIXME.
! 49: test.o: $(srcdir)/tests/test.c
! 50: $(COMPILE) -c $(srcdir)/tests/test.c
! 51: # Using $< in the above seems to fail with the HP/UX on Itanium make.
! 52:
! 53: # gctest_OBJECTS = test.o
! 54: gctest_SOURCES =
! 55: gctest_LDADD = test.o ./libgc.la $(THREADLIBS) $(EXTRA_TEST_LIBS)
! 56: TESTS_ENVIRONMENT = LD_LIBRARY_PATH=../../$(MULTIBUILDTOP)gcc
! 57: TESTS = gctest
! 58:
! 59: ## FIXME: relies on internal code generated by automake.
! 60: all_objs = @addobjs@ $(libgc_la_OBJECTS)
! 61: $(all_objs) : include/private/gcconfig.h include/private/gc_priv.h \
! 62: include/private/gc_hdrs.h include/gc.h include/gc_gcj.h include/gc_mark.h
! 63:
! 64: ## FIXME: we shouldn't have to do this, but automake forces us to.
! 65: .s.lo:
! 66: ## We use -Wp,-P to strip #line directives. Irix `as' chokes on
! 67: ## these.
! 68: $(LTCOMPILE) -Wp,-P -x assembler-with-cpp -c $<
! 69:
! 70: ## We have our own definition of LTCOMPILE because we want to use our
! 71: ## CFLAGS, not those passed in from the top level make.
! 72: LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) \
! 73: $(AM_CPPFLAGS) $(CPPFLAGS) \
! 74: $(AM_CFLAGS) $(MY_CFLAGS) $(GC_CFLAGS)
! 75: LINK = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(MY_CFLAGS) $(LDFLAGS) -o $@
! 76:
! 77: # Work around what appears to be a GNU make bug handling MAKEFLAGS
! 78: # values defined in terms of make variables, as is the case for CC and
! 79: # friends when we are called from the top level Makefile.
! 80: AM_MAKEFLAGS = \
! 81: "AR_FLAGS=$(AR_FLAGS)" \
! 82: "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
! 83: "CFLAGS=$(CFLAGS)" \
! 84: "CXXFLAGS=$(CXXFLAGS)" \
! 85: "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
! 86: "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
! 87: "INSTALL=$(INSTALL)" \
! 88: "INSTALL_DATA=$(INSTALL_DATA)" \
! 89: "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
! 90: "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
! 91: "LDFLAGS=$(LDFLAGS)" \
! 92: "LIBCFLAGS=$(LIBCFLAGS)" \
! 93: "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
! 94: "MAKE=$(MAKE)" \
! 95: "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
! 96: "PICFLAG=$(PICFLAG)" \
! 97: "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
! 98: "SHELL=$(SHELL)" \
! 99: "EXPECT=$(EXPECT)" \
! 100: "RUNTEST=$(RUNTEST)" \
! 101: "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
! 102: "exec_prefix=$(exec_prefix)" \
! 103: "infodir=$(infodir)" \
! 104: "libdir=$(libdir)" \
! 105: "prefix=$(prefix)" \
! 106: "tooldir=$(tooldir)" \
! 107: "AR=$(AR)" \
! 108: "AS=$(AS)" \
! 109: "CC=$(CC)" \
! 110: "CXX=$(CXX)" \
! 111: "LD=$(LD)" \
! 112: "LIBCFLAGS=$(LIBCFLAGS)" \
! 113: "NM=$(NM)" \
! 114: "PICFLAG=$(PICFLAG)" \
! 115: "RANLIB=$(RANLIB)" \
! 116: "DESTDIR=$(DESTDIR)"
! 117:
! 118: CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host
! 119:
! 120: MAKEOVERRIDES=
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>