~pac72/ubuntu/lucid/ddd/devel

« back to all changes in this revision

Viewing changes to libiberty/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Schepler
  • Date: 2004-07-22 03:49:37 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040722034937-cysl08t1jvba4jrx
Tags: 1:3.3.9-3
USERINFO has been renamed to USERINFO.txt; adjust debian/rules code
to match, to get correct information on the About DDD dialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
2
# Makefile
3
 
#   Copyright (C) 1990, 91 - 99, 2000
 
3
#   Copyright (C) 1990, 91-99, 2000, 2001, 2002, 2003, 2004
4
4
#   Free Software Foundation
5
5
#
6
6
# This file is part of the libiberty library.
26
26
# Makefile for libiberty directory
27
27
#
28
28
 
 
29
libiberty_topdir = @libiberty_topdir@
29
30
srcdir = @srcdir@
30
31
VPATH = @srcdir@
31
32
 
34
35
exec_prefix = @exec_prefix@
35
36
bindir = @bindir@
36
37
libdir = @libdir@
 
38
includedir = @includedir@
 
39
target_header_dir = @target_header_dir@
37
40
 
38
41
SHELL = @SHELL@
39
42
 
48
51
INSTALL = @INSTALL@
49
52
INSTALL_PROGRAM = @INSTALL_PROGRAM@
50
53
INSTALL_DATA = @INSTALL_DATA@
 
54
mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs
 
55
 
 
56
# Some compilers can't handle cc -c blah.c -o foo/blah.o.
 
57
OUTPUT_OPTION = @OUTPUT_OPTION@
51
58
 
52
59
AR = @AR@
53
60
AR_FLAGS = rc
56
63
CFLAGS = @CFLAGS@
57
64
LIBCFLAGS = $(CFLAGS)
58
65
RANLIB = @RANLIB@
 
66
MAKEINFO = @MAKEINFO@
 
67
PERL = @PERL@
59
68
 
60
69
PICFLAG =
61
70
 
62
71
MAKEOVERRIDES =
63
72
 
64
73
TARGETLIB = libiberty.a
 
74
TESTLIB = testlib.a
65
75
 
66
76
LIBOBJS = @LIBOBJS@
67
 
ALLOCA = @ALLOCA@
68
77
 
69
78
# A configuration can specify extra .o files that should be included,
70
79
# even if they are in libc. (Perhaps the libc version is buggy.)
76
85
        "AR_FLAGS=$(AR_FLAGS)" \
77
86
        "CC=$(CC)" \
78
87
        "CFLAGS=$(CFLAGS)" \
 
88
        "DESTDIR=$(DESTDIR)" \
79
89
        "LIBCFLAGS=$(LIBCFLAGS)" \
80
90
        "EXTRA_OFILES=$(EXTRA_OFILES)" \
81
91
        "HDEFINES=$(HDEFINES)" \
95
105
# Subdirectories to recurse into. We need to override this during cleaning
96
106
SUBDIRS = testsuite
97
107
 
 
108
# FIXME: add @BUILD_INFO@ once we're sure it works for everyone.
98
109
all: stamp-picdir $(TARGETLIB) needed-list required-list all-subdir
99
 
        @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
 
110
        @: $(MAKE) ; exec $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
100
111
 
101
112
.PHONY: check installcheck
102
113
check: check-subdir
108
119
 
