3 # Copyright (C) 1990, 1991, 1992, 1993 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. */
21 # Makefile for devo/util
28 exec_prefix = $(prefix)
29 bindir = $(exec_prefix)/bin
30 libdir = $(exec_prefix)/lib
31 tooldir = $(exec_prefix)
35 INSTALL = `cd $(srcdir); pwd`/../../install-sh -c
36 INSTALL_PROGRAM = $(INSTALL)
37 INSTALL_DATA = $(INSTALL)
47 #### Host, target, and site specific Makefile fragments come in here.
50 # These are roughly topologically sorted in order to make porting more
56 "AR_FLAGS=$(AR_FLAGS)" \
58 "CROSS_CFLAGS=$(CROSS_CFLAGS)" \
59 "TARGET_CFLAGS=$(TARGET_CFLAGS)" \
60 "INCLUDES=$(INCLUDES)"
63 @for dir in .. ${SUBDIRS}; do \
64 if [ x$${dir} != x.. ]; then \
65 if [ -d $$dir ]; then \
66 (rootme=`pwd`/ ; export rootme ; \
67 rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \
68 cd $$dir; $(MAKE) $(FLAGS_TO_PASS)); \
74 @for dir in .. ${SUBDIRS}; do \
75 if [ x$${dir} != x.. ]; then \
77 if [ -d $$dir ]; then \
78 (cd $$dir; $(MAKE) install); \
84 -rm -f *~ core *.o a.out
85 @for dir in .. ${SUBDIRS}; do \
86 if [ x$${dir} != x.. ]; then \
88 if [ -d $$dir ]; then \
89 (cd $$dir; $(MAKE) $@); \
94 distclean maintainer-clean realclean: clean
95 @for dir in .. ${SUBDIRS}; do \
96 if [ x$${dir} != x.. ]; then \
98 (cd $$dir; $(MAKE) $@); \
102 -rm -f Makefile config.status
104 .PHONY: info install-info clean-info dvi
112 Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
113 $(SHELL) config.status