From beec29b7a9bef2a158bd87c2a4d6d007b23f5cdd Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 17 Oct 2001 20:27:41 +0000 Subject: 2001-10-17 Joel Sherrill * timer: New subdirectory. * timer/Makefile.am: New file. * timer/.cvsignore: New file. * Makefile.am: Modified to reflect above. * configure.ac: Ditto. --- c/src/lib/libbsp/m68k/sim68000/Makefile.am | 3 +- c/src/lib/libbsp/m68k/sim68000/configure.ac | 1 + c/src/lib/libbsp/m68k/sim68000/timer/.cvsignore | 2 ++ c/src/lib/libbsp/m68k/sim68000/timer/Makefile.am | 35 ++++++++++++++++++++++++ 4 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 c/src/lib/libbsp/m68k/sim68000/timer/.cvsignore create mode 100644 c/src/lib/libbsp/m68k/sim68000/timer/Makefile.am (limited to 'c/src/lib/libbsp/m68k') diff --git a/c/src/lib/libbsp/m68k/sim68000/Makefile.am b/c/src/lib/libbsp/m68k/sim68000/Makefile.am index a0320f099b..a18be0ca0c 100644 --- a/c/src/lib/libbsp/m68k/sim68000/Makefile.am +++ b/c/src/lib/libbsp/m68k/sim68000/Makefile.am @@ -7,8 +7,7 @@ ACLOCAL_AMFLAGS = -I ../../../../../../aclocal # wrapup is the one that actually builds and installs the library # from the individual .rel files built in other directories -#SUBDIRS = include start startup clock console timer wrapup -SUBDIRS = include start startup clock console wrapup +SUBDIRS = include start startup clock console timer wrapup include $(top_srcdir)/../../bsp.am diff --git a/c/src/lib/libbsp/m68k/sim68000/configure.ac b/c/src/lib/libbsp/m68k/sim68000/configure.ac index fa9d869ed7..f27d374035 100644 --- a/c/src/lib/libbsp/m68k/sim68000/configure.ac +++ b/c/src/lib/libbsp/m68k/sim68000/configure.ac @@ -30,5 +30,6 @@ console/Makefile include/Makefile start/Makefile startup/Makefile +timer/Makefile wrapup/Makefile]) AC_OUTPUT diff --git a/c/src/lib/libbsp/m68k/sim68000/timer/.cvsignore b/c/src/lib/libbsp/m68k/sim68000/timer/.cvsignore new file mode 100644 index 0000000000..282522db03 --- /dev/null +++ b/c/src/lib/libbsp/m68k/sim68000/timer/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/c/src/lib/libbsp/m68k/sim68000/timer/Makefile.am b/c/src/lib/libbsp/m68k/sim68000/timer/Makefile.am new file mode 100644 index 0000000000..7e3394e263 --- /dev/null +++ b/c/src/lib/libbsp/m68k/sim68000/timer/Makefile.am @@ -0,0 +1,35 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +VPATH = @srcdir@:@srcdir@/../../../shared + +PGM = $(ARCH)/timer.rel + +C_FILES = timerstub.c +C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) + +OBJS = $(C_O_FILES) + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../../../../../../automake/compile.am +include $(top_srcdir)/../../../../../../automake/lib.am + +# +# (OPTIONAL) Add local stuff here using += +# + +$(PGM): $(OBJS) + $(make-rel) + +# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile + +all-local: $(ARCH) $(OBJS) $(PGM) + +.PRECIOUS: $(PGM) + +EXTRA_DIST = timer.c + +include $(top_srcdir)/../../../../../../automake/local.am -- cgit v1.2.3