source: rtems/cpukit/rtems/include/Makefile.am @ fed6210d

4.104.114.84.9
Last change on this file since fed6210d was fed6210d, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jun 17, 2002 at 9:27:44 AM

2002-06-17 Ralf Corsepius <corsepiu@…>

  • Include $(top_srcdir)/automake/*.am.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1##
2##  $Id$
3##
4
5
6$(PROJECT_INCLUDE)/%.h: %.h
7        $(INSTALL_DATA) $< $@
8
9include_HEADERS = rtems.h
10
11$(PROJECT_INCLUDE):
12        @$(mkinstalldirs) $@
13
14PREINSTALL_FILES = $(PROJECT_INCLUDE) \
15    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
16
17include_rtems_rtemsdir = $(includedir)/rtems/rtems
18
19$(PROJECT_INCLUDE)/rtems/rtems:
20        @$(mkinstalldirs) $@
21
22## We only build multiprocessing related files if HAS_MP was defined
23MP_H_FILES = rtems/rtems/eventmp.h rtems/rtems/mp.h rtems/rtems/msgmp.h \
24    rtems/rtems/partmp.h rtems/rtems/regionmp.h rtems/rtems/semmp.h \
25    rtems/rtems/signalmp.h rtems/rtems/taskmp.h
26
27STD_H_FILES = rtems/rtems/asr.h rtems/rtems/attr.h rtems/rtems/cache.h \
28    rtems/rtems/clock.h rtems/rtems/config.h rtems/rtems/dpmem.h \
29    rtems/rtems/event.h rtems/rtems/eventset.h rtems/rtems/intr.h \
30    rtems/rtems/message.h rtems/rtems/modes.h rtems/rtems/options.h \
31    rtems/rtems/part.h rtems/rtems/ratemon.h rtems/rtems/region.h \
32    rtems/rtems/rtemsapi.h rtems/rtems/sem.h rtems/rtems/signal.h \
33    rtems/rtems/status.h rtems/rtems/support.h rtems/rtems/tasks.h \
34    rtems/rtems/timer.h rtems/rtems/types.h
35
36if HAS_MP
37include_rtems_rtems_HEADERS = $(STD_H_FILES) $(MP_H_FILES)
38else
39include_rtems_rtems_HEADERS = $(STD_H_FILES)
40endif
41
42PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems \
43    $(include_rtems_rtems_HEADERS:%=$(PROJECT_INCLUDE)/%)
44
45all-local: $(PREINSTALL_FILES)
46
47include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.