source: rtems/c/src/lib/libbsp/m68k/gen68360/Makefile.am @ 7fc5229c

4.104.114.84.95
Last change on this file since 7fc5229c was 7fc5229c, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/21/04 at 14:46:20

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

  • Makefile.am: Add PREINSTALL_DIRS.
  • wrapup/Makefile.am: Reflect changes to libcpu.
  • Property mode set to 100644
File size: 1.2 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 clock console timer network wrapup
13
14include_HEADERS += include/coverhd.h
15
16S_FILES = start/start.S
17$(ARCH)/%$(LIB_VARIANT).$(OBJEXT): start/start.S $(ARCH)/$(dirstamp)
18        $(CCASCOMPILE) -DASM -o $@ -c $<
19
20project_lib_DATA = $(ARCH)/start$(LIB_VARIANT).$(OBJEXT)
21
22all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
23
24PREINSTALL_DIRS =
25TMPINSTALL_FILES =
26
27$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
28        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
29PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
30
31$(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT): $(ARCH)/start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
32        $(INSTALL_DATA) $< $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
33TMPINSTALL_FILES += $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
34
35CLEANFILES = $(PREINSTALL_FILES)
36DISTCLEANFILES = $(PREINSTALL_DIRS)
37CLEANFILES += $(TMPINSTALL_FILES)
38
39include $(top_srcdir)/../../../../automake/subdirs.am
40include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.