#	$Id$
#
# Makefile.in for pcc-libs/csu
#

@SET_MAKE@

prefix = @prefix@
exec_prefix = @exec_prefix@
libdir = @libdir@
srcdir = @srcdir@

TARGOS = @targos@
TARGMACH = @targmach@
TARGET = @target@
VERSION = @version@
PCCLIBDIR = $(libdir)/pcc/$(TARGET)/$(VERSION)/lib

CC = @CC@
CFLAGS = @CFLAGS@

MFLAGS = CC="$(CC)" MACH="$(TARGMACH)" PCCLIBDIR="$(PCCLIBDIR)"

all clean install:
	if test -f $(srcdir)/$(TARGOS)/Makefile; then			\
		(cd $(srcdir)/$(TARGOS) && exec $(MAKE) $(MFLAGS) $@)	\
		    || exit $$?;					\
	fi

distclean: clean
	/bin/rm -f Makefile
