diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-11-07 07:30:36 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-11-07 07:30:36 +0000 |
commit | b98d0013c159ffbe06ad3eb619509d1170008fcd (patch) | |
tree | 5b7cf87a4d116fd731fff9c794ae4991b673c277 /testsuites/samples/hello/Makefile.am | |
parent | Add $(PGM): ${ARCH}/$(dirstamp). (diff) | |
download | rtems-b98d0013c159ffbe06ad3eb619509d1170008fcd.tar.bz2 |
Partial conversion to automake.
Diffstat (limited to '')
-rw-r--r-- | testsuites/samples/hello/Makefile.am | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/testsuites/samples/hello/Makefile.am b/testsuites/samples/hello/Makefile.am index 18e67cb19a..81231ee08e 100644 --- a/testsuites/samples/hello/Makefile.am +++ b/testsuites/samples/hello/Makefile.am @@ -7,22 +7,19 @@ PGM = ${ARCH}/$(SAMPLE).exe MANAGERS = io -C_FILES = init.c -C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT)) - -H_FILES = system.h -noinst_HEADERS = $(H_FILES) +noinst_LIBRARIES = lib.a +lib_a_SOURCES = init.c system.h DOCTYPES = doc scn DOCS = $(DOCTYPES:%=$(SAMPLE).%) -SRCS = $(DOCS) $(C_FILES) $(H_FILES) -OBJS = $(C_O_FILES) +SRCS = $(DOCS) +OBJS = $(lib_a_OBJECTS) PRINT_SRCS = $(DOCS) include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am +include $(top_srcdir)/../automake/amcompile.am include $(top_srcdir)/../automake/leaf.am include $(top_srcdir)/sample.am @@ -35,7 +32,7 @@ all-local: $(TMPINSTALL_FILES) ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) -EXTRA_DIST = $(C_FILES) $(DOCS) +EXTRA_DIST = $(DOCS) CLEANFILES = $(TMPINSTALL_FILES) |