summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/mips64orion
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/lib/libcpu/mips64orion/clock/Makefile.am13
-rw-r--r--c/src/lib/libcpu/mips64orion/timer/Makefile.am12
2 files changed, 12 insertions, 13 deletions
diff --git a/c/src/lib/libcpu/mips64orion/clock/Makefile.am b/c/src/lib/libcpu/mips64orion/clock/Makefile.am
index 854a2eb08c..e235a5d4de 100644
--- a/c/src/lib/libcpu/mips64orion/clock/Makefile.am
+++ b/c/src/lib/libcpu/mips64orion/clock/Makefile.am
@@ -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
diff --git a/c/src/lib/libcpu/mips64orion/timer/Makefile.am b/c/src/lib/libcpu/mips64orion/timer/Makefile.am
index 99e55df71d..ee37d10453 100644
--- a/c/src/lib/libcpu/mips64orion/timer/Makefile.am
+++ b/c/src/lib/libcpu/mips64orion/timer/Makefile.am
@@ -4,15 +4,13 @@
AUTOMAKE_OPTIONS = foreign 1.4
-PGM = ${ARCH}/timer.rel
+PGM = $(ARCH)/timer.rel
-## C source names
C_FILES = timer.c
-## Assembly source names
S_FILES = gettime.S
-timer_rel_OBJECTS = $(C_FILES:%.c=${ARCH}/%.o) $(S_FILES:%.S=${ARCH}/%.o)
+timer_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
@@ -24,8 +22,10 @@ include $(top_srcdir)/../../../../../automake/lib.am
$(PGM): $(timer_rel_OBJECTS)
$(make-rel)
-all-local: ${ARCH} $(PGM)
+all-local: $(ARCH) $(timer_rel_OBJECTS) $(PGM)
-EXTRA_DIST = $(S_FILES) $(C_FILES)
+.PRECIOUS: $(PGM)
+
+EXTRA_DIST = gettime.S timer.c
include $(top_srcdir)/../../../../../automake/local.am