109
120
COMPILE.c = $(CC) -c @DEFS@ $(LIBCFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
110
121
.c.o:
111
 
        test x"$(enable_shared)" != xyes || \
112
 
          $(COMPILE.c) $(PICFLAG) $< -o pic/$@
113
 
        $(COMPILE.c) $<
114
 
 
115
 
info: info-subdir
116
 
install-info: install-info-subdir
117
 
clean-info: clean-info-subdir
118
 
dvi: dvi-subdir
119
 
 
120
 
# Include files that are in this directory.
121
 
HFILES = alloca-conf.h
 
122
        if [ x"$(PICFLAG)" != x ]; then \
 
123
          $(COMPILE.c) $(PICFLAG) $< -o pic/$@; \
 
124
        else true; fi
 
125
        $(COMPILE.c) $< $(OUTPUT_OPTION)
122
126
 
123
127
# NOTE: If you add new files to the library, add them to this list
124
 
# (alphabetical), and add them to REQUIRED_OFILES or funcs in
125
 
# configure.in.
126
 
CFILES = asprintf.c alloca.c argv.c atexit.c basename.c bcmp.c bcopy.c        \
127
 
        bzero.c calloc.c choose-temp.c clock.c concat.c cplus-dem.c fdmatch.c \
128
 
        fnmatch.c getcwd.c getpwd.c getopt.c getopt1.c getpagesize.c          \
129
 
        getruntime.c floatformat.c hashtab.c hex.c index.c insque.c memchr.c  \
130
 
        memcmp.c memcpy.c memmove.c memset.c mkstemps.c objalloc.c obstack.c  \
131
 
        partition.c pexecute.c putenv.c random.c rename.c rindex.c            \
132
 
        setenv.c sigsetmask.c spaces.c splay-tree.c strcasecmp.c              \
133
 
        strncasecmp.c strchr.c strdup.c strerror.c strrchr.c                  \
134
 
        strsignal.c strstr.c strtod.c strtol.c strtoul.c tmpnam.c             \
135
 
        vasprintf.c vfork.c vfprintf.c vprintf.c vsprintf.c waitpid.c         \
 
128
# (alphabetical), and add them to REQUIRED_OFILES, or
 
129
# CONFIGURED_OFILES and funcs in configure.ac.
 
130
CFILES = alloca.c argv.c asprintf.c atexit.c                            \
 
131
        basename.c bcmp.c bcopy.c bsearch.c bzero.c                     \
 
132
        calloc.c choose-temp.c clock.c concat.c cp-demangle.c           \
 
133
        cp-demint.c cplus-dem.c                                         \
 
134
        dyn-string.c                                                    \
 
135
        fdmatch.c ffs.c fibheap.c floatformat.c fnmatch.c               \
 
136
        getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \
 
137
        hashtab.c hex.c                                                 \
 
138
        index.c insque.c                                                \
 
139
        lbasename.c                                                     \
 
140
        lrealpath.c                                                     \
 
141
        make-relative-prefix.c                                          \
 
142
        make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmove.c     \
 
143
         mempcpy.c memset.c mkstemps.c                                  \
 
144
        objalloc.c obstack.c                                            \
 
145
        partition.c                                                     \
 
146
         pex-djgpp.c pex-mpw.c pex-msdos.c pex-os2.c                    \
 
147
         pex-unix.c pex-win32.c                                         \
 
148
         physmem.c putenv.c                                             \
 
149
        random.c regex.c rename.c rindex.c                              \
 
150
        safe-ctype.c setenv.c sigsetmask.c snprintf.c sort.c spaces.c   \
 
151
         splay-tree.c stpcpy.c stpncpy.c strcasecmp.c strchr.c strdup.c \
 
152
         strerror.c strncasecmp.c strncmp.c strrchr.c strsignal.c       \
 
153
         strstr.c strtod.c strtol.c strtoul.c                           \
 
154
        ternary.c tmpnam.c                                              \
 
155
        vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \
 
156
        waitpid.c                                                       \
136
157
        xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c
137
158
 
138
 
# These are always included in the library.
139
 
REQUIRED_OFILES = argv.o choose-temp.o concat.o cplus-dem.o \
140
 
  fdmatch.o fnmatch.o getopt.o getopt1.o getpwd.o getruntime.o hashtab.o \
141
 
  hex.o floatformat.o objalloc.o obstack.o partition.o pexecute.o spaces.o \
142
 
  splay-tree.o strerror.o strsignal.o xatexit.o xexit.o xmalloc.o \
143
 
  xmemdup.o xstrdup.o xstrerror.o
144
 
 
145
 
$(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) $(ALLOCA)
146
 
        rm -f $(TARGETLIB)
 
159
# These are always included in the library.  The first four are listed
 
160
# first and by compile time to optimize parallel builds.
 
161
REQUIRED_OFILES = regex.o cplus-dem.o cp-demangle.o cp-demint.o md5.o   \
 
162
        alloca.o argv.o                                                 \
 
163
        choose-temp.o concat.o                                          \
 
164
        dyn-string.o                                                    \
 
165
        fdmatch.o fibheap.o floatformat.o fnmatch.o                     \
 
166
        getopt.o getopt1.o getpwd.o getruntime.o                        \
 
167
        hashtab.o hex.o                                                 \
 
168
        lbasename.o                                                     \
 
169
        lrealpath.o                                                     \
 
170
        make-relative-prefix.o                                          \
 
171
        make-temp-file.o                                                \
 
172
        objalloc.o obstack.o                                            \
 
173
        partition.o physmem.o @pexecute@                                                \
 
174
        safe-ctype.o sort.o spaces.o splay-tree.o strerror.o            \
 
175
         strsignal.o                                                    \
 
176
        ternary.o                                                       \
 
177
        xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o
 
178
 
 
179
# These are all the objects that configure may add to the library via
 
180
# $funcs or EXTRA_OFILES.  This list exists here only for "make
 
181
# maint-missing" and "make check".
 
182
CONFIGURED_OFILES = asprintf.o atexit.o                                 \
 
183
        basename.o bcmp.o bcopy.o bsearch.o bzero.o                     \
 
184
        calloc.o clock.o copysign.o                                     \
 
185
        _doprnt.o                                                       \
 
186
        ffs.o                                                           \
 
187
        getcwd.o getpagesize.o                                          \
 
188
        index.o insque.o                                                \
 
189
        memchr.o memcmp.o memcpy.o memmove.o mempcpy.o memset.o mkstemps.o \
 
190
        pex-djgpp.o pex-mpw.o pex-msdos.o pex-os2.o                     \
 
191
         pex-unix.o pex-win32.o                                         \
 
192
         putenv.o                                                       \
 
193
        random.o rename.o rindex.o                                      \
 
194
        setenv.o sigsetmask.o snprintf.o stpcpy.o stpncpy.o strcasecmp.o \
 
195
         strchr.o strdup.o strncasecmp.o strncmp.o strrchr.o strstr.o   \
 
196
         strtod.o strtol.o strtoul.o                                    \
 
197
        tmpnam.o                                                        \
 
198
        vasprintf.o vfork.o vfprintf.o vprintf.o vsnprintf.o vsprintf.o \
 
199
        waitpid.o
 
200
 
 
201
# These files are installed if the library has been configured to do so.
 
202
INSTALLED_HEADERS =                                                     \
 
203
        $(INCDIR)/ansidecl.h                                            \
 
204
        $(INCDIR)/demangle.h                                            \
 
205
        $(INCDIR)/dyn-string.h                                          \
 
206
        $(INCDIR)/fibheap.h                                             \
 
207
        $(INCDIR)/floatformat.h                                         \
 
208
        $(INCDIR)/hashtab.h                                             \
 
209
        $(INCDIR)/libiberty.h                                           \
 
210
        $(INCDIR)/objalloc.h                                            \
 
211
        $(INCDIR)/partition.h                                           \
 
212
        $(INCDIR)/safe-ctype.h                                          \
 
213
        $(INCDIR)/sort.h                                                \
 
214
        $(INCDIR)/splay-tree.h                                          \
 
215
        $(INCDIR)/ternary.h
 
216
 
 
217
$(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
 
218
        -rm -f $(TARGETLIB) pic/$(TARGETLIB)
147
219
        $(AR) $(AR_FLAGS) $(TARGETLIB) \
148
 
          $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) $(ALLOCA)
 
220
          $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
149
221
        $(RANLIB) $(TARGETLIB)
 
222
        if [ x"$(PICFLAG)" != x ]; then \
 
223
          cd pic; \
 
224
          $(AR) $(AR_FLAGS) $(TARGETLIB) \
 
225
            $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
 
226
          $(RANLIB) $(TARGETLIB); \
 
227
          cd ..; \
 
228
        else true; fi
 
229
 
 
230
$(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
 
231
        -rm -f $(TESTLIB)
 
232
        $(AR) $(AR_FLAGS) $(TESTLIB) \
 
233
          $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
 
234
        $(RANLIB) $(TESTLIB)
 
235
 
 
236
info: libiberty.info info-subdir
 
237
install-info: install-info-subdir
 
238
clean-info: clean-info-subdir
 
239
dvi: libiberty.dvi dvi-subdir
 
240
html: libiberty.html
 
241
 
 
242
TEXISRC = \
 
243
        $(srcdir)/libiberty.texi \
 
244
        $(srcdir)/copying-lib.texi \
 
245
        $(srcdir)/obstacks.texi \
 
246
        $(srcdir)/functions.texi
 
247
 
 
248
# Additional files that have texi snippets that need to be collected
 
249
# and sorted.  Some are here because the sources are imported from
 
250
# elsewhere.  Others represent headers in ../include.
 
251
TEXIFILES = fnmatch.txh pexecute.txh
 
252
 
 
253
libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
 
254
        $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
 
255
 
 
256
libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC)
 
257
        texi2dvi $(srcdir)/libiberty.texi
 
258
 
 
259
libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
 
260
        $(MAKEINFO) --html -I$(srcdir) $(srcdir)/libiberty.texi
 
261
 
 
262
@MAINT@$(srcdir)/functions.texi : stamp-functions
 
263
@MAINT@ @true
 
264
 
 
265
@MAINT@stamp-functions : $(CFILES) $(TEXIFILES) $(srcdir)/gather-docs Makefile
 
266
@MAINT@@HAVE_PERL@      $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES)
 
