OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.3/] [utils/] [Makefile.in] - Rev 1779

Go to most recent revision | Compare with Previous | Blame | View Log


#
# Makefile.tpl, Makefile.in, Makefile
#   Copyright 2002 Free Software Foundation
#
# This file is part of GDB.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

SHELL = /bin/sh

prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
datadir = @datadir@
mandir = @mandir@
infodir = @infodir@
includedir = @includedir@
srcdir = @srcdir@
abs_srcdir = @abs_srcdir@

man1dir = $(mandir)/man1
man2dir = $(mandir)/man2
man3dir = $(mandir)/man3
man4dir = $(mandir)/man4
man5dir = $(mandir)/man5
man6dir = $(mandir)/man6
man7dir = $(mandir)/man7
man8dir = $(mandir)/man8
man9dir = $(mandir)/man9
tooldir = $(exec_prefix)

subconfigure_args = @subconfigure_args@

# Should it be INSTALL = @INSTALL@ -c ?
# The old makefile passed the -c argument.
INSTALL = @INSTALL@
INSTALL_PROGRAM = $(INSTALL)
INSTALL_DATA = $(INSTALL)

# public targets
all: @all_subdirs@
install: @install_subdirs@

mostlyclean: @mostlyclean_subdirs@
clean: @clean_subdirs@

# These should always clean all sudirectories...
distclean: distclean-spu distclean-sparclite distclean-wince 
maintainer-clean: maintainer-clean-spu maintainer-clean-sparclite maintainer-clean-wince 
clean mostlyclean:
        -rm -f *~ core *.o a.out 
maintainer-clean distclean:
        -rm -f Makefile config.status config.log config.cache *~ core *.o a.out 

info:
install-info:
clean-info:
dvi:

.PHONY: all install clean mostlyclean distclean maintainer-clean
.PHONY: info install-info clean-info dvi
.NOEXPORT:

# Rules for regenerating this Makefile
Makefile: $(srcdir)/Makefile.in config.status
        ./config.status

$(srcdir)/Makefile.in: $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
        cd $(srcdir) && autogen Makefile.def

config.status: $(srcdir)/configure
        ./config.status --recheck

$(srcdir)/configure: $(srcdir)/configure.in
        cd $(srcdir) && autoconf

# Miscellaneous variable setting
AR_FLAGS = qv
FLAGS_TO_PASS = \
        "CC=$(CC)" \
        "CFLAGS=$(CFLAGS)" \
        "AR=$(AR)" \
        "AR_FLAGS=$(AR_FLAGS)" \
        "AS=$(AS)" \
        "CROSS_CFLAGS=$(CROSS_CFLAGS)" \
        "TARGET_CFLAGS=$(TARGET_CFLAGS)" \
        "INCLUDES=$(INCLUDES)"

# Everything from here on down is generated by FOR loops in autogen.

# Glue for all.

all-spu: configure-spu
        cd spu && $(MAKE) $(FLAGS_TO_PASS) all
.PHONY: all-spu

all-sparclite: configure-sparclite
        cd sparclite && $(MAKE) $(FLAGS_TO_PASS) all
.PHONY: all-sparclite

all-wince: configure-wince
        cd wince && $(MAKE) $(FLAGS_TO_PASS) all
.PHONY: all-wince

# Glue for install.

install-spu: configure-spu
        cd spu && $(MAKE)  install
.PHONY: install-spu

install-sparclite: configure-sparclite
        cd sparclite && $(MAKE)  install
.PHONY: install-sparclite

install-wince: configure-wince
        cd wince && $(MAKE)  install
.PHONY: install-wince

# Glue for mostlyclean.

mostlyclean-spu: configure-spu
        cd spu && $(MAKE)  mostlyclean
.PHONY: mostlyclean-spu

mostlyclean-sparclite: configure-sparclite
        cd sparclite && $(MAKE)  mostlyclean
.PHONY: mostlyclean-sparclite

mostlyclean-wince: configure-wince
        cd wince && $(MAKE)  mostlyclean
.PHONY: mostlyclean-wince

# Glue for clean.

clean-spu: configure-spu
        cd spu && $(MAKE)  clean
.PHONY: clean-spu

clean-sparclite: configure-sparclite
        cd sparclite && $(MAKE)  clean
.PHONY: clean-sparclite

clean-wince: configure-wince
        cd wince && $(MAKE)  clean
.PHONY: clean-wince

# Glue for distclean.

distclean-spu: configure-spu
        -cd spu && $(MAKE)  distclean
.PHONY: distclean-spu

distclean-sparclite: configure-sparclite
        -cd sparclite && $(MAKE)  distclean
.PHONY: distclean-sparclite

distclean-wince: configure-wince
        -cd wince && $(MAKE)  distclean
.PHONY: distclean-wince

# Glue for maintainer-clean.

maintainer-clean-spu: configure-spu
        -cd spu && $(MAKE)  maintainer-clean
.PHONY: maintainer-clean-spu

maintainer-clean-sparclite: configure-sparclite
        -cd sparclite && $(MAKE)  maintainer-clean
.PHONY: maintainer-clean-sparclite

maintainer-clean-wince: configure-wince
        -cd wince && $(MAKE)  maintainer-clean
.PHONY: maintainer-clean-wince

# Glue for configure.

configure-spu: spu/Makefile
spu/Makefile: config.status
        test -d spu || mkdir spu ; \
        cd spu && $(abs_srcdir)/spu/configure $(subconfigure_args)
.PHONY: configure-spu

configure-sparclite: sparclite/Makefile
sparclite/Makefile: config.status
        test -d sparclite || mkdir sparclite ; \
        cd sparclite && $(abs_srcdir)/sparclite/configure $(subconfigure_args)
.PHONY: configure-sparclite

configure-wince: wince/Makefile
wince/Makefile: config.status
        test -d wince || mkdir wince ; \
        cd wince && $(abs_srcdir)/wince/configure $(subconfigure_args)
.PHONY: configure-wince

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.