* som.c (som_prep_headers): Do not set the system_id here, private
[binutils-gdb.git] / Makefile.in
1 #
2 # Makefile for directory with subdirs to build.
3 # Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation
4 #
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
18 #
19
20 srcdir = .
21
22 prefix = /usr/local
23
24 exec_prefix = $(prefix)
25 bindir = $(exec_prefix)/bin
26 libdir = $(exec_prefix)/lib
27 tooldir = $(exec_prefix)/$(target)
28
29 program_transform_name =
30
31 datadir = $(prefix)/lib
32 mandir = $(prefix)/man
33 man1dir = $(mandir)/man1
34 man2dir = $(mandir)/man2
35 man3dir = $(mandir)/man3
36 man4dir = $(mandir)/man4
37 man5dir = $(mandir)/man5
38 man6dir = $(mandir)/man6
39 man7dir = $(mandir)/man7
40 man8dir = $(mandir)/man8
41 man9dir = $(mandir)/man9
42 infodir = $(prefix)/info
43 includedir = $(prefix)/include
44 docdir = $(datadir)/doc
45
46 SHELL = /bin/sh
47
48 INSTALL = $${srcroot}/install.sh -c
49 INSTALL_PROGRAM = $(INSTALL)
50 INSTALL_DATA = $(INSTALL) -m 644
51 INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
52
53 INSTALL_DOSREL = install-dosrel-fake
54
55 AS = as
56 AR = ar
57 AR_FLAGS = rc
58 CC = cc
59
60 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
61 # here so that they can be overridden by Makefile fragments.
62 HOST_CC = $(CC_FOR_BUILD)
63 HOST_PREFIX =
64 HOST_PREFIX_1 = loser-
65
66 # We don't specify -g -O because many compilers don't support -g -O,
67 # and/or -O is broken in and of itself.
68 CFLAGS = -g
69
70 # start-sanitize-chill
71 CHILLFLAGS = $(CFLAGS)
72 CHILL_LIB = -lchill
73 # end-sanitize-chill
74 CXX = gcc
75
76 # Use -O to stress test the compiler.
77 CXXFLAGS = -g -O -fexternal-templates
78
79 RANLIB = ranlib
80 NM = nm
81 # Not plain GZIP, since gzip looks there for extra command-line options.
82 GZIPPROG = gzip
83
84 # BISON: This line sed'ed to BISON = bison -y for FSF releases, don't remove.
85 BISON = `if [ -f $$r/byacc/byacc ] ; \
86 then echo $$r/byacc/byacc ; \
87 else echo byacc ; \
88 fi`
89
90 LEX = `if [ -f $$r/flex/flex ] ; \
91 then echo $$r/flex/flex ; \
92 else echo flex ; fi`
93
94 M4 = `if [ -f $$r/m4/m4 ] ; \
95 then echo $$r/m4/m4 ; \
96 else echo m4 ; fi`
97
98 MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
99 then echo $$r/texinfo/makeinfo/makeinfo ; \
100 else echo makeinfo ; fi`
101
102 # This just becomes part of the MAKEINFO definition passed down to
103 # sub-makes. It lets flags be given on the command line while still
104 # using the makeinfo from the object tree.
105 MAKEINFOFLAGS =
106
107 EXPECT = `if [ -f $$r/expect/expect ] ; \
108 then echo $$r/expect/expect ; \
109 else echo expect ; fi`
110
111 RUNTEST = `if [ -f $${srcroot}/dejagnu/runtest ] ; \
112 then echo $${srcroot}/dejagnu/runtest ; \
113 else echo runtest ; fi`
114
115
116 # libraries that may need to be augmented on a system-by-system basis
117 X11_LIB = -lX11
118
119 # compilers to use to create programs which must be run in the build
120 # environment.
121 CC_FOR_BUILD = $(CC)
122 CXX_FOR_BUILD = $(CXX)
123
124 SUBDIRS = "this is set via configure, don't edit this"
125 OTHERS =
126
127 ALL = all.normal
128 INSTALL_TARGET = install-dirs \
129 $(INSTALL_MODULES) \
130 $(INSTALL_TARGET_MODULES) \
131 $(INSTALL_X11_MODULES) \
132 install-gcc \
133 $(INSTALL_DOSREL)
134
135
136 CC_FOR_TARGET = ` \
137 if [ -f $$r/gcc/Makefile ] ; then \
138 if [ -f $$r/newlib/Makefile ] ; then \
139 echo $$r/gcc/xgcc -B$$r/gcc/ -idirafter $$r/newlib/targ-include -idirafter $${srcroot}/newlib/libc/include -nostdinc; \
140 else \
141 echo $$r/gcc/xgcc -B$$r/gcc/; \
142 fi; \
143 else \
144 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
145 echo $(CC); \
146 else \
147 t='$(program_transform_name)'; echo gcc | sed -e 's/brokensed/brokensed/' $$t; \
148 fi; \
149 fi`
150
151 # start-sanitize-chill
152 CHILL_FOR_TARGET = ` \
153 if [ -f $$r/gcc/Makefile ] ; then \
154 echo $$r/gcc/xgcc -B$$r/gcc/ -L$$r/chillrt/; \
155 else \
156 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
157 echo $(CC); \
158 else \
159 t='$(program_transform_name)'; echo gcc | sed -e 's/brokensed/brokensed/' $$t; \
160 fi; \
161 fi`
162
163 # end-sanitize-chill
164
165 CXX_FOR_TARGET = ` \
166 if [ -f $$r/gcc/Makefile ] ; then \
167 if [ -f $$r/newlib/Makefile ] ; then \
168 echo $$r/gcc/xgcc -B$$r/gcc/ -idirafter $$r/newlib/targ-include -idirafter $${srcroot}/newlib/libc/include -nostdinc; \
169 else \
170 echo $$r/gcc/xgcc -B$$r/gcc/; \
171 fi; \
172 else \
173 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
174 echo $(CXX); \
175 else \
176 t='$(program_transform_name)'; echo gcc | sed -e 's/brokensed/brokensed/' $$t; \
177 fi; \
178 fi`
179
180 AS_FOR_TARGET = ` \
181 if [ -f $$r/gas/Makefile ] ; then \
182 echo $$r/gas/as.new ; \
183 else \
184 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
185 echo $(AS); \
186 else \
187 t='$(program_transform_name)'; echo as | sed -e 's/brokensed/brokensed/' $$t ; \
188 fi; \
189 fi`
190
191 AR_FOR_TARGET = ` \
192 if [ -f $$r/binutils/ar ] ; then \
193 echo $$r/binutils/ar ; \
194 else \
195 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
196 echo $(AR); \
197 else \
198 t='$(program_transform_name)'; echo ar | sed -e 's/brokensed/brokensed/' $$t ; \
199 fi; \
200 fi`
201
202 RANLIB_FOR_TARGET = ` \
203 if [ -f $$r/binutils/ranlib ] ; then \
204 echo $$r/binutils/ranlib ; \
205 else \
206 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
207 echo $(RANLIB); \
208 else \
209 t='$(program_transform_name)'; echo ranlib | sed -e 's/brokensed/brokensed/' $$t ; \
210 fi; \
211 fi`
212
213 NM_FOR_TARGET = ` \
214 if [ -f $$r/binutils/Makefile ] ; then \
215 echo $$r/binutils/nm.new ; \
216 else \
217 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
218 echo $(NM); \
219 else \
220 t='$(program_transform_name)'; echo nm | sed -e 's/brokensed/brokensed/' $$t ; \
221 fi; \
222 fi`
223
224
225 #### host and target specific makefile fragments come in here.
226 ###
227
228 # Flags to pass down to all sub-makes.
229 # Please keep these in alphabetical order.
230 BASE_FLAGS_TO_PASS = \
231 "AR_FLAGS=$(AR_FLAGS)" \
232 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
233 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
234 "BISON=$(BISON)" \
235 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
236 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
237 "CFLAGS=$(CFLAGS)" \
238 $(start-sanitize-chill)\
239 "CHILLFLAGS=$(CHILLFLAGS)" \
240 "CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
241 "CHILL_LIB=$(CHILL_LIB)" \
242 $(end-sanitize-chill)\
243 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
244 "CXXFLAGS=$(CXXFLAGS)" \
245 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
246 "GCC_FOR_TARGET=$(CC_FOR_TARGET)" \
247 "INSTALL=$(INSTALL)" \
248 "INSTALL_DATA=$(INSTALL_DATA)" \
249 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
250 "INSTALL_XFORM=$(INSTALL_XFORM)" \
251 "LDFLAGS=$(LDFLAGS)" \
252 "LEX=$(LEX)" \
253 "M4=$(M4)" \
254 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
255 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
256 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
257 "SHELL=$(SHELL)" \
258 "EXPECT=$(EXPECT)" \
259 "RUNTEST=$(RUNTEST)" \
260 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
261 "YACC=$(BISON)" \
262 "exec_prefix=$(exec_prefix)" \
263 "prefix=$(prefix)" \
264 "tooldir=$(tooldir)"
265
266 # Flags to pass down to most sub-makes, in which we're building with
267 # the host environment.
268 # If any variables are added here, they must be added to do-*, below.
269 EXTRA_HOST_FLAGS = \
270 'AR=$(AR)' \
271 'AS=$(AS)' \
272 'CC=$(CC)' \
273 'CXX=$(CXX)' \
274 'NM=$(NM)' \
275 'RANLIB=$(RANLIB)'
276
277 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
278
279 # Flags that are concerned with the location of the X11 include files
280 # and library files
281 X11_FLAGS_TO_PASS = \
282 "X11_INCLUDE_FLAGS=$(X11_INCLUDE_FLAGS)" \
283 "X11_LIB_FLAGS=$(X11_LIB_FLAGS)" \
284 "X11_LIB=$(X11_LIB)"
285
286 # Flags to pass down to makes which are built with the target environment.
287 # The double $ decreases the length of the command line; the variables
288 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
289 # If any variables are added here, they must be added to do-*, below.
290 EXTRA_TARGET_FLAGS = \
291 'AR=$$(AR_FOR_TARGET)' \
292 'AS=$$(AS_FOR_TARGET)' \
293 'CC=$$(CC_FOR_TARGET)' \
294 'CXX=$$(CXX_FOR_TARGET)' \
295 'NM=$$(NM_FOR_TARGET)' \
296 'RANLIB=$$(RANLIB_FOR_TARGET)'
297
298 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
299
300 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
301 # unfortunately needs the native compiler and the target ar and
302 # ranlib.
303 # If any variables are added here, they must be added to do-*, below.
304 # The HOST_* variables are a special case, which are used for the gcc
305 # cross-building scheme.
306 EXTRA_GCC_FLAGS = \
307 'AR=$$(AR_FOR_TARGET)' \
308 'AS=$(AS)' \
309 'CC=$(CC)' \
310 'CXX=$(CXX)' \
311 'HOST_CC=$(CC_FOR_BUILD)' \
312 'HOST_PREFIX=$(HOST_PREFIX)' \
313 'HOST_PREFIX_1=$(HOST_PREFIX_1)' \
314 'NM=$(NM)' \
315 'RANLIB=$$(RANLIB_FOR_TARGET)'
316
317 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
318
319 # This is a list of the targets for all of the modules which are compiled
320 # using $(FLAGS_TO_PASS).
321 ALL_MODULES = \
322 all-autoconf \
323 all-bfd \
324 all-binutils \
325 all-byacc \
326 all-cvs \
327 all-dejagnu \
328 all-diff \
329 all-dosutils \
330 all-etc \
331 all-fileutils \
332 all-find \
333 all-flex \
334 all-gas \
335 all-gawk \
336 all-gdb \
337 all-gprof \
338 all-grep \
339 all-gzip \
340 all-hello \
341 all-indent \
342 all-ispell \
343 all-ld \
344 all-libiberty \
345 all-m4 \
346 all-make \
347 all-mmalloc \
348 all-opcodes \
349 all-pagas \
350 all-patch \
351 all-prms \
352 all-rcs \
353 all-readline \
354 all-release \
355 all-recode \
356 all-sed \
357 all-send-pr \
358 all-shellutils \
359 all-sim \
360 all-tar \
361 all-tcl \
362 all-texinfo \
363 all-textutils \
364 all-tgas \
365 all-time \
366 all-uudecode \
367 all-wdiff
368
369
370 # This is a list of the check targets for all of the modules which are
371 # compiled using $(FLAGS_TO_PASS).
372 CHECK_MODULES = \
373 check-autoconf \
374 check-bfd \
375 check-binutils \
376 check-byacc \
377 check-cvs \
378 check-dejagnu \
379 check-diff \
380 check-etc \
381 check-fileutils \
382 check-find \
383 check-flex \
384 check-gas \
385 check-gawk \
386 check-gdb \
387 check-gprof \
388 check-grep \
389 check-gzip \
390 check-hello \
391 check-indent \
392 check-ispell \
393 check-ld \
394 check-libiberty \
395 check-m4 \
396 check-make \
397 check-mmcheckoc \
398 check-opcodes \
399 check-pagas \
400 check-patch \
401 check-prms \
402 check-rcs \
403 check-readline \
404 check-recode \
405 check-sed \
406 check-send-pr \
407 check-shellutils \
408 check-sim \
409 check-tar \
410 check-tcl \
411 check-texinfo \
412 check-textutils \
413 check-tgas \
414 check-time \
415 check-uudecode \
416 check-wdiff
417
418 # This is a list of the install targets for all of the modules which are
419 # compiled using $(FLAGS_TO_PASS).
420 INSTALL_MODULES = \
421 install-autoconf \
422 install-bfd \
423 install-binutils \
424 install-byacc \
425 install-cvs \
426 install-dejagnu \
427 install-diff \
428 install-dosutils \
429 install-etc \
430 install-fileutils \
431 install-find \
432 install-flex \
433 install-gas \
434 install-gawk \
435 install-gdb \
436 install-glob \
437 install-gprof \
438 install-grep \
439 install-gzip \
440 install-hello \
441 install-indent \
442 install-ispell \
443 install-ld \
444 install-libiberty \
445 install-m4 \
446 install-make \
447 install-mmalloc \
448 install-opcodes \
449 install-pagas \
450 install-patch \
451 install-prms \
452 install-rcs \
453 install-readline \
454 install-recode \
455 install-sed \
456 install-send-pr \
457 install-shellutils \
458 install-sim \
459 install-tar \
460 install-tcl \
461 install-texinfo \
462 install-textutils \
463 install-tgas \
464 install-time \
465 install-uudecode \
466 install-wdiff
467
468 # This is a list of the targets for all of the modules which are compiled
469 # using $(X11_FLAGS_TO_PASS).
470 ALL_X11_MODULES = \
471 all-emacs \
472 all-expect \
473 all-gash \
474 all-tclX \
475 all-tk
476
477 # This is a list of the check targets for all of the modules which are
478 # compiled using $(X11_FLAGS_TO_PASS).
479 CHECK_X11_MODULES = \
480 check-emacs \
481 check-expect \
482 check-gash \
483 check-tclX \
484 check-tk
485
486 # This is a list of the install targets for all the modules which are
487 # compiled using $(X11_FLAGS_TO_PASS).
488 INSTALL_X11_MODULES = \
489 install-emacs \
490 install-expect \
491 install-gash \
492 install-tclX \
493 install-tk
494
495 # This is a list of the targets for all of the modules which are compiled
496 # using $(TARGET_FLAGS_TO_PASS).
497 ALL_TARGET_MODULES = \
498 $(start-sanitize-chill) \
499 all-chillrt \
500 $(end-sanitize-chill) \
501 all-libio \
502 all-libg++ \
503 all-newlib \
504 all-xiberty
505
506 # This is a list of the check targets for all of the modules which are
507 # compiled using $(TARGET_FLAGS_TO_PASS).
508 CHECK_TARGET_MODULES = \
509 $(start-sanitize-chill) \
510 check-chillrt \
511 $(end-sanitize-chill) \
512 check-libio \
513 check-libg++ \
514 check-newlib \
515 check-xiberty
516
517 # This is a list of the install targets for all of the modules which are
518 # compiled using $(TARGET_FLAGS_TO_PASS).
519 INSTALL_TARGET_MODULES = \
520 $(start-sanitize-chill) \
521 install-chillrt \
522 $(end-sanitize-chill) \
523 install-libio \
524 install-libg++ \
525 install-newlib \
526 install-xiberty
527
528 # This is a shell case of all modules which are compiled using
529 # $(TARGET_FLAGS_TO_PASS), used in the do-X rule.
530 TARGET_LIBS = libio | libg++ | newlib | xiberty
531 # start-sanitize-chill
532 TARGET_LIBS = chillrt | libio | libg++ | newlib | xiberty
533 # end-sanitize-chill
534
535 # The first rule in the file had better be this one. Don't put any above it.
536 all: all.normal
537 .PHONY: all
538
539 # The target built for a native build.
540 .PHONY: all.normal
541 all.normal: \
542 $(ALL_MODULES) \
543 $(ALL_TARGET_MODULES) \
544 $(ALL_X11_MODULES) \
545 all-gcc
546
547 # Do a target for all the subdirectories. A ``make do-X'' will do a
548 # ``make X'' in all subdirectories (because, in general, there is a
549 # dependency (below) of X upon do-X, a ``make X'' will also do this,
550 # but it may do additional work as well).
551 # This target ensures that $(BASE_FLAGS_TO_PASS) appears only once,
552 # because it is so large that it can easily overflow the command line
553 # length limit on some systems.
554 DO_X = \
555 do-clean \
556 do-distclean \
557 do-dvi \
558 do-info \
559 do-install-info \
560 do-installcheck \
561 do-mostlyclean \
562 do-realclean \
563 do-TAGS
564 .PHONY: $(DO_X)
565 $(DO_X):
566 @target=`echo $@ | sed -e 's/^do-//'`; \
567 r=`pwd`; export r; \
568 srcroot=`cd $(srcdir); pwd`; export srcroot; \
569 for i in $(SUBDIRS); do \
570 if [ -f ./$$i/Makefile ]; then \
571 case $$i in \
572 $(TARGET_LIBS) ) \
573 for flag in $(EXTRA_TARGET_FLAGS); do \
574 eval `echo "$$flag" | sed -e "s|^\(.*\)=\(.*\)|\1='\2'|"`; \
575 done; \
576 ;; \
577 gcc) \
578 for flag in $(EXTRA_GCC_FLAGS); do \
579 eval `echo "$$flag" | sed -e "s|^\(.*\)=\(.*\)|\1='\2'|"`; \
580 done; \
581 ;; \
582 *) \
583 for flag in $(EXTRA_HOST_FLAGS); do \
584 eval `echo "$$flag" | sed -e "s|^\(.*\)=\(.*\)|\1='\2'|"`; \
585 done; \
586 ;; \
587 esac ; \
588 export AR AS CC CXX NM RANLIB; \
589 if (cd ./$$i; \
590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
591 "CC=$${CC}" "CXX=$${CXX}" "NM=$${NM}" \
592 "RANLIB=$${RANLIB}" \
593 $${target}); \
594 then true; else exit 1; fi; \
595 else true; fi; \
596 done
597
598 # Here are the targets which correspond to the do-X targets.
599
600 .PHONY: info installcheck dvi install-info
601 .PHONY: clean distclean mostlyclean realclean local-clean local-distclean
602 info: do-info
603 installcheck: do-installcheck
604 dvi: do-dvi
605
606 install-info: do-install-info dir.info
607 srcroot=`cd $(srcdir); pwd`; export srcroot; \
608 if [ -f dir.info ] ; then \
609 $(INSTALL_DATA) dir.info $(infodir)/dir.info ; \
610 else true ; fi
611
612 local-clean:
613 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E
614
615 local-distclean:
616 -rm -f Makefile config.status
617
618 clean: do-clean local-clean
619 mostlyclean: do-mostlyclean local-clean
620 distclean: do-distclean local-clean local-distclean
621 realclean: do-realclean local-clean local-distclean
622
623 # Check target.
624
625 .PHONY: check
626 check: $(CHECK_MODULES) \
627 $(CHECK_TARGET_MODULES) \
628 $(CHECK_X11_MODULES) \
629 check-gcc
630
631 # Installation targets.
632
633 .PHONY: install uninstall vault-install
634 install: $(INSTALL_TARGET)
635
636 uninstall:
637 @echo "the uninstall target is not supported in this tree"
638
639 vault-install:
640 @if [ -f ./release/vault-install ] ; then \
641 ./release/vault-install $(host_alias) $(target_alias) ; \
642 else \
643 true ; \
644 fi
645
646 .PHONY: install.all
647 install.all: install-no-fixedincludes
648 @if [ -f ./gcc/Makefile ] ; then \
649 r=`pwd` ; export r ; \
650 (cd ./gcc; \
651 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
652 else \
653 true ; \
654 fi
655
656 # install-no-fixedincludes is used because Cygnus can not distribute
657 # the fixed header files.
658 .PHONY: install-no-fixedincludes
659 install-no-fixedincludes: \
660 install-dirs \
661 $(INSTALL_MODULES) \
662 $(INSTALL_TARGET_MODULES) \
663 $(INSTALL_X11_MODULES) \
664 gcc-no-fixedincludes
665
666 # Install the gcc headers files, but not the fixed include files,
667 # which Cygnus is not allowed to distribute. This rule is very
668 # dependent on the workings of the gcc Makefile.in.
669 .PHONY: gcc-no-fixedincludes
670 gcc-no-fixedincludes:
671 @if [ -f ./gcc/Makefile ]; then \
672 rm -rf gcc/tmp-include; \
673 mv gcc/include gcc/tmp-include 2>/dev/null; \
674 mkdir gcc/include; \
675 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
676 touch gcc/stmp-fixinc gcc/include/fixed; \
677 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
678 r=`pwd`; export r; \
679 srcroot=`cd $(srcdir); pwd` ; export srcroot; \
680 (cd ./gcc; \
681 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
682 rm -rf gcc/include; \
683 mv gcc/tmp-include gcc/include 2>/dev/null; \
684 else true; fi
685
686 # This rule is used to build the modules which use FLAGS_TO_PASS. To
687 # build a target all-X means to cd to X and make all.
688 # all-glob is handled specially because it doesn't actually build.
689 .PHONY: $(ALL_MODULES) all-glob
690 $(ALL_MODULES) all-glob:
691 @dir=`echo $@ | sed -e 's/all-//'`; \
692 if [ -f ./$${dir}/Makefile ] ; then \
693 r=`pwd`; export r; \
694 srcroot=`cd $(srcdir); pwd`; export srcroot; \
695 (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \
696 else \
697 true; \
698 fi
699
700 # This rule is used to check the modules which use FLAGS_TO_PASS. To
701 # build a target check-X means to cd to X and make all.
702 .PHONY: $(CHECK_MODULES)
703 $(CHECK_MODULES):
704 @dir=`echo $@ | sed -e 's/check-//'`; \
705 if [ -f ./$${dir}/Makefile ] ; then \
706 r=`pwd`; export r; \
707 srcroot=`cd $(srcdir); pwd`; export srcroot; \
708 (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \
709 else \
710 true; \
711 fi
712
713 # This rule is used to install the modules which use FLAGS_TO_PASS.
714 # To build a target install-X means to cd to X and make install.
715 .PHONY: $(INSTALL_MODULES)
716 $(INSTALL_MODULES): install-dirs
717 @dir=`echo $@ | sed -e 's/install-//'`; \
718 if [ -f ./$${dir}/Makefile ] ; then \
719 r=`pwd`; export r; \
720 srcroot=`cd $(srcdir); pwd`; export srcroot; \
721 (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) install); \
722 else \
723 true; \
724 fi
725
726 # This rule is used to build the modules which use TARGET_FLAGS_TO_PASS.
727 # To build a target all-X means to cd to X and make all.
728 .PHONY: $(ALL_TARGET_MODULES)
729 $(ALL_TARGET_MODULES):
730 @dir=`echo $@ | sed -e 's/all-//'`; \
731 if [ -f ./$${dir}/Makefile ] ; then \
732 r=`pwd`; export r; \
733 srcroot=`cd $(srcdir); pwd`; export srcroot; \
734 (cd $${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) all); \
735 else \
736 true; \
737 fi
738
739 # This rule is used to check the modules which use TARGET_FLAGS_TO_PASS.
740 # To build a target install-X means to cd to X and make install.
741 .PHONY: $(CHECK_TARGET_MODULES)
742 $(CHECK_TARGET_MODULES):
743 @dir=`echo $@ | sed -e 's/check-//'`; \
744 if [ -f ./$${dir}/Makefile ] ; then \
745 r=`pwd`; export r; \
746 srcroot=`cd $(srcdir); pwd`; export srcroot; \
747 (cd $${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) check); \
748 else \
749 true; \
750 fi
751
752 # This rule is used to install the modules which use
753 # TARGET_FLAGS_TO_PASS. To build a target install-X means to cd to X
754 # and make install.
755 .PHONY: $(INSTALL_TARGET_MODULES)
756 $(INSTALL_TARGET_MODULES): install-dirs
757 @dir=`echo $@ | sed -e 's/install-//'`; \
758 if [ -f ./$${dir}/Makefile ] ; then \
759 r=`pwd`; export r; \
760 srcroot=`cd $(srcdir); pwd`; export srcroot; \
761 (cd $${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) install); \
762 else \
763 true; \
764 fi
765
766 # This rule is used to build the modules which use X11_FLAGS_TO_PASS.
767 # To build a target all-X means to cd to X and make all.
768 .PHONY: $(ALL_X11_MODULES)
769 $(ALL_X11_MODULES):
770 @dir=`echo $@ | sed -e 's/all-//'`; \
771 if [ -f ./$${dir}/Makefile ] ; then \
772 r=`pwd`; export r; \
773 srcroot=`cd $(srcdir); pwd`; export srcroot; \
774 (cd $${dir}; \
775 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all); \
776 else \
777 true; \
778 fi
779
780 # This rule is used to check the modules which use X11_FLAGS_TO_PASS.
781 # To build a target check-X means to cd to X and make all.
782 .PHONY: $(CHECK_X11_MODULES)
783 $(CHECK_X11_MODULES):
784 @dir=`echo $@ | sed -e 's/check-//'`; \
785 if [ -f ./$${dir}/Makefile ] ; then \
786 r=`pwd`; export r; \
787 srcroot=`cd $(srcdir); pwd`; export srcroot; \
788 (cd $${dir}; \
789 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check); \
790 else \
791 true; \
792 fi
793
794 # This rule is used to install the modules which use X11_FLAGS_TO_PASS.
795 # To build a target install-X means to cd to X and make install.
796 .PHONY: $(INSTALL_X11_MODULES)
797 $(INSTALL_X11_MODULES):
798 @dir=`echo $@ | sed -e 's/install-//'`; \
799 if [ -f ./$${dir}/Makefile ] ; then \
800 r=`pwd`; export r; \
801 srcroot=`cd $(srcdir); pwd`; export srcroot; \
802 (cd $${dir}; \
803 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install); \
804 else \
805 true; \
806 fi
807
808 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
809 .PHONY: all-gcc
810 all-gcc:
811 @if [ -f ./gcc/Makefile ] ; then \
812 r=`pwd`; export r; \
813 srcroot=`cd $(srcdir); pwd`; export srcroot; \
814 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
815 else \
816 true; \
817 fi
818
819 .PHONY: check-gcc
820 check-gcc:
821 @if [ -f ./gcc/Makefile ] ; then \
822 r=`pwd`; export r; \
823 srcroot=`cd $(srcdir); pwd`; export srcroot; \
824 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
825 else \
826 true; \
827 fi
828
829 .PHONY: install-gcc
830 install-gcc:
831 @if [ -f ./gcc/Makefile ] ; then \
832 r=`pwd`; export r; \
833 srcroot=`cd $(srcdir); pwd`; export srcroot; \
834 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
835 else \
836 true; \
837 fi
838
839
840 # EXPERIMENTAL STUFF
841 # This rule is used to install the modules which use FLAGS_TO_PASS.
842 # To build a target install-X means to cd to X and make install.
843 .PHONY: install-dosrel
844 install-dosrel: install-dirs info
845 @dir=`echo $@ | sed -e 's/install-//'`; \
846 if [ -f ./$${dir}/Makefile ] ; then \
847 r=`pwd`; export r; \
848 srcroot=`cd $(srcdir); pwd`; export srcroot; \
849 (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) install); \
850 else \
851 true; \
852 fi
853
854 install-dosrel-fake:
855
856
857 # This is a list of inter-dependencies among modules.
858 all-autoconf: all-m4
859 all-bfd:
860 all-binutils: all-libiberty all-opcodes all-bfd all-flex
861 all-byacc:
862 # start-sanitize-chill
863 all-chillrt: all-binutils all-gas all-gcc all-newlib
864 # end-sanitize-chill
865 all-cvs:
866 all-dejagnu:
867 all-diff: all-libiberty
868 all-emacs:
869 all-etc:
870 all-expect: all-tcl all-tk
871 all-fileutils: all-libiberty
872 all-find:
873 all-flex: all-libiberty all-byacc
874 all-gas: all-libiberty all-opcodes all-bfd
875 all-gash: all-tcl
876 all-gawk:
877 all-gcc: all-libiberty all-byacc all-binutils all-gas all-pagas
878 all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-glob all-byacc all-sim
879 all-glob:
880 all-gprof: all-libiberty all-bfd
881 all-grep: all-libiberty
882 all-gzip: all-libiberty
883 all-hello: all-libiberty
884 all-indent:
885 all-ispell: all-emacs
886 all-ld: all-libiberty all-bfd all-byacc all-flex
887 all-libg++: all-gas all-pagas all-ld all-gcc all-xiberty all-newlib all-libio
888 all-libio: all-gas all-pagas all-ld all-gcc all-xiberty all-newlib
889 all-libiberty:
890 all-m4: all-libiberty
891 all-make: all-libiberty
892 all-mmalloc:
893 all-newlib: all-binutils all-gas all-pagas all-gcc
894 all-opcodes: all-bfd
895 all-patch:
896 all-prms: all-libiberty
897 all-rcs:
898 all-readline:
899 all-recode: all-libiberty
900 all-sed: all-libiberty
901 all-send-pr: all-prms
902 all-shellutils:
903 all-sim: all-libiberty all-bfd
904 all-tar: all-libiberty
905 all-tcl:
906 all-tclX: all-tcl all-tk
907 all-tk: all-tcl
908 all-texinfo: all-libiberty
909 all-textutils:
910 all-tgas: all-libiberty all-bfd
911 all-time:
912 all-wdiff:
913 all-uudecode: all-libiberty
914 all-xiberty: all-gcc all-newlib
915
916 ### other supporting targets
917
918 MAKEDIRS= \
919 $(prefix) \
920 $(exec_prefix) \
921 $(tooldir)
922
923 .PHONY: install-dirs
924 install-dirs:
925 @for i in $(MAKEDIRS) ; do \
926 echo Making $$i... ; \
927 parent=`echo $$i | sed -e 's@/[^/]*$$@@' | sed -e 's@^$$@/@'`; \
928 if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi ; \
929 if [ ! -d $$i ] ; then \
930 if mkdir $$i ; then \
931 true ; \
932 else \
933 exit 1 ; \
934 fi ; \
935 else \
936 true ; \
937 fi ; \
938 done
939
940
941 dir.info: do-install-info
942 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
943 $(srcdir)/texinfo/gen-info-dir $(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
944 mv -f dir.info.new dir.info ; \
945 else true ; \
946 fi
947
948 dist:
949 @echo "Building a full distribution of this tree isn't done"
950 @echo "via 'make dist'. Check out the etc/ subdirectory"
951
952 etags tags: TAGS
953
954 # Right now this just builds TAGS in each subdirectory. emacs19 has the
955 # ability to use several tags files at once, so there is probably no need
956 # to combine them into one big TAGS file (like CVS 1.3 does). We could
957 # (if we felt like it) have this Makefile write a piece of elisp which
958 # the user could load to tell emacs19 where all the TAGS files we just
959 # built are.
960 TAGS: do-TAGS
961
962 # with the gnu make, this is done automatically.
963
964 Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
965 $(SHELL) ./config.status
966
967 #
968 # Support for building net releases
969
970 # Files in devo used in any net release.
971 # ChangeLog omitted because it may refer to files which are not in this
972 # distribution (perhaps it would be better to include it anyway).
973 DEVO_SUPPORT= README Makefile.in configure configure.in \
974 config.guess config.sub config move-if-change \
975 COPYING COPYING.LIB install.sh
976
977 # Files in devo/etc used in any net release.
978 # ChangeLog omitted because it may refer to files which are not in this
979 # distribution (perhaps it would be better to include it anyway).
980 ETC_SUPPORT= Makefile.in cfg-paper.texi configure.in configure.man \
981 configure.texi standards.texi make-stds.texi
982
983 GDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes readline glob sim
984 GDB_SUPPORT_FILES= $(GDB_SUPPORT_DIRS)
985
986 .PHONY: setup-dirs-gdb gdb.tar.gz make-gdb.tar.gz
987 setup-dirs-gdb:
988 $(start-sanitize-Sanitize)
989 @if [ -f .Sanitize ] ; then echo "RUN Sanitize FIRST!" ; false ; fi ;
990 $(end-sanitize-Sanitize)
991 ./configure sun4
992 $(MAKE) clean
993 ./configure -rm sun4
994 chmod og=u `find etc $(DEVO_SUPPORT) $(GDB_SUPPORT_FILES) -print`
995
996 gdb.tar.gz: setup-dirs-gdb
997 (cd gdb; $(MAKE) -f Makefile.in make-proto-gdb.dir BISON="byacc")
998 (cd gdb; $(MAKE) -f Makefile.in make-proto-testsuite.dir)
999 $(MAKE) $(MFLAGS) -f Makefile.in make-gdb.tar.gz
1000
1001 make-gdb.tar.gz: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/texinfo.tex
1002 rm -rf proto-toplev; mkdir proto-toplev
1003 ln -s ../gdb/proto-gdb.dir proto-toplev/gdb
1004 (cd proto-toplev; for i in $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS); do \
1005 ln -s ../$$i . ; \
1006 done)
1007 mkdir proto-toplev/etc
1008 (cd proto-toplev/etc; for i in $(ETC_SUPPORT); do \
1009 ln -s ../../etc/$$i . ; \
1010 done)
1011 # Put only one copy (four hard links) of COPYING in the tar file.
1012 rm proto-toplev/bfd/COPYING
1013 ln proto-toplev/gdb/COPYING proto-toplev/bfd/COPYING
1014 rm proto-toplev/include/COPYING
1015 ln proto-toplev/gdb/COPYING proto-toplev/include/COPYING
1016 rm proto-toplev/readline/COPYING
1017 ln proto-toplev/gdb/COPYING proto-toplev/readline/COPYING
1018
1019 # Change the bug reporting address in configure to bug-gdb
1020 rm proto-toplev/configure
1021 sed -e 's/configure@cygnus.com/bug-gdb@prep.ai.mit.edu/' \
1022 <configure >proto-toplev/configure
1023 chmod a+x proto-toplev/configure
1024
1025 # Take out texinfo and glob from configurable dirs
1026 rm proto-toplev/configure.in
1027 sed -e '/^host_tools=/s/texinfo //' \
1028 -e '/^host_libs=/s/glob //' \
1029 <configure.in >proto-toplev/configure.in
1030
1031 # Take out texinfo from a few places; make simple BISON=bison line.
1032 rm proto-toplev/Makefile.in
1033 sed -e '/^all\.normal: /s/\all-texinfo //' \
1034 -e '/^ install-texinfo /d' \
1035 -e '/^BISON = /,/^$$/d' \
1036 -e '/^# BISON:/s/.*/BISON = bison -y/' \
1037 <Makefile.in >proto-toplev/Makefile.in
1038
1039 mkdir proto-toplev/texinfo
1040 ln -s ../../texinfo/texinfo.tex proto-toplev/texinfo/
1041 ln -s ../../texinfo/gpl.texinfo proto-toplev/texinfo/
1042 ln -s ../../texinfo/tex3patch proto-toplev/texinfo/
1043 chmod og=u `find proto-toplev -print`
1044 (VER=`sed <gdb/Makefile.in -n 's/VERSION = //p'`; \
1045 echo "==> Making gdb-$$VER.tar.gz"; \
1046 rm -f gdb-$$VER; ln -s proto-toplev gdb-$$VER; \
1047 tar cfh - gdb-$$VER \
1048 | $(GZIPPROG) -v -9 >gdb-$$VER.tar.gz)
1049
1050 # Make the testsuite archive separately.
1051 ln -s ../../gdb/proto-testsuite.dir/testsuite proto-toplev/gdb/testsuite
1052 # Blow away the Chill test that requires a Chill compiled executable,
1053 # since GNU Chill is not yet publically available.
1054 rm -rf proto-toplev/gdb/testsuite/gdb.t31
1055
1056 # Put a copy of COPYING in the tar file.
1057 ln proto-toplev/gdb/COPYING proto-toplev/gdb/testsuite/COPYING
1058 chmod og=u `find proto-toplev/gdb/testsuite -print`
1059 (VER=`sed <gdb/Makefile.in -n 's/VERSION = //p'`; \
1060 echo "==> Making gdb-$$VER-testsuite.tar.gz"; \
1061 tar cfh - gdb-$$VER/configure gdb-$$VER/config.guess \
1062 gdb-$$VER/config.sub gdb-$$VER/move-if-change \
1063 gdb-$$VER/gdb/testsuite \
1064 | $(GZIPPROG) -v -9 >gdb-$$VER-testsuite.tar.gz)
1065
1066 # When you use `make setup-dirs' or `make taz' you should always redefine
1067 # this macro.
1068 SUPPORT_FILES = list-of-support-files-for-tool-in-question
1069 # Directories that might want `make diststuff' run.
1070 DISTSTUFFDIRS= ld gprof gdb libg++ binutils gnats
1071 # Files where "byacc" (Cygnus version) should be changed to "bison -y" (FSF).
1072 DISTBISONFILES= binutils/Makefile.in gas/Makefile.in gdb/Makefile.in
1073 # Directories where "info" should be built.
1074 DISTDOCDIRS= ld gprof binutils gas bfd libg++ libio gdb gnats send-pr
1075
1076 .PHONY: taz
1077
1078 taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) \
1079 texinfo/texinfo.tex texinfo/gpl.texinfo texinfo/lgpl.texinfo
1080 # Make sure "diststuff" files get built properly.
1081 for f in $(DISTBISONFILES) ; do \
1082 if [ -r $$f ]; then \
1083 sed '/^BISON *=.*$$/s/.*/BISON = bison -y/' <$$f >tmp ; \
1084 mv -f tmp $$f ; \
1085 else true; fi ; \
1086 done
1087 # Take out texinfo from a few places; make simple BISON=bison line.
1088 sed -e '/^all\.normal: /s/\all-texinfo //' \
1089 -e '/^ install-texinfo /d' \
1090 -e '/^BISON = /,/^$$/d' \
1091 -e '/^# BISON:/s/.*/BISON = bison -y/' \
1092 <Makefile.in >tmp
1093 mv -f tmp Makefile.in
1094 #
1095 ./configure sun4
1096 # Doc files don't change; include them in distribution.
1097 for f in $(DISTDOCDIRS) ; do \
1098 if [ -r $$f/Makefile ]; then \
1099 (cd $$f ; $(MAKE) info) || exit 1 ; \
1100 else true ; fi ; \
1101 done
1102 # Make links, and run "make diststuff" when needed.
1103 # The `echo' for setting `p' is to convert all whitespace to spaces.
1104 # Then the `case' further below should tell whether $$d is in
1105 # DISTSTUFFDIRS.
1106 rm -rf proto-toplev ; mkdir proto-toplev
1107 set -e ; dirs="$(TOOL) $(DEVO_SUPPORT) $(SUPPORT_FILES)" ; \
1108 p=" `echo $(DISTSTUFFDIRS)` " ; \
1109 for d in $$dirs ; do \
1110 if [ -d $$d ]; then \
1111 case " $$p " in \
1112 *" $$d "*) \
1113 echo making diststuff in $$d ; \
1114 (cd $$d ; pwd ; $(MAKE) diststuff ) || exit 1 ;; \
1115 esac ; \
1116 if [ -d $$d/proto-$$d.dir ]; then \
1117 ln -s ../$$d/proto-$$d.dir proto-toplev/$$d ; \
1118 else \
1119 ln -s ../$$d proto-toplev/$$d ; \
1120 fi ; \
1121 else ln -s ../$$d proto-toplev/$$d ; fi ; \
1122 done
1123 $(MAKE) distclean
1124 #
1125 mkdir proto-toplev/etc
1126 (cd proto-toplev/etc; for i in $(ETC_SUPPORT); do \
1127 ln -s ../../etc/$$i . ; \
1128 done)
1129 #
1130 # Take out texinfo and glob from configurable dirs
1131 rm proto-toplev/configure.in
1132 sed -e '/^host_tools=/s/texinfo //' \
1133 -e '/^host_libs=/s/glob //' \
1134 <configure.in >proto-toplev/configure.in
1135 #
1136 mkdir proto-toplev/texinfo
1137 ln -s ../../texinfo/texinfo.tex proto-toplev/texinfo/
1138 ln -s ../../texinfo/gpl.texinfo proto-toplev/texinfo/
1139 ln -s ../../texinfo/lgpl.texinfo proto-toplev/texinfo/
1140 ln -s ../../texinfo/tex3patch proto-toplev/texinfo/
1141 chmod og=u `find . -print`
1142 (VER=`sed <$(TOOL)/Makefile.in -n 's/^VERSION *= *//p'`; \
1143 echo "==> Making $(TOOL)-$$VER.tar.gz"; \
1144 rm -f $(TOOL)-$$VER; ln -s proto-toplev $(TOOL)-$$VER; \
1145 tar cfh - $(TOOL)-$$VER \
1146 | $(GZIPPROG) -v -9 >$(TOOL)-$$VER.tar.gz )
1147
1148 TEXINFO_SUPPORT= texinfo/texinfo.tex texinfo/gpl.texinfo texinfo/lgpl.texinfo
1149 DIST_SUPPORT= $(DEVO_SUPPORT) $(TEXINFO_SUPPORT)
1150
1151 .PHONY: gas.tar.gz
1152 GAS_SUPPORT_DIRS= bfd include libiberty opcodes
1153 gas.tar.gz: $(DIST_SUPPORT) $(GAS_SUPPORT_DIRS) gas
1154 $(MAKE) -f Makefile.in taz TOOL=gas \
1155 SUPPORT_FILES="$(GAS_SUPPORT_DIRS)"
1156
1157 # The FSF "binutils" release includes gprof and ld.
1158 .PHONY: binutils.tar.gz
1159 BINUTILS_SUPPORT_DIRS= bfd include libiberty opcodes ld gprof
1160 binutils.tar.gz: $(DIST_SUPPORT) $(BINUTILS_SUPPORT_DIRS) binutils
1161 $(MAKE) -f Makefile.in taz TOOL=binutils \
1162 SUPPORT_FILES="$(BINUTILS_SUPPORT_DIRS)"
1163
1164 .PHONY: gas+binutils.tar.gz
1165 GASB_SUPPORT_DIRS= $(GAS_SUPPORT_DIRS) binutils ld gprof
1166 gas+binutils.tar.gz: $(DIST_SUPPORT) $(GASB_SUPPORT_DIRS) gas
1167 $(MAKE) -f Makefile.in taz TOOL=gas \
1168 SUPPORT_FILES="$(GASB_SUPPORT_DIRS)"
1169
1170 .PHONY: libg++.tar.gz
1171 LIBGXX_SUPPORT_DIRS=include libio libiberty xiberty
1172 libg++.tar.gz: $(DIST_SUPPORT) libg++
1173 $(MAKE) -f Makefile.in taz TOOL=libg++ \
1174 SUPPORT_FILES="$(LIBGXX_SUPPORT_DIRS)"
1175
1176 GNATS_SUPPORT_DIRS=include libiberty send-pr
1177 gnats.tar.gz: $(DIST_SUPPORT) $(GNATS_SUPPORT_DIRS) gnats
1178 $(MAKE) -f Makefile.in taz TOOL=gnats \
1179 SUPPORT_FILES="$(GNATS_SUPPORT_DIRS)"
1180
1181 .NOEXPORT:
1182 MAKEOVERRIDES=
1183
1184 # start-sanitize-chill
1185 ## This is ugly, but I don't want GNU make to put these variables in
1186 ## the environment. Older makes will see this as a set of targets
1187 ## with no dependencies and no actions.
1188 unexport CHILLFLAGS CHILL_LIB CHILL_FOR_TARGET :
1189 # end-sanitize-chill
1190
1191 # end of Makefile.in