annotate libobjc/Makefile.in @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 # Makefile for GNU Objective C runtime library.
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
2 # Copyright (C) 1993-2020 Free Software Foundation, Inc.
111
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 #This file is part of GCC.
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 #GCC is free software; you can redistribute it and/or modify
kono
parents:
diff changeset
7 #it under the terms of the GNU General Public License as published by
kono
parents:
diff changeset
8 #the Free Software Foundation; either version 3, or (at your option)
kono
parents:
diff changeset
9 #any later version.
kono
parents:
diff changeset
10
kono
parents:
diff changeset
11 #GCC is distributed in the hope that it will be useful,
kono
parents:
diff changeset
12 #but WITHOUT ANY WARRANTY; without even the implied warranty of
kono
parents:
diff changeset
13 #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
kono
parents:
diff changeset
14 #GNU General Public License for more details.
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 #You should have received a copy of the GNU General Public License
kono
parents:
diff changeset
17 #along with GCC; see the file COPYING3. If not see
kono
parents:
diff changeset
18 #<http://www.gnu.org/licenses/>.
kono
parents:
diff changeset
19
kono
parents:
diff changeset
20 #This was cribbed from the libchill, libiberty and libstdc++
kono
parents:
diff changeset
21 #Makefile.in files. Some of this stuff may be unnecessary and
kono
parents:
diff changeset
22 #worthless.
kono
parents:
diff changeset
23
kono
parents:
diff changeset
24 SHELL = @SHELL@
kono
parents:
diff changeset
25 MAKEOVERRIDES=
kono
parents:
diff changeset
26
kono
parents:
diff changeset
27 #### Start of system configuration section. ####
kono
parents:
diff changeset
28
kono
parents:
diff changeset
29 srcdir = @glibcpp_srcdir@
kono
parents:
diff changeset
30 VPATH = @glibcpp_srcdir@
kono
parents:
diff changeset
31 prefix = @prefix@
kono
parents:
diff changeset
32 exec_prefix = @exec_prefix@
kono
parents:
diff changeset
33 target_noncanonical = @target_noncanonical@
kono
parents:
diff changeset
34 gcc_version := $(shell @get_gcc_base_ver@ $(srcdir)/../gcc/BASE-VER)
kono
parents:
diff changeset
35 host_subdir = @host_subdir@
kono
parents:
diff changeset
36 top_srcdir = @top_srcdir@
kono
parents:
diff changeset
37 multi_basedir = @multi_basedir@
kono
parents:
diff changeset
38 toolexecdir = @toolexecdir@
kono
parents:
diff changeset
39 # Toolexecdir is used only by toolexeclibdir
kono
parents:
diff changeset
40 toolexeclibdir = @toolexeclibdir@
kono
parents:
diff changeset
41
kono
parents:
diff changeset
42 includedirname = @includedirname@
kono
parents:
diff changeset
43 libsuffix = @libsuffix@
kono
parents:
diff changeset
44
kono
parents:
diff changeset
45 lt_host_flags = @lt_host_flags@
kono
parents:
diff changeset
46 extra_ldflags_libobjc = @extra_ldflags_libobjc@
kono
parents:
diff changeset
47
kono
parents:
diff changeset
48 top_builddir = .
kono
parents:
diff changeset
49
kono
parents:
diff changeset
50 libdir = $(exec_prefix)/lib
kono
parents:
diff changeset
51 libsubdir = $(libdir)/gcc/$(target_noncanonical)/$(gcc_version)
kono
parents:
diff changeset
52
kono
parents:
diff changeset
53 # Multilib support variables.
kono
parents:
diff changeset
54 MULTISRCTOP =
kono
parents:
diff changeset
55 MULTIBUILDTOP =
kono
parents:
diff changeset
56 MULTIDIRS =
kono
parents:
diff changeset
57 MULTISUBDIR =
kono
parents:
diff changeset
58 MULTIDO = true
kono
parents:
diff changeset
59 MULTICLEAN = true
kono
parents:
diff changeset
60
kono
parents:
diff changeset
61 # Not configured per top-level version, since that doesn't get passed
kono
parents:
diff changeset
62 # down at configure time, but overrridden by the top-level install
kono
parents:
diff changeset
63 # target.
kono
parents:
diff changeset
64 INSTALL = @INSTALL@
kono
parents:
diff changeset
65 INSTALL_PROGRAM = @INSTALL_PROGRAM@
kono
parents:
diff changeset
66 INSTALL_DATA = @INSTALL_DATA@
kono
parents:
diff changeset
67
kono
parents:
diff changeset
68 AR = @AR@
kono
parents:
diff changeset
69 AR_FLAGS = rc
kono
parents:
diff changeset
70
kono
parents:
diff changeset
71 RANLIB = @RANLIB@
kono
parents:
diff changeset
72
kono
parents:
diff changeset
73 CC = @CC@
kono
parents:
diff changeset
74 CFLAGS = @CFLAGS@
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
75 XCFLAGS = @XCFLAGS@
111
kono
parents:
diff changeset
76 WARN_CFLAGS = -W -Wall -Wwrite-strings -Wstrict-prototypes
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
77 ALL_CFLAGS = -I. -I$(srcdir) $(CPPFLAGS) $(DEFS) \
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
78 $(XCFLAGS) $(CFLAGS) $(WARN_CFLAGS) \
111
kono
parents:
diff changeset
79 -DIN_GCC -DIN_TARGET_LIBS -fno-strict-aliasing -fexceptions
kono
parents:
diff changeset
80
kono
parents:
diff changeset
81 # Libtool
kono
parents:
diff changeset
82 # The following strings describe the version of the obj-C library
kono
parents:
diff changeset
83 # begin compiled and compatibility issues.
kono
parents:
diff changeset
84 # Please refer to Libtool documentation about how to manage these
kono
parents:
diff changeset
85 # numbers.
kono
parents:
diff changeset
86 LIBOBJC_VERSION = @VERSION@
kono
parents:
diff changeset
87 LIBOBJC_GC_VERSION = @VERSION@
kono
parents:
diff changeset
88 LIBTOOL = @LIBTOOL@ $(LIBTOOLFLAGS)
kono
parents:
diff changeset
89 LIBTOOL_COMPILE = $(LIBTOOL) --mode=compile
kono
parents:
diff changeset
90 LIBTOOL_LINK = $(LIBTOOL) --mode=link
kono
parents:
diff changeset
91 LIBTOOL_INSTALL = $(LIBTOOL) --mode=install
kono
parents:
diff changeset
92 LIBTOOL_CLEAN = $(LIBTOOL) --mode=clean
kono
parents:
diff changeset
93 #LIBTOOL_UNINSTALL = $(LIBTOOL) --mode=uninstall
kono
parents:
diff changeset
94
kono
parents:
diff changeset
95 OBJC_GCFLAGS=@OBJC_GCFLAGS@
kono
parents:
diff changeset
96 OBJC_BOEHM_GC=@OBJC_BOEHM_GC@
kono
parents:
diff changeset
97 OBJC_BOEHM_GC_INCLUDES=@OBJC_BOEHM_GC_INCLUDES@
kono
parents:
diff changeset
98 OBJC_BOEHM_GC_LIBS=@OBJC_BOEHM_GC_LIBS@
kono
parents:
diff changeset
99
kono
parents:
diff changeset
100 INCLUDES = -I$(srcdir)/$(MULTISRCTOP)../gcc \
kono
parents:
diff changeset
101 -I$(srcdir)/$(MULTISRCTOP)../gcc/config \
kono
parents:
diff changeset
102 -I$(MULTIBUILDTOP)../../$(host_subdir)/gcc \
kono
parents:
diff changeset
103 -I$(srcdir)/$(MULTISRCTOP)../libgcc \
kono
parents:
diff changeset
104 -I$(MULTIBUILDTOP)../libgcc \
kono
parents:
diff changeset
105 -I$(srcdir)/$(MULTISRCTOP)../include \
kono
parents:
diff changeset
106 $(OBJC_BOEHM_GC_INCLUDES)
kono
parents:
diff changeset
107
kono
parents:
diff changeset
108 ##
kono
parents:
diff changeset
109 ## The list of header/source files
kono
parents:
diff changeset
110 ##
kono
parents:
diff changeset
111
kono
parents:
diff changeset
112 # User-visible header files, from the objc/ directory
kono
parents:
diff changeset
113 OBJC_H = \
kono
parents:
diff changeset
114 objc.h \
kono
parents:
diff changeset
115 objc-exception.h \
kono
parents:
diff changeset
116 objc-sync.h \
kono
parents:
diff changeset
117 \
kono
parents:
diff changeset
118 NXConstStr.h \
kono
parents:
diff changeset
119 Object.h \
kono
parents:
diff changeset
120 Protocol.h \
kono
parents:
diff changeset
121 message.h \
kono
parents:
diff changeset
122 objc-decls.h \
kono
parents:
diff changeset
123 runtime.h \
kono
parents:
diff changeset
124 thr.h
kono
parents:
diff changeset
125
kono
parents:
diff changeset
126 # Objective-C source files to compile
kono
parents:
diff changeset
127 OBJC_SOURCE_FILES = \
kono
parents:
diff changeset
128 NXConstStr.m \
kono
parents:
diff changeset
129 Object.m \
kono
parents:
diff changeset
130 Protocol.m \
kono
parents:
diff changeset
131 accessors.m \
kono
parents:
diff changeset
132 linking.m
kono
parents:
diff changeset
133
kono
parents:
diff changeset
134 # C source files to compile
kono
parents:
diff changeset
135 C_SOURCE_FILES = \
kono
parents:
diff changeset
136 class.c \
kono
parents:
diff changeset
137 encoding.c \
kono
parents:
diff changeset
138 error.c \
kono
parents:
diff changeset
139 gc.c \
kono
parents:
diff changeset
140 hash.c \
kono
parents:
diff changeset
141 init.c \
kono
parents:
diff changeset
142 ivars.c \
kono
parents:
diff changeset
143 memory.c \
kono
parents:
diff changeset
144 methods.c \
kono
parents:
diff changeset
145 nil_method.c \
kono
parents:
diff changeset
146 objc-foreach.c \
kono
parents:
diff changeset
147 objc-sync.c \
kono
parents:
diff changeset
148 objects.c \
kono
parents:
diff changeset
149 protocols.c \
kono
parents:
diff changeset
150 sarray.c \
kono
parents:
diff changeset
151 selector.c \
kono
parents:
diff changeset
152 sendmsg.c \
kono
parents:
diff changeset
153 thr.c \
kono
parents:
diff changeset
154 exception.c
kono
parents:
diff changeset
155
kono
parents:
diff changeset
156 # Object files to link (when the library is linked with no GC (Garbage Collection))
kono
parents:
diff changeset
157 OBJS = \
kono
parents:
diff changeset
158 $(patsubst %.m,%.lo,$(OBJC_SOURCE_FILES)) \
kono
parents:
diff changeset
159 $(patsubst %.c,%.lo,$(C_SOURCE_FILES))
kono
parents:
diff changeset
160
kono
parents:
diff changeset
161 # Object files to link (when the library is linked with GC (Garbage Collection))
kono
parents:
diff changeset
162 OBJS_GC = \
kono
parents:
diff changeset
163 $(patsubst %.m,%_gc.lo,$(OBJC_SOURCE_FILES)) \
kono
parents:
diff changeset
164 $(patsubst %.c,%_gc.lo,$(C_SOURCE_FILES))
kono
parents:
diff changeset
165
kono
parents:
diff changeset
166
kono
parents:
diff changeset
167 ##
kono
parents:
diff changeset
168 ## The rules to build
kono
parents:
diff changeset
169 ##
kono
parents:
diff changeset
170
kono
parents:
diff changeset
171 # Flags to pass to a recursive make.
kono
parents:
diff changeset
172 FLAGS_TO_PASS = \
kono
parents:
diff changeset
173 "AR=$(AR)" \
kono
parents:
diff changeset
174 "AR_FLAGS=$(AR_FLAGS)" \
kono
parents:
diff changeset
175 "CC=$(CC)" \
kono
parents:
diff changeset
176 "CFLAGS=$(CFLAGS)" \
kono
parents:
diff changeset
177 "DESTDIR=$(DESTDIR)" \
kono
parents:
diff changeset
178 "LIBCFLAGS=$(LIBCFLAGS)" \
kono
parents:
diff changeset
179 "EXTRA_OFILES=$(EXTRA_OFILES)" \
kono
parents:
diff changeset
180 "HDEFINES=$(HDEFINES)" \
kono
parents:
diff changeset
181 "INSTALL=$(INSTALL)" \
kono
parents:
diff changeset
182 "INSTALL_DATA=$(INSTALL_DATA)" \
kono
parents:
diff changeset
183 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
kono
parents:
diff changeset
184 "LDFLAGS=$(LDFLAGS)" \
kono
parents:
diff changeset
185 "LIBTOOL=$(LIBTOOL)" \
kono
parents:
diff changeset
186 "LOADLIBES=$(LOADLIBES)" \
kono
parents:
diff changeset
187 "PICFLAG=$(PICFLAG)" \
kono
parents:
diff changeset
188 "RANLIB=$(RANLIB)" \
kono
parents:
diff changeset
189 "SHELL=$(SHELL)" \
kono
parents:
diff changeset
190 "prefix=$(prefix)" \
kono
parents:
diff changeset
191 "exec_prefix=$(exec_prefix)" \
kono
parents:
diff changeset
192 "libdir=$(libdir)" \
kono
parents:
diff changeset
193 "libsubdir=$(libsubdir)" \
kono
parents:
diff changeset
194 "tooldir=$(tooldir)"
kono
parents:
diff changeset
195
kono
parents:
diff changeset
196 # The 'all' rule must be the first one so that it is executed if
kono
parents:
diff changeset
197 # nothing is specified on the command-line.
kono
parents:
diff changeset
198 all: libobjc$(libsuffix).la $(OBJC_BOEHM_GC)
kono
parents:
diff changeset
199 : $(MAKE) ; exec $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
kono
parents:
diff changeset
200
kono
parents:
diff changeset
201 .SUFFIXES:
kono
parents:
diff changeset
202 .SUFFIXES: .c .m .lo
kono
parents:
diff changeset
203
kono
parents:
diff changeset
204 %.lo: %.c
kono
parents:
diff changeset
205 $(LIBTOOL_COMPILE) $(CC) $< -c \
kono
parents:
diff changeset
206 $(ALL_CFLAGS) $(INCLUDES) \
kono
parents:
diff changeset
207 -o $@
kono
parents:
diff changeset
208
kono
parents:
diff changeset
209 %_gc.lo: %.c
kono
parents:
diff changeset
210 $(LIBTOOL_COMPILE) $(CC) $< -c \
kono
parents:
diff changeset
211 $(ALL_CFLAGS) $(INCLUDES) $(OBJC_GCFLAGS) \
kono
parents:
diff changeset
212 -o $@
kono
parents:
diff changeset
213
kono
parents:
diff changeset
214 %.lo: %.m
kono
parents:
diff changeset
215 $(LIBTOOL_COMPILE) $(CC) $< -c \
kono
parents:
diff changeset
216 $(ALL_CFLAGS) $(INCLUDES) -fgnu-runtime \
kono
parents:
diff changeset
217 -o $@
kono
parents:
diff changeset
218
kono
parents:
diff changeset
219 %_gc.lo: %.m
kono
parents:
diff changeset
220 $(LIBTOOL_COMPILE) $(CC) $< -c \
kono
parents:
diff changeset
221 $(ALL_CFLAGS) $(INCLUDES) $(OBJC_GCFLAGS) -fgnu-runtime \
kono
parents:
diff changeset
222 -o $@
kono
parents:
diff changeset
223
kono
parents:
diff changeset
224 # sendmsg has a special rule because it depends on runtime-info.h.
kono
parents:
diff changeset
225 runtime-info.h:
kono
parents:
diff changeset
226 echo "" > tmp-runtime.m
kono
parents:
diff changeset
227 echo "/* This file is automatically generated */" > $@
kono
parents:
diff changeset
228 $(CC) $(MULTIFLAGS) -print-objc-runtime-info -S tmp-runtime.m >> $@
kono
parents:
diff changeset
229 rm -f tmp-runtime.m tmp-runtime.s
kono
parents:
diff changeset
230
kono
parents:
diff changeset
231 sendmsg.lo: sendmsg.c runtime-info.h
kono
parents:
diff changeset
232 $(LIBTOOL_COMPILE) $(CC) $< -c \
kono
parents:
diff changeset
233 $(ALL_CFLAGS) $(INCLUDES) \
kono
parents:
diff changeset
234 -o $@
kono
parents:
diff changeset
235
kono
parents:
diff changeset
236 sendmsg_gc.lo: sendmsg.c runtime-info.h
kono
parents:
diff changeset
237 $(LIBTOOL_COMPILE) $(CC) $< -c \
kono
parents:
diff changeset
238 $(ALL_CFLAGS) $(INCLUDES) $(OBJC_GCFLAGS) \
kono
parents:
diff changeset
239 -o $@
kono
parents:
diff changeset
240
kono
parents:
diff changeset
241 # These files have separate rules because they require special
kono
parents:
diff changeset
242 # compiler flags.
kono
parents:
diff changeset
243
kono
parents:
diff changeset
244 exception.lo: exception.c
kono
parents:
diff changeset
245 $(LIBTOOL_COMPILE) $(CC) $< -c \
kono
parents:
diff changeset
246 $(ALL_CFLAGS) $(INCLUDES) -fexceptions \
kono
parents:
diff changeset
247 -o $@
kono
parents:
diff changeset
248
kono
parents:
diff changeset
249 exception_gc.lo: exception.c
kono
parents:
diff changeset
250 $(LIBTOOL_COMPILE) $(CC) $< -c \
kono
parents:
diff changeset
251 $(ALL_CFLAGS) $(INCLUDES) $(OBJC_GCFLAGS) -fexceptions \
kono
parents:
diff changeset
252 -o $@
kono
parents:
diff changeset
253
kono
parents:
diff changeset
254 doc: info dvi pdf html
kono
parents:
diff changeset
255
kono
parents:
diff changeset
256 # No install-html or install-pdf support
kono
parents:
diff changeset
257 .PHONY: install-html install-pdf install-info
kono
parents:
diff changeset
258 install-html:
kono
parents:
diff changeset
259 install-pdf:
kono
parents:
diff changeset
260 install-info:
kono
parents:
diff changeset
261
kono
parents:
diff changeset
262 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
kono
parents:
diff changeset
263
kono
parents:
diff changeset
264 libobjc$(libsuffix).la: $(OBJS)
kono
parents:
diff changeset
265 $(LIBTOOL_LINK) $(CC) -o $@ $(OBJS) \
kono
parents:
diff changeset
266 -Wc,-shared-libgcc -rpath $(toolexeclibdir) \
kono
parents:
diff changeset
267 -version-info $(LIBOBJC_VERSION) $(extra_ldflags_libobjc) \
kono
parents:
diff changeset
268 $(LTLDFLAGS)
kono
parents:
diff changeset
269
kono
parents:
diff changeset
270 libobjc_gc$(libsuffix).la: $(OBJS_GC)
kono
parents:
diff changeset
271 $(LIBTOOL_LINK) $(CC) -o $@ $(OBJS_GC) $(OBJC_BOEHM_GC_LIBS) \
kono
parents:
diff changeset
272 -Wc,-shared-libgcc -rpath $(toolexeclibdir) \
kono
parents:
diff changeset
273 -version-info $(LIBOBJC_GC_VERSION) $(extra_ldflags_libobjc) \
kono
parents:
diff changeset
274 $(LTLDFLAGS)
kono
parents:
diff changeset
275
kono
parents:
diff changeset
276 info:
kono
parents:
diff changeset
277 dvi:
kono
parents:
diff changeset
278 pdf:
kono
parents:
diff changeset
279 html:
kono
parents:
diff changeset
280
kono
parents:
diff changeset
281 Makefile: Makefile.in config.status
kono
parents:
diff changeset
282 $(SHELL) config.status
kono
parents:
diff changeset
283
kono
parents:
diff changeset
284 config.status: configure
kono
parents:
diff changeset
285 rm -f config.cache
kono
parents:
diff changeset
286 CONFIG_SITE=no-such-file CC='$(CC)' AR='$(AR)' CFLAGS='$(CFLAGS)' \
kono
parents:
diff changeset
287 CPPFLAGS='$(CPPFLAGS)' $(SHELL) config.status --recheck
kono
parents:
diff changeset
288
kono
parents:
diff changeset
289 AUTOCONF = autoconf
kono
parents:
diff changeset
290 ACLOCAL = aclocal
kono
parents:
diff changeset
291 ACLOCAL_AMFLAGS = -I ../config -I ..
kono
parents:
diff changeset
292 aclocal_deps = \
kono
parents:
diff changeset
293 $(srcdir)/../config/multi.m4 \
kono
parents:
diff changeset
294 $(srcdir)/../config/override.m4 \
kono
parents:
diff changeset
295 $(srcdir)/../config/proginstall.m4 \
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
296 $(srcdir)/../config/toolexeclibdir.m4 \
111
kono
parents:
diff changeset
297 $(srcdir)/../ltoptions.m4 \
kono
parents:
diff changeset
298 $(srcdir)/../ltsugar.m4 \
kono
parents:
diff changeset
299 $(srcdir)/../ltversion.m4 \
kono
parents:
diff changeset
300 $(srcdir)/../lt~obsolete.m4 \
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
301 $(srcdir)/../config/cet.m4 \
111
kono
parents:
diff changeset
302 $(srcdir)/acinclude.m4
kono
parents:
diff changeset
303
kono
parents:
diff changeset
304 $(srcdir)/configure: @MAINT@ configure.ac $(srcdir)/aclocal.m4
kono
parents:
diff changeset
305 rm -f config.cache
kono
parents:
diff changeset
306 cd $(srcdir) && $(AUTOCONF)
kono
parents:
diff changeset
307
kono
parents:
diff changeset
308 $(srcdir)/aclocal.m4: @MAINT@ $(aclocal_deps)
kono
parents:
diff changeset
309 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
kono
parents:
diff changeset
310
kono
parents:
diff changeset
311 install: install-libs install-headers
kono
parents:
diff changeset
312
kono
parents:
diff changeset
313 install-libs: installdirs
kono
parents:
diff changeset
314 $(SHELL) $(multi_basedir)/mkinstalldirs $(DESTDIR)$(toolexeclibdir)
kono
parents:
diff changeset
315 $(LIBTOOL_INSTALL) $(INSTALL) libobjc$(libsuffix).la $(DESTDIR)$(toolexeclibdir);
kono
parents:
diff changeset
316 if [ "$(OBJC_BOEHM_GC)" ]; then \
kono
parents:
diff changeset
317 $(LIBTOOL_INSTALL) $(INSTALL) libobjc_gc$(libsuffix).la \
kono
parents:
diff changeset
318 $(DESTDIR)$(toolexeclibdir);\
kono
parents:
diff changeset
319 fi
kono
parents:
diff changeset
320 $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO="$@"
kono
parents:
diff changeset
321 @-$(LIBTOOL) --mode=finish $(DESTDIR)$(toolexeclibdir)
kono
parents:
diff changeset
322
kono
parents:
diff changeset
323 # Copy Objective-C headers to installation include directory.
kono
parents:
diff changeset
324 install-headers:
kono
parents:
diff changeset
325 $(SHELL) $(multi_basedir)/mkinstalldirs $(DESTDIR)$(libsubdir)/$(includedirname)/objc
kono
parents:
diff changeset
326 for file in $(OBJC_H); do \
kono
parents:
diff changeset
327 realfile=$(srcdir)/objc/$${file}; \
kono
parents:
diff changeset
328 $(INSTALL_DATA) $${realfile} $(DESTDIR)$(libsubdir)/$(includedirname)/objc; \
kono
parents:
diff changeset
329 done
kono
parents:
diff changeset
330
kono
parents:
diff changeset
331 check uninstall install-strip dist installcheck installdirs:
kono
parents:
diff changeset
332
kono
parents:
diff changeset
333 mostlyclean:
kono
parents:
diff changeset
334 -$(LIBTOOL_CLEAN) rm -f libobjc$(libsuffix).la libobjc_gc$(libsuffix).la *.lo
kono
parents:
diff changeset
335 -rm -f runtime-info.h tmp-runtime.s *.o *.lo libobjc* xforward \
kono
parents:
diff changeset
336 fflags *.aux *.cp *.dvi *.pdf *.fn *.info *.ky *.log *.pg \
kono
parents:
diff changeset
337 *.toc *.tp *.vr *.html libobj.exp
kono
parents:
diff changeset
338 @$(MULTICLEAN) multi-clean DO=mostlyclean
kono
parents:
diff changeset
339
kono
parents:
diff changeset
340 clean: mostlyclean
kono
parents:
diff changeset
341 rm -f config.log
kono
parents:
diff changeset
342 @$(MULTICLEAN) multi-clean DO=clean
kono
parents:
diff changeset
343
kono
parents:
diff changeset
344 distclean: clean
kono
parents:
diff changeset
345 @$(MULTICLEAN) multi-clean DO=distclean
kono
parents:
diff changeset
346 rm -f config.cache config.status Makefile configure
kono
parents:
diff changeset
347
kono
parents:
diff changeset
348 maintainer-clean realclean: distclean
kono
parents:
diff changeset
349
kono
parents:
diff changeset
350 .PHONY: mostlyclean clean distclean maintainer-clean all check uninstall \
kono
parents:
diff changeset
351 install-strip dist installcheck installdirs
kono
parents:
diff changeset
352
kono
parents:
diff changeset
353 # Don't export variables to the environment, in order to not confuse
kono
parents:
diff changeset
354 # configure.
kono
parents:
diff changeset
355 .NOEXPORT: