diff options
Diffstat (limited to 'c/src/lib/libcpu/mips')
-rw-r--r-- | c/src/lib/libcpu/mips/clock/Makefile.am | 34 | ||||
-rw-r--r-- | c/src/lib/libcpu/mips/timer/Makefile.am | 31 |
2 files changed, 65 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/mips/clock/Makefile.am b/c/src/lib/libcpu/mips/clock/Makefile.am new file mode 100644 index 0000000000..854a2eb08c --- /dev/null +++ b/c/src/lib/libcpu/mips/clock/Makefile.am @@ -0,0 +1,34 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +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) + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../../../../../automake/lib.am + +# +# (OPTIONAL) Add local stuff here using += +# + +$(PGM): $(clock_rel_OBJECTS) + $(make-rel) + +all-local: ${ARCH} $(PGM) + +EXTRA_DIST = $(S_FILES) $(C_FILES) + +include $(top_srcdir)/../../../../../automake/local.am diff --git a/c/src/lib/libcpu/mips/timer/Makefile.am b/c/src/lib/libcpu/mips/timer/Makefile.am new file mode 100644 index 0000000000..99e55df71d --- /dev/null +++ b/c/src/lib/libcpu/mips/timer/Makefile.am @@ -0,0 +1,31 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +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) + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../../../../../automake/lib.am + +# +# (OPTIONAL) Add local stuff here using += +# + +$(PGM): $(timer_rel_OBJECTS) + $(make-rel) + +all-local: ${ARCH} $(PGM) + +EXTRA_DIST = $(S_FILES) $(C_FILES) + +include $(top_srcdir)/../../../../../automake/local.am |