forked from Imagelibrary/rtems
Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> that contain: * Modifications, (minor) corrections, cleanups to most existing Makefile.ams * Adds automake support to all remaining BSPs which have not yet been converted to automake. * Makefile.am for all remaining wrapup/Makefile.ams
This commit is contained in:
@@ -4,18 +4,15 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PGM = ${ARCH}/clock.rel
|
||||
PGM = $(ARCH)/clock.rel
|
||||
|
||||
## C source names
|
||||
C_FILES = ckinit.c
|
||||
|
||||
## Assembly source names
|
||||
S_FILES = clock.S
|
||||
|
||||
H_FILES = clock.h
|
||||
noinst_HEADERS = $(H_FILES)
|
||||
|
||||
clock_rel_OBJECTS = $(C_FILES:%.c=${ARCH}/%.o) $(S_FILES:%.S=${ARCH}/%.o)
|
||||
clock_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.o) $(S_FILES:%.S=$(ARCH)/%.o)
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(top_srcdir)/../../../../../automake/lib.am
|
||||
@@ -27,8 +24,10 @@ include $(top_srcdir)/../../../../../automake/lib.am
|
||||
$(PGM): $(clock_rel_OBJECTS)
|
||||
$(make-rel)
|
||||
|
||||
all-local: ${ARCH} $(PGM)
|
||||
all-local: $(ARCH) $(clock_rel_OBJECTS) $(PGM)
|
||||
|
||||
EXTRA_DIST = $(S_FILES) $(C_FILES)
|
||||
.PRECIOUS: $(PGM)
|
||||
|
||||
EXTRA_DIST = ckinit.c clock.S clock.h
|
||||
|
||||
include $(top_srcdir)/../../../../../automake/local.am
|
||||
|
||||
Reference in New Issue
Block a user