267
@MAINT@ echo stamp > stamp-functions
150
268
 
151
269
INSTALL_DEST = @INSTALL_DEST@
152
 
install: install_to_$(INSTALL_DEST) install-subdir
 
270
## DDD modification
 
271
##install: install_to_$(INSTALL_DEST) install-subdir
 
272
install:
153
273
 
154
274
install_to_libdir: all
155
 
        $(INSTALL_DATA) $(TARGETLIB) $(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
156
 
        ( cd $(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
157
 
        mv -f $(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(libdir)$(MULTISUBDIR)/$(TARGETLIB)
 
275
        ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
 
276
        $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
 
277
        ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
 
278
        mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)
 
279
        if test -n "${target_header_dir}"; then \
 
280
          case "${target_header_dir}" in \
 
281
            /*)    thd=${target_header_dir};; \
 
282
            *)     thd=${includedir}${MULTISUBDIR}/${target_header_dir};; \
 
283
          esac; \
 
284
          ${mkinstalldirs} $(DESTDIR)$${thd}; \
 
285
          for h in ${INSTALLED_HEADERS}; do \
 
286
            ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \
 
287
          done; \
 
288
        fi
158
289
        @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
159
290
 
 
291
# This is tricky.  Even though CC in the Makefile contains
 
292
# multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
 
293
# default multilib, so we have to take LIBCFLAGS into account as well,
 
294
# since it will be passed the multilib flags.
 
295
MULTIOSDIR = `$(CC) $(LIBCFLAGS) -print-multi-os-directory`
160
296
install_to_tooldir: all
161
 
        $(INSTALL_DATA) $(TARGETLIB) $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)n
162
 
        ( cd $(tooldir)/lib$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
163
 
        mv -f $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)n $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)
 
297
        ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
 
298
        $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
 
299
        ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; $(RANLIB) $(TARGETLIB)n )
 
300
        mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
164
301
        @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
165
302
 
166
303
# needed-list is used by libstdc++.  NEEDED is the list of functions
167
304
# to include there.  Do not add anything LGPL to this list; libstdc++
168
305
# can't use anything encumbering.
169
306
NEEDED = atexit calloc memchr memcmp memcpy memmove memset rename strchr \
170
 
         strerror strrchr strstr strtol strtoul tmpnam vfprintf vprintf \
 
307
         strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf \
171
308
         vfork waitpid bcmp bcopy bzero
172
309
needed-list: Makefile
173
310
        rm -f needed-list; touch needed-list; \
185
322
        echo $(REQUIRED_OFILES) > required-list
186
323
 
187
324
stamp-picdir:
188
 
        if [ x"$(enable_shared)" = xyes ] && [ ! -d pic ]; then \
 
325
        if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
189
326
          mkdir pic; \
190
327
        else true; fi
191
328
        touch stamp-picdir
194
331
 
195
332
etags tags: TAGS etags-subdir
196
333
 
197
 
TAGS: $(CFILES) $(HFILES)
198
 
        etags `for i in $(HFILES) $(CFILES); do echo $(srcdir)/$$i ; done`
 
334
TAGS: $(CFILES)
 
335
        etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
199
336
 
200
337
# The standalone demangler (c++filt) has been moved to binutils.
201
338
demangle:
204
341
        @false
205
342
 
206
343
ls:
207
 
        @echo Makefile $(HFILES) $(CFILES)
 
344
        @echo Makefile $(CFILES)
 
345
 
 
346
# Various targets for maintainers.
 
347
 
 
348
maint-missing :
 
349
        @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
 
350
 
 
351
maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
 
352
        @true
 
353
 
 
354
maint-undoc : $(srcdir)/functions.texi
 
355
        @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
 
356
 
 
357
maint-deps :
 
358
        @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
208
359
 
209
360
# Need to deal with profiled libraries, too.
210
361
 
211
362
# Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
212
363
# multiple times, hence our explicit recursion with an empty SUBDIRS.
213
364
mostlyclean: mostlyclean-subdir
214
 
        rm -rf *.o pic core errs \#* *.E a.out
215
 
        rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-*
216
 
        rm -f $(CONFIG_H) $(NEEDED_LIST) stamp-picdir
 
365
        -rm -rf *.o pic core errs \#* *.E a.out
 
366
        -rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-*
 
367
        -rm -f $(CONFIG_H) $(NEEDED_LIST) stamp-picdir
 
368
        -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
 
369
        -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
 
370
        -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
 
371
        -rm -f libtexi.stamp
217
372
        @$(MULTICLEAN) multi-clean DO=mostlyclean
218
373
clean: clean-subdir
219
374
        $(MAKE) SUBDIRS="" mostlyclean
220
 
        rm -f *.a required-list tmpmulti.out
 
375
        -rm -f *.a required-list tmpmulti.out
 
376
        -rm -f libiberty.dvi libiberty.info* libiberty.html
221
377
        @$(MULTICLEAN) multi-clean DO=clean
222
378
distclean: distclean-subdir
223
379
        $(MAKE) SUBDIRS="" clean
224
380
        @$(MULTICLEAN) multi-clean DO=distclean
225
 
        rm -f *~ Makefile config.status xhost-mkfrag TAGS multilib.out
226
 
        rm -f config.log
 
381
        -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
 
382
        -rm -f config.log
 
383
        -rmdir testsuite 2>/dev/null
227
384
maintainer-clean realclean: maintainer-clean-subdir
228
385
        $(MAKE) SUBDIRS="" distclean
229
386
 
232
389
Makefile: $(srcdir)/Makefile.in config.status
233
390
        CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
234
391
 
 
392
# Depending on Makefile makes sure that config.status has been re-run
 
393
# if needed.  This prevents problems with parallel builds.
235
394
config.h: stamp-h ; @true
236
 
stamp-h: config.in config.status
 
395
stamp-h: config.in config.status Makefile
237
396
        CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status
238
397
 
239
398
config.status: $(srcdir)/configure $(srcdir)/config.table
240
399
        $(SHELL) ./config.status --recheck
241
400
 
242
 
 
 
401
# Depending on config.h makes sure that config.status has been re-run
 
402
# if needed.  This prevents problems with parallel builds, in case
 
403
# subdirectories need to run config.status also.
243
404
all-subdir check-subdir installcheck-subdir info-subdir \
244
405
install-info-subdir clean-info-subdir dvi-subdir install-subdir \
245
406
etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
246
 
maintainer-clean-subdir:
247
 
        @target=`echo $@ | sed -e 's/-subdir//'`; \
248
 
        for dir in . $(SUBDIRS) ; do \
249
 
          test $$dir = . || (cd $$dir && $(MAKE) $$target) || exit 1; \
 
407
maintainer-clean-subdir: config.h
 
408
        @subdirs='$(SUBDIRS)'; \
 
409
        target=`echo $@ | sed -e 's/-subdir//'`; \
 
410
        for dir in $$subdirs ; do \
 
411
          cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
250
412
        done
251
413
 
252
 
$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) $(ALLOCA): stamp-picdir
253
 
 
254
 
alloca.o: config.h
 
414
$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir
 
415
$(CONFIGURED_OFILES): stamp-picdir
 
416
 
 
417
# The dependencies in the remainder of this file are automatically
 
418
# generated by "make maint-deps".  Manual edits will be lost.
 
419
 
 
420
_doprnt.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h
 
421
alloca.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
 
422
argv.o: $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
 
423
asprintf.o: $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
255
424
atexit.o: config.h
256
 
argv.o: config.h alloca-conf.h $(INCDIR)/libiberty.h
257
 
basename.o: $(INCDIR)/libiberty.h
258
 
choose-temp.o: config.h
 
425
basename.o: $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
 
426
        $(INCDIR)/safe-ctype.h
 
427
bsearch.o: config.h $(INCDIR)/ansidecl.h
 
428
calloc.o: $(INCDIR)/ansidecl.h
 
429
choose-temp.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
259
430
clock.o: config.h
260
 
concat.o: $(INCDIR)/libiberty.h
261
 
cplus-dem.o: config.h $(INCDIR)/demangle.h
262
 
fdmatch.o: $(INCDIR)/libiberty.h
263
 
fnmatch.o: config.h $(INCDIR)/fnmatch.h
 
431
concat.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
 
432
copysign.o: $(INCDIR)/ansidecl.h
 
433
cp-demangle.o: config.h $(INCDIR)/ansidecl.h $(srcdir)/cp-demangle.h \
 
434
        $(INCDIR)/demangle.h $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h \
 
435
        $(INCDIR)/libiberty.h
 
436
cp-demint.o: config.h $(INCDIR)/ansidecl.h $(srcdir)/cp-demangle.h \
 
437
        $(INCDIR)/demangle.h $(INCDIR)/libiberty.h
 
438
cplus-dem.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/demangle.h \
 
439
        $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
 
440
dyn-string.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/dyn-string.h \
 
441
        $(INCDIR)/libiberty.h
 
442
fdmatch.o: $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
 
443
fibheap.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/fibheap.h \
 
444
        $(INCDIR)/libiberty.h
 
445
floatformat.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/floatformat.h \
 
446
        $(INCDIR)/libiberty.h
 
447
fnmatch.o: config.h $(INCDIR)/fnmatch.h $(INCDIR)/safe-ctype.h
264
448
getcwd.o: config.h
265
449
getopt.o: config.h $(INCDIR)/getopt.h
266
450
getopt1.o: config.h $(INCDIR)/getopt.h
267
451
getpagesize.o: config.h
268
 
getpwd.o: config.h $(INCDIR)/libiberty.h
269
 
getruntime.o: config.h $(INCDIR)/libiberty.h
270
 
hex.o: $(INCDIR)/libiberty.h
271
 
floatformat.o: $(INCDIR)/floatformat.h
272
 
mkstemps.o: config.h
273
 
objalloc.o: $(INCDIR)/objalloc.h
 
452
getpwd.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
 
453
getruntime.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
 
454
hashtab.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/hashtab.h \
 
455
        $(INCDIR)/libiberty.h
 
456
hex.o: $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
 
457
        $(INCDIR)/safe-ctype.h
 
458
lbasename.o: $(INCDIR)/ansidecl.h $(INCDIR)/filenames.h \
 
459
        $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
 
460
lrealpath.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
 
461
make-relative-prefix.o: config.h $(INCDIR)/ansidecl.h \
 
462
        $(INCDIR)/libiberty.h
 
463
make-temp-file.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
 
464
md5.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
 
465
memchr.o: $(INCDIR)/ansidecl.h
 
466
memcmp.o: $(INCDIR)/ansidecl.h
 
467
memcpy.o: $(INCDIR)/ansidecl.h
 
468
memmove.o: $(INCDIR)/ansidecl.h
 
469
mempcpy.o: $(INCDIR)/ansidecl.h
 
470
memset.o: $(INCDIR)/ansidecl.h
 
471
mkstemps.o: config.h $(INCDIR)/ansidecl.h
 
472
objalloc.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/objalloc.h
274
473
obstack.o: config.h $(INCDIR)/obstack.h
275
 
partition.o: config.h $(INCDIR)/partition.h
276
 
pexecute.o: config.h $(INCDIR)/libiberty.h
277
 
setenv.o: config.h
278
 
spaces.o: $(INCDIR)/libiberty.h
279
 
splay-tree.o: config.h $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h $(INCDIR)/ansidecl.h
280
 
strerror.o: config.h $(INCDIR)/libiberty.h
281
 
strsignal.o: config.h $(INCDIR)/libiberty.h
282
 
xatexit.o: $(INCDIR)/libiberty.h
283
 
xexit.o: $(INCDIR)/libiberty.h
284
 
xmalloc.o: $(INCDIR)/libiberty.h
285
 
xmemdup.o: config.h $(INCDIR)/libiberty.h
286
 
xstrdup.o: config.h $(INCDIR)/libiberty.h
287
 
xstrerror.o: config.h $(INCDIR)/libiberty.h
288
 
hashtab.o: config.h $(INCDIR)/libiberty.h $(INCDIR)/hashtab.h $(INCDIR)/ansidecl.h
 
474
partition.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
 
475
        $(INCDIR)/partition.h
 
476
pex-djgpp.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
 
477
        $(srcdir)/pex-common.h
 
478
pex-mpw.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
 
479
        $(srcdir)/pex-common.h
 
480
pex-msdos.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
 
481
        $(srcdir)/pex-common.h $(INCDIR)/safe-ctype.h
 
482
pex-os2.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
 
483
        $(srcdir)/pex-common.h
 
484
pex-unix.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
 
485
        $(srcdir)/pex-common.h
 
486
pex-win32.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
 
487
        $(srcdir)/pex-common.h
 
488
physmem.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
 
489
putenv.o: config.h $(INCDIR)/ansidecl.h
 
490
random.o: $(INCDIR)/ansidecl.h
 
491
regex.o: config.h $(INCDIR)/xregex.h $(INCDIR)/xregex2.h
 
492
rename.o: config.h $(INCDIR)/ansidecl.h
 
493
safe-ctype.o: $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h
 
494
setenv.o: config.h $(INCDIR)/ansidecl.h
 
495
sigsetmask.o: $(INCDIR)/ansidecl.h
 
496
snprintf.o: $(INCDIR)/ansidecl.h
 
497
sort.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
 
498
        $(INCDIR)/sort.h
 
499
spaces.o: $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
 
500
splay-tree.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
 
501
        $(INCDIR)/splay-tree.h
 
502
stpcpy.o: $(INCDIR)/ansidecl.h
 
503
stpncpy.o: $(INCDIR)/ansidecl.h
 
504
strcasecmp.o: $(INCDIR)/ansidecl.h
 
505
strchr.o: $(INCDIR)/ansidecl.h
 
506
strdup.o: $(INCDIR)/ansidecl.h
 
507
strerror.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
 
508
strncasecmp.o: $(INCDIR)/ansidecl.h
 
509
strncmp.o: $(INCDIR)/ansidecl.h
 
510
strrchr.o: $(INCDIR)/ansidecl.h
 
511
strsignal.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
 
512
strtod.o: $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h
 
513
strtol.o: config.h $(INCDIR)/safe-ctype.h
 
514
strtoul.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h
 
515
ternary.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
 
516
        $(INCDIR)/ternary.h
 
517
vasprintf.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
 
518
vfork.o: $(INCDIR)/ansidecl.h
 
519
vfprintf.o: $(INCDIR)/ansidecl.h
 
520
vprintf.o: $(INCDIR)/ansidecl.h
 
521
vsnprintf.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
 
522
vsprintf.o: $(INCDIR)/ansidecl.h
 
523
waitpid.o: config.h
 
524
xatexit.o: $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
 
525
xexit.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
 
526
xmalloc.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
 
527
xmemdup.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
 
528
xstrdup.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
 
529
xstrerror.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h