source: rtems/c/src/ada/Makefile.am @ 3d1de20

4.104.114.84.95
Last change on this file since 3d1de20 was 3d1de20, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 19, 2004 at 7:29:05 AM

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

  • Makefile.am: Add PREINSTALL_DIRS.
  • Property mode set to 100644
File size: 1.5 KB
Line 
1#
2# $Id$
3#
4
5if RTEMS_ADA
6include_adadir = $(includedir)/adainclude
7include_ada_HEADERS = rtems.adb rtems.ads
8include_ada_HEADERS += rtems-multiprocessing.adb rtems-multiprocessing.ads
9endif
10
11all-local: $(PREINSTALL_FILES)
12
13PREINSTALL_DIRS =
14PREINSTALL_FILES =
15
16if RTEMS_ADA
17$(PROJECT_INCLUDE)/adainclude/$(dirstamp):
18        @$(mkdir_p) $(PROJECT_INCLUDE)/adainclude
19        @: > $(PROJECT_INCLUDE)/adainclude/$(dirstamp)
20PREINSTALL_DIRS += $(PROJECT_INCLUDE)/adainclude/$(dirstamp)
21
22$(PROJECT_INCLUDE)/adainclude/rtems.adb: rtems.adb $(PROJECT_INCLUDE)/adainclude/$(dirstamp)
23        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/adainclude/rtems.adb
24PREINSTALL_FILES += $(PROJECT_INCLUDE)/adainclude/rtems.adb
25
26$(PROJECT_INCLUDE)/adainclude/rtems.ads: rtems.ads $(PROJECT_INCLUDE)/adainclude/$(dirstamp)
27        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/adainclude/rtems.ads
28PREINSTALL_FILES += $(PROJECT_INCLUDE)/adainclude/rtems.ads
29
30$(PROJECT_INCLUDE)/adainclude/rtems-multiprocessing.adb: rtems-multiprocessing.adb $(PROJECT_INCLUDE)/adainclude/$(dirstamp)
31        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/adainclude/rtems-multiprocessing.adb
32PREINSTALL_FILES += $(PROJECT_INCLUDE)/adainclude/rtems-multiprocessing.adb
33
34$(PROJECT_INCLUDE)/adainclude/rtems-multiprocessing.ads: rtems-multiprocessing.ads $(PROJECT_INCLUDE)/adainclude/$(dirstamp)
35        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/adainclude/rtems-multiprocessing.ads
36PREINSTALL_FILES += $(PROJECT_INCLUDE)/adainclude/rtems-multiprocessing.ads
37endif
38
39CLEANFILES = $(PREINSTALL_FILES)
40DISTCLEANFILES = $(PREINSTALL_DIRS)
41
42include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.