source: rtems/cpukit/Makefile.am @ 2609e83

4.104.114.84.95
Last change on this file since 2609e83 was 3d1de20, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/19/04 at 07:29:05

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

  • Makefile.am: Add PREINSTALL_DIRS.
  • 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/multilib.am
8
9SUBDIRS = . ada score rtems sapi posix itron
10SUBDIRS += libcsupport libblock libfs
11SUBDIRS += libnetworking librpc
12SUBDIRS += libmisc
13SUBDIRS += wrapup
14
15noinst_DATA = preinstall-stamp
16
17preinstall-stamp:
18        $(MAKE) $(AM_MAKEFLAGS) preinstall
19        touch preinstall-stamp
20CLEANFILES = preinstall-stamp
21
22include_rtemsdir = $(includedir)/rtems
23include_rtems_HEADERS = include/rtems/bspIo.h include/rtems/userenv.h \
24    include/rtems/fs.h include/rtems/stdint.h
25
26PREINSTALL_DIRS =
27PREINSTALL_FILES =
28
29$(PROJECT_INCLUDE)/rtems/$(dirstamp):
30        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
31        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
32PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
33
34$(PROJECT_INCLUDE)/rtems/bspIo.h: include/rtems/bspIo.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
35        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/bspIo.h
36PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/bspIo.h
37
38$(PROJECT_INCLUDE)/rtems/userenv.h: include/rtems/userenv.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
39        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/userenv.h
40PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/userenv.h
41
42$(PROJECT_INCLUDE)/rtems/fs.h: include/rtems/fs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
43        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/fs.h
44PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fs.h
45
46$(PROJECT_INCLUDE)/rtems/stdint.h: include/rtems/stdint.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
47        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/stdint.h
48PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/stdint.h
49
50CLEANFILES += $(PREINSTALL_FILES)
51DISTCLEANFILES = $(PREINSTALL_DIRS)
52
53include $(top_srcdir)/automake/subdirs.am
54include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.