source: rtems/c/src/lib/libbsp/sh/simsh4/Makefile.am @ ff716ea0

4.104.114.84.95
Last change on this file since ff716ea0 was ff716ea0, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/14/04 at 07:11:35

2004-01-14 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES. Add PRE/TMPINSTALL_FILES to CLEANFILES.
  • startup/Makefile.am: Ditto.
  • Property mode set to 100644
File size: 1.7 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../bsp.am
9
10## wrapup is the one that actually builds and installs the library
11## from the individual .rel files built in other directories
12SUBDIRS = . startup console clock timer wrapup
13SUBDIRS += tools
14
15# FIXME: This directory is missing
16# ramdisk
17
18include_HEADERS += include/syscall.h
19include_HEADERS += include/ramdisk.h
20include_HEADERS += include/coverhd.h
21
22S_FILES = start/start.S
23$(ARCH)/%$(LIB_VARIANT).$(OBJEXT): start/start.S $(ARCH)/$(dirstamp)
24        ${CCASCOMPILE} -DASM -o $@ -c $<
25
26project_lib_DATA = $(ARCH)/start$(LIB_VARIANT).$(OBJEXT)
27
28all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
29
30EXTRA_DIST = $(S_FILES)
31
32TMPINSTALL_FILES =
33
34$(PROJECT_INCLUDE)/syscall.h: include/syscall.h $(PROJECT_INCLUDE)/$(dirstamp)
35        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/syscall.h
36PREINSTALL_FILES += $(PROJECT_INCLUDE)/syscall.h
37
38$(PROJECT_INCLUDE)/ramdisk.h: include/ramdisk.h $(PROJECT_INCLUDE)/$(dirstamp)
39        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ramdisk.h
40PREINSTALL_FILES += $(PROJECT_INCLUDE)/ramdisk.h
41
42$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
43        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
44PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
45
46$(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT): $(ARCH)/start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
47        $(INSTALL_DATA) $< $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
48TMPINSTALL_FILES += $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
49
50CLEANFILES = $(PREINSTALL_FILES)
51CLEANFILES += $(TMPINSTALL_FILES)
52
53include $(top_srcdir)/../../../../automake/subdirs.am
54include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.