source: rtems/cpukit/posix/include/Makefile.am @ cbc264e6

4.104.114.84.95
Last change on this file since cbc264e6 was 58c3d04e, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 28, 2002 at 12:45:34 AM

2002-03-27 Ralf Corsepius <corsepiu@…>

  • configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]).
  • src/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Makefile.am: Remove AUTOMAKE_OPTIONS.
  • include/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • inline/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • macros/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Property mode set to 100644
File size: 1.5 KB
Line 
1##
2## $Id$
3##
4
5
6$(PROJECT_INCLUDE):
7        @$(mkinstalldirs) $@
8$(PROJECT_INCLUDE)/sys:
9        @$(mkinstalldirs) $@
10$(PROJECT_INCLUDE)/rtems/posix:
11        @$(mkinstalldirs) $@
12
13$(PROJECT_INCLUDE)/%.h: %.h
14        $(INSTALL_DATA) $< $@
15
16# include
17noinst_HEADERS = devctl.h intr.h
18
19include_HEADERS = sched.h aio.h mqueue.h semaphore.h
20
21PREINSTALL_FILES = $(PROJECT_INCLUDE) \
22    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
23
24# sys
25
26include_sysdir = $(includedir)/sys
27
28include_sys_HEADERS = sys/utsname.h
29
30PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys \
31    $(include_sys_HEADERS:%=$(PROJECT_INCLUDE)/%)
32
33# rtems/posix
34
35include_rtems_posixdir = $(includedir)/rtems/posix
36
37MP_H_FILES = rtems/posix/condmp.h rtems/posix/mqueuemp.h rtems/posix/mutexmp.h \
38    rtems/posix/pthreadmp.h rtems/posix/semaphoremp.h
39
40STD_H_FILES = rtems/posix/cancel.h rtems/posix/cond.h rtems/posix/config.h \
41    rtems/posix/key.h rtems/posix/mqueue.h rtems/posix/mutex.h \
42    rtems/posix/posixapi.h rtems/posix/priority.h rtems/posix/psignal.h \
43    rtems/posix/pthread.h rtems/posix/ptimer.h rtems/posix/semaphore.h \
44    rtems/posix/threadsup.h rtems/posix/time.h rtems/posix/timer.h \
45    $(MP_H_FILES)
46
47noinst_HEADERS += rtems/posix/intr.h rtems/posix/threadsup.h
48
49if HAS_MP
50include_rtems_posix_HEADERS = $(STD_H_FILES) $(MP_H_FILES)
51else
52include_rtems_posix_HEADERS = $(STD_H_FILES)
53endif
54
55PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix \
56    $(include_rtems_posix_HEADERS:%=$(PROJECT_INCLUDE)/%)
57
58## General
59
60all-local: $(PREINSTALL_FILES)
61
62EXTRA_DIST = $(noinst_HEADERS)
63
64include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.