3 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995 Free Software Foundation
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.
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.
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. */
24 exec_prefix = $(prefix)
25 bindir = $(exec_prefix)/bin
26 libdir = $(exec_prefix)/lib
27 tooldir
= $(exec_prefix)
31 INSTALL
= `cd $(srcdir); pwd`/..
/..
/install-sh
-c
32 INSTALL_PROGRAM
= $(INSTALL
)
33 INSTALL_DATA
= $(INSTALL
)
46 #### Host, target, and site specific Makefile fragments come in here.
49 # These are roughly topologically sorted in order to make porting more
53 "exec_prefix=$(exec_prefix)" \
58 "AR_FLAGS=$(AR_FLAGS)" \
60 "CROSS_CFLAGS=$(CROSS_CFLAGS)" \
61 "TARGET_CFLAGS=$(TARGET_CFLAGS)" \
65 @for
dir in
${SUBDIRS}; do \
66 if
[ -d
$$dir ]; then \
67 (cd
$$dir; $(MAKE
) $(FLAGS_TO_PASS
)); \
72 -rm -f
*~ core
*.o a.out xgdb
*.x
73 for
dir in
${SUBDIRS}; do \
75 if
[ -d
$$dir ]; then \
76 (cd
$$dir; $(MAKE
) $(FLAGS_TO_PASS
) install); \
81 -rm -f
*~ core
*.o a.out xgdb
*.x
83 clean mostlyclean: clean-here
84 for
dir in
${SUBDIRS}; do \
86 if
[ -d
$$dir ]; then \
87 (cd
$$dir; $(MAKE
) $(FLAGS_TO_PASS
) $@
); \
91 distclean maintainer-clean
realclean: clean-here
92 for
dir in
${SUBDIRS}; do \
94 if
[ -d
$$dir ]; then \
95 (cd
$$dir; $(MAKE
) $(FLAGS_TO_PASS
) $@
); \
98 -rm -f Makefile config.status
*-init.exp site.
*
99 -rm -fr
*.log summary detail
*.sum blockit
101 .PHONY
: info install-info clean-info
108 Makefile
: Makefile.in configure.in
$(host_makefile_frag
) $(target_makefile_frag
)
109 $(SHELL
) config.status