summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/dmv177/include/Makefile.am
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-24 20:03:27 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-24 20:03:27 +0000
commitb1a2ae922a6a00f48a18303c97f1cb59f5527e78 (patch)
tree65cbfce2485230df34b1e1c778b57b5b5ebf1135 /c/src/lib/libbsp/powerpc/dmv177/include/Makefile.am
parent6b5a85ae5b64bde317260c5bf15d485d867f1a09 (diff)
downloadrtems-b1a2ae922a6a00f48a18303c97f1cb59f5527e78.tar.bz2
2001-05-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add bspopts.h, AC_DEFINE CONSOLE_USE_INTERRUPTS, CONSOLE_USE_POLLED, HAS_RTC. * include/.cvsignore: Add bspopts.h*, stamp-h*, coverhd.h, tod.h. * include/Makefile.am: Use *_HEADERS instead of *H_FILES, New treatment of tod.h, coverhd.h. * include/bsp.h: Add include bspopts.h.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/dmv177/include/Makefile.am')
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/include/Makefile.am27
1 files changed, 10 insertions, 17 deletions
diff --git a/c/src/lib/libbsp/powerpc/dmv177/include/Makefile.am b/c/src/lib/libbsp/powerpc/dmv177/include/Makefile.am
index 2497acacad..518d66a5ff 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/include/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/dmv177/include/Makefile.am
@@ -4,30 +4,23 @@
AUTOMAKE_OPTIONS = foreign 1.4
-H_FILES = bsp.h ../../../shared/include/coverhd.h dmv170.h \
- ../../../shared/tod.h
+include_HEADERS = bsp.h coverhd.h dmv170.h tod.h bspopts.h
+
+tod.h: $(top_srcdir)/../../shared/tod.h
+ cp $< $@
+coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h
+ cp $< $@
+CLEANFILES += tod.h coverhd.h
$(PROJECT_INCLUDE):
$(mkinstalldirs) $@
-$(PROJECT_INCLUDE)/bsp.h: bsp.h
- $(INSTALL_DATA) $< $@
-
-$(PROJECT_INCLUDE)/coverhd.h: ../../../shared/include/coverhd.h
- $(INSTALL_DATA) $< $@
-
-$(PROJECT_INCLUDE)/dmv170.h: dmv170.h
- $(INSTALL_DATA) $< $@
-
-$(PROJECT_INCLUDE)/tod.h: ../../../shared/tod.h
+$(PROJECT_INCLUDE)/%.h: %.h
$(INSTALL_DATA) $< $@
-TMPINSTALL_FILES += $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/bsp.h \
- $(PROJECT_INCLUDE)/coverhd.h $(PROJECT_INCLUDE)/dmv170.h \
- $(PROJECT_INCLUDE)/tod.h
+TMPINSTALL_FILES += $(PROJECT_INCLUDE) \
+ $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
all-local: $(TMPINSTALL_FILES)
-EXTRA_DIST = bsp.h dmv170.h
-
include $(top_srcdir)/../../../../../../automake/local.am