1 # GNU Objective C Runtime Makefile for compiling with djgpp
2 # Copyright (C) 1993, 1994, 1996, 2009 Free Software Foundation, Inc.
4 # This file is part of GCC.
6 # GCC is free software; you can redistribute it and/or modify it under the
7 # terms of the GNU General Public License as published by the Free Software
8 # Foundation; either version 3, or (at your option) any later version.
10 # GCC is distributed in the hope that it will be useful, but WITHOUT ANY
11 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
15 # You should have received a copy of the GNU General Public License
16 # along with GCC; see the file COPYING3. If not see
17 # <http://www.gnu.org/licenses/>.
19 # This Makefile is configured for GnuMAKE
27 # Always search these dirs when compiling.
28 SUBDIR_INCLUDES = -I. -I.. -I../config
31 $(GCC_FOR_TARGET) $(OPTIMIZE) \
32 -c $(GCC_CFLAGS) $(SUBDIR_INCLUDES) $<
35 $(GCC_FOR_TARGET) $(OPTIMIZE) -fgnu-runtime \
36 -c $(GCC_CFLAGS) $(SUBDIR_INCLUDES) $<
38 OBJC_O = hash.o sarray.o class.o sendmsg.o init.o archive.o \
39 selector.o objects.o misc.o object.o protocol.o encoding.o thread.o
43 ar rc libobjc.a $(OBJC_O)
46 OBJC_H = hash.h objc-list.h sarray.h objc.h \
48 object.h protocol.h mutex.h \
49 typedstream.h thread.h
52 -rm -f *.o libobjc.a xforward fflags
54 distclean: mostlyclean
55 extraclean: mostlyclean