source: trunk/libs/newlib/src/libgloss/testsuite/Makefile.in @ 509

Last change on this file since 509 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 2.6 KB
RevLine 
[444]1#
2# Makefile
3#   Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995 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
20srcdir = .
21
22prefix = /usr/local
23
24exec_prefix = $(prefix)
25bindir = $(exec_prefix)/bin
26libdir = $(exec_prefix)/lib
27tooldir = $(exec_prefix)
28
29SHELL = /bin/sh
30
31INSTALL = `cd $(srcdir); pwd`/../../install-sh -c
32INSTALL_PROGRAM = $(INSTALL)
33INSTALL_DATA = $(INSTALL)
34
35AR_FLAGS = qv
36BISON = bison
37MAKEINFO = makeinfo
38
39SUBDIRS =
40OBJROOT =
41SRCROOT =
42
43.NOEXPORT:
44MAKEOVERRIDES=
45
46#### Host, target, and site specific Makefile fragments come in here.
47###
48
49# These are roughly topologically sorted in order to make porting more
50# streamlined.
51FLAGS_TO_PASS = \
52        "prefix=$(prefix)" \
53        "exec_prefix=$(exec_prefix)" \
54        "CC=$(CC)" \
55        "CFLAGS=$(CFLAGS)" \
56        "AR=$(AR)" \
57        "RANLIB=$(RANLIB)" \
58        "AR_FLAGS=$(AR_FLAGS)" \
59        "AS=$(AS)" \
60        "CROSS_CFLAGS=$(CROSS_CFLAGS)" \
61        "TARGET_CFLAGS=$(TARGET_CFLAGS)" \
62        "OBJROOT=$(OBJROOT)"
63
64all:
65        @for dir in ${SUBDIRS}; do \
66        if [ -d $$dir ]; then \
67            (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)); \
68        else true; fi; \
69        done
70
71install:
72        -rm -f *~ core *.o a.out xgdb *.x
73        for dir in ${SUBDIRS}; do \
74            echo "$$dir:"; \
75            if [ -d $$dir ]; then \
76                (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install); \
77            else true; fi; \
78            done
79
80clean-here:
81        -rm -f *~ core *.o a.out xgdb *.x
82
83clean mostlyclean: clean-here
84        for dir in ${SUBDIRS}; do \
85            echo "$$dir:"; \
86            if [ -d $$dir ]; then \
87                (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@); \
88            else true; fi; \
89            done
90
91distclean maintainer-clean realclean: clean-here
92        for dir in ${SUBDIRS}; do \
93            echo "$$dir:"; \
94            if [ -d $$dir ]; then \
95                (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@); \
96            else true; fi; \
97            done
98        -rm -f Makefile config.status *-init.exp site.*
99        -rm -fr *.log summary detail *.sum blockit
100
101.PHONY: info install-info clean-info
102info:
103install-info:
104clean-info:
105
106force:
107
108Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
109        $(SHELL) config.status
Note: See TracBrowser for help on using the repository browser.