X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=libobjc%2FMakefile.in;h=340dd9f521985ba763e9f93aa974e56613c8bc0c;hb=5f395de6f29a114f721aa6489a5bb65f29e3e187;hp=4dd1f9d3f5e53caacc2dbce0647809738f1dd525;hpb=7f0dae42e1e3b6b5d12f340842eb8477ced6887f;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libobjc/Makefile.in b/libobjc/Makefile.in index 4dd1f9d3f5e..340dd9f5219 100644 --- a/libobjc/Makefile.in +++ b/libobjc/Makefile.in @@ -1,6 +1,6 @@ # Makefile for GNU Objective C runtime library. -# Copyright 1993, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004 -# Free Software Foundation, Inc. +# Copyright 1993, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, +# 2005, 2006 Free Software Foundation, Inc. #This file is part of GCC. @@ -16,8 +16,8 @@ #You should have received a copy of the GNU General Public License #along with GCC; see the file COPYING. If not, write to -#the Free Software Foundation, 59 Temple Place - Suite 330, -#Boston, MA 02111-1307, USA. */ +#the Free Software Foundation, 51 Franklin Street, Fifth Floor, +#Boston, MA 02110-1301, USA. */ #This was cribbed from the libchill, libiberty and libstdc++ #Makefile.in files. Some of this stuff may be unnecessary and @@ -44,6 +44,8 @@ toolexeclibdir = @toolexeclibdir@ includedirname = @includedirname@ libext = @libext@ +extra_ldflags_libobjc = @extra_ldflags_libobjc@ + top_builddir = . libdir = $(exec_prefix)/lib @@ -89,14 +91,17 @@ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install LIBTOOL_CLEAN = $(LIBTOOL) --mode=clean #LIBTOOL_UNINSTALL = $(LIBTOOL) --mode=uninstall +OBJC_GCFLAGS=-DOBJC_WITH_GC=1 +OBJC_THREAD_FILE=thr-objc +OBJC_BOEHM_GC=@OBJC_BOEHM_GC@ +OBJC_BOEHM_GC_INCLUDES=@OBJC_BOEHM_GC_INCLUDES@ + INCLUDES = -I$(srcdir)/objc -I$(srcdir)/$(MULTISRCTOP)../gcc \ -I$(srcdir)/$(MULTISRCTOP)../gcc/config \ -I$(MULTIBUILDTOP)../../$(host_subdir)/gcc \ - -I$(srcdir)/$(MULTISRCTOP)../include + -I$(srcdir)/$(MULTISRCTOP)../include \ + $(OBJC_BOEHM_GC_INCLUDES) -OBJC_GCFLAGS=-DOBJC_WITH_GC=1 -OBJC_THREAD_FILE=thr-objc -OBJC_BOEHM_GC=@OBJC_BOEHM_GC@ .SUFFIXES: .SUFFIXES: .c .m .lo @@ -146,13 +151,13 @@ OBJC_H = hash.h objc-list.h sarray.h objc.h objc-api.h \ OBJS = archive.lo class.lo encoding.lo gc.lo hash.lo init.lo linking.lo \ misc.lo nil_method.lo NXConstStr.lo Object.lo objects.lo \ Protocol.lo sarray.lo selector.lo sendmsg.lo thr.lo \ - $(OBJC_THREAD_FILE).lo exception.lo hash_compat.lo + $(OBJC_THREAD_FILE).lo exception.lo OBJS_GC = archive_gc.lo class_gc.lo encoding_gc.lo gc_gc.lo hash_gc.lo \ init_gc.lo linking_gc.lo misc_gc.lo nil_method_gc.lo \ NXConstStr_gc.lo Object_gc.lo objects_gc.lo Protocol_gc.lo \ sarray_gc.lo selector_gc.lo sendmsg_gc.lo thr_gc.lo \ - $(OBJC_THREAD_FILE)_gc.lo exception_gc.lo hash_compat_gc.lo + $(OBJC_THREAD_FILE)_gc.lo exception_gc.lo runtime-info.h: echo "" > tmp-runtime.m @@ -183,10 +188,6 @@ hash_gc.lo: hash.c $(LIBTOOL_COMPILE) $(CC) -c -o $@ $(ALL_CFLAGS) $(OBJC_GCFLAGS) \ $(INCLUDES) $< -hash_compat_gc.lo: hash_compat.c - $(LIBTOOL_COMPILE) $(CC) -c -o $@ $(ALL_CFLAGS) $(OBJC_GCFLAGS) \ - $(INCLUDES) $< - init_gc.lo: init.c $(LIBTOOL_COMPILE) $(CC) -c -o $@ $(ALL_CFLAGS) $(OBJC_GCFLAGS) \ $(INCLUDES) $< @@ -268,15 +269,19 @@ exception_gc.lo: exception.c doc: info dvi html +# No install-html support +.PHONY: install-html +install-html: + libobjc$(libext).la: $(OBJS) $(LIBTOOL_LINK) $(CC) -o $@ $(OBJS) \ -rpath $(toolexeclibdir) \ - -version-info $(LIBOBJC_VERSION) + -version-info $(LIBOBJC_VERSION) $(extra_ldflags_libobjc) libobjc_gc$(libext).la: $(OBJS_GC) $(LIBTOOL_LINK) $(CC) -o $@ $(OBJS_GC) \ -rpath $(toolexeclibdir) \ - -version-info $(LIBOBJC_GC_VERSION) + -version-info $(LIBOBJC_GC_VERSION) $(extra_ldflags_libobjc) # # FIXME -- The following part does not fit in the libtool context.