2004-01-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* gnatsupp/Makefile.am: Eliminate VPATH.
This commit is contained in:
Ralf Corsepius
2004-01-12 05:36:02 +00:00
parent 03f584cfe4
commit b817474898
2 changed files with 15 additions and 14 deletions

View File

@@ -1,3 +1,7 @@
2004-01-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* gnatsupp/Makefile.am: Eliminate VPATH.
2004-01-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* start/.cvsignore: Remove.

View File

@@ -2,29 +2,26 @@
## $Id$
##
VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
PGM = $(ARCH)/gnatsupp.rel
C_FILES = gnatsupp.c gnatcommon.c
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
OBJS = $(C_O_FILES)
include $(top_srcdir)/../../../../automake/compile.am
include $(top_srcdir)/../../../../automake/lib.am
#
# (OPTIONAL) Add local stuff here using +=
#
C_FILES = gnatsupp.c
OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
sparc_shared_C_FILES = $(top_srcdir)/../../sparc/shared/gnatcommon.c
OBJS += \
$(sparc_shared_C_FILES:$(top_srcdir)/../../sparc/shared/%.c=$(ARCH)/%.$(OBJEXT))
$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../sparc/shared/%.c $(ARCH)/$(dirstamp)
${COMPILE} -o $@ -c $<
$(PGM): $(OBJS)
$(make-rel)
all-local: $(OBJS) $(PGM)
noinst_DATA = $(PGM)
.PRECIOUS: $(PGM)
EXTRA_DIST = gnatsupp.c gnatcommon.c
EXTRA_DIST = $(C_FILES)
include $(top_srcdir)/../../../../automake/local.am