Commit 625fc99d by Richard Kenner

Changes to compile new files and name renaming.

From-SVN: r11440
parent 0ecef3cf
# GNU Objective C Runtime Makefile # GNU Objective C Runtime Makefile
# Copyright (C) 1993, 1995 Free Software Foundation, Inc. # Copyright (C) 1993, 1995, 1996 Free Software Foundation, Inc.
# #
# This file is part of GNU CC. # This file is part of GNU CC.
# #
...@@ -56,16 +56,16 @@ all: ...@@ -56,16 +56,16 @@ all:
cd ..; $(MAKE) sublibobjc.a cd ..; $(MAKE) sublibobjc.a
OBJC_O = hash.o sarray.o class.o sendmsg.o init.o archive.o encoding.o \ OBJC_O = hash.o sarray.o class.o sendmsg.o init.o archive.o encoding.o \
selector.o objects.o misc.o NXConstStr.o Object.o Protocol.o selector.o objects.o misc.o NXConstStr.o Object.o Protocol.o thread.o
libobjc.a: $(OBJC_O) libobjc.a: $(OBJC_O)
-rm -f libobjc.a -rm -f libobjc.a
$(AR) rc libobjc.a $? $(AR) rc libobjc.a $?
# ranlib is run in the parent directory's makefile. # ranlib is run in the parent directory's makefile.
OBJC_H = hash.h list.h sarray.h objc.h \ OBJC_H = hash.h objc-list.h sarray.h objc.h \
objc-api.h \ objc-api.h \
NXConstStr.h Object.h Protocol.h encoding.h typedstream.h NXConstStr.h Object.h Protocol.h encoding.h typedstream.h thread.h
# copy objc headers to installation include directory # copy objc headers to installation include directory
copy-headers: copy-headers:
...@@ -98,3 +98,5 @@ misc.o: misc.c ...@@ -98,3 +98,5 @@ misc.o: misc.c
NXConstStr.o: NXConstStr.m NXConstStr.o: NXConstStr.m
Object.o: Object.m Object.o: Object.m
Protocol.o: Protocol.m Protocol.o: Protocol.m
thread.o: thread.c thread-solaris.c thread-irix.c thread-win32.c thread-single.c
# GNU Objective C Runtime Makefile for compiling with djgpp # GNU Objective C Runtime Makefile for compiling with djgpp
# Copyright (C) 1993, 1994 Free Software Foundation, Inc. # Copyright (C) 1993, 1994, 1996 Free Software Foundation, Inc.
# #
# This file is part of GNU CC. # This file is part of GNU CC.
# #
...@@ -37,17 +37,17 @@ SUBDIR_INCLUDES = -I. -I.. -I../config ...@@ -37,17 +37,17 @@ SUBDIR_INCLUDES = -I. -I.. -I../config
-c $(GCC_CFLAGS) $(SUBDIR_INCLUDES) $< -c $(GCC_CFLAGS) $(SUBDIR_INCLUDES) $<
OBJC_O = hash.o sarray.o class.o sendmsg.o init.o archive.o \ OBJC_O = hash.o sarray.o class.o sendmsg.o init.o archive.o \
selector.o objects.o misc.o object.o protocol.o encoding.o selector.o objects.o misc.o object.o protocol.o encoding.o thread.o
libobjc.a: $(OBJC_O) libobjc.a: $(OBJC_O)
-rm -f libobjc.a -rm -f libobjc.a
ar rc libobjc.a $(OBJC_O) ar rc libobjc.a $(OBJC_O)
ranlib libobjc.a ranlib libobjc.a
OBJC_H = hash.h list.h sarray.h objc.h \ OBJC_H = hash.h objc-list.h sarray.h objc.h \
objc-api.h \ objc-api.h \
object.h protocol.h mutex.h \ object.h protocol.h mutex.h \
typedstream.h typedstream.h thread.h
mostlyclean: mostlyclean:
-rm -f *.o libobjc.a xforward fflags -rm -f *.o libobjc.a xforward fflags
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment