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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [utils/] [amd-udi/] [Makefile.in] - Rev 1777

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

#
# Makefile for utils/amd-udi/mondfe and montip tools
#   Copyright (C) 1993 Free Software Foundation
#
# 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. 
#
# Written by Jeffrey Wheat (cassidy@cygnus.com)
#

#### Start of system configuration section. ####

srcdir = @srcdir@
VPATH = @srcdir@

CC = @CC@

INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@

DEFS = @DEFS@
LIBS = @LIBS@
RANLIB = @RANLIB@

AR = ar
AR_FLAGS = rv

CFLAGS = -g

LD = ld
LDFLAGS = -g

MV = mv
RM = rm

prefix = /usr/local
exec_prefix = $(prefix)

bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/lib

mandir = $(prefix)/man
man1dir = $(mandir)/man1
man2dir = $(mandir)/man2
man3dir = $(mandir)/man3
man4dir = $(mandir)/man4
man5dir = $(mandir)/man5
man6dir = $(mandir)/man6
man7dir = $(mandir)/man7
man8dir = $(mandir)/man8

SHELL = /bin/sh

INSTALL = install -c
INSTALL_DATA = $(INSTALL)
INSTALL_PROGRAM = $(INSTALL)

#### End of system configuration section. ####

SHELL = /bin/sh

MAKEINFO = makeinfo
TEXI2DVI = texi2dvi

SUBDIRS = udi mondfe montip

# These are roughly topologically sorted in order to make porting more
# streamlined.
FLAGS_TO_PASS = \
        "CC=$(CC)" \
        "CFLAGS=$(CFLAGS)" \
        "AR=$(AR)" \
        "RANLIB=$(RANLIB)" \
        "AR_FLAGS=$(AR_FLAGS)" \
        "LD=$(LD)" \
        "LDFLAGS=$(LDFLAGS)" \
        "AS=$(AS)" \
        "MV=$(MV)" \
        "RM=$(RM)" \
        "CROSS_CFLAGS=$(CROSS_CFLAGS)" \
        "TARGET_CFLAGS=$(TARGET_CFLAGS)" \
        "INCLUDES=$(INCLUDES)"

all:
        @for dir in ${SUBDIRS}; do \
        if [ -d $$dir ]; then \
            (rootme=`pwd`/ ; export rootme ; \
            rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \
            cd $$dir; $(MAKE) $(FLAGS_TO_PASS)); \
            fi; \
        done

install:
        @for dir in ${SUBDIRS}; do \
            echo "$$dir:"; \
            if [ -d $$dir ]; then \
                (cd $$dir; $(MAKE) install); \
                fi; \
            done

clean mostlyclean:
        -rm -f *~ core *.o a.out 
        @for dir in ${SUBDIRS}; do \
            echo "$$dir:"; \
            if [ -d $$dir ]; then \
                (cd $$dir; $(MAKE) $@); \
                fi; \
            done

distclean maintainer-clean realclean: clean
        @for dir in ${SUBDIRS}; do \
            echo "$$dir:"; \
            (cd $$dir; $(MAKE) $@); \
        done
        -rm -f *~ core
        -rm -f Makefile config.status 

.c.o:
        $(CC) -c $(CFLAGS) $(INCLUDE) $(CPPFLAGS) $(DEFS) $<

install-info: info

installcheck:

check: 

Makefile: Makefile.in configure.in
        $(SHELL) ./config.status

configure: configure.in
        autoconf

TAGS: $(SRCS)
        etags $(SRCS)

# Prevent GNU make v3 from overflowing arg limit on SysV.
.NOEXPORT:

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.