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

4.104.114.84.95
Last change on this file since dc7fb59b was dc7fb59b, checked in by Joel Sherrill <joel.sherrill@…>, on May 14, 2002 at 6:45:34 PM

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

  • include/sys/utsname.h: Remove.
  • include/Makefile.am: Reflect changes above.
  • src/utsname.c: Remove.
  • src/Makefile.am: Reflect changes above.
  • Property mode set to 100644
File size: 1.4 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# rtems/posix
25
26include_rtems_posixdir = $(includedir)/rtems/posix
27
28MP_H_FILES = rtems/posix/condmp.h rtems/posix/mqueuemp.h rtems/posix/mutexmp.h \
29    rtems/posix/pthreadmp.h rtems/posix/semaphoremp.h
30
31STD_H_FILES = rtems/posix/cancel.h rtems/posix/cond.h rtems/posix/config.h \
32    rtems/posix/key.h rtems/posix/mqueue.h rtems/posix/mutex.h \
33    rtems/posix/posixapi.h rtems/posix/priority.h rtems/posix/psignal.h \
34    rtems/posix/pthread.h rtems/posix/ptimer.h rtems/posix/semaphore.h \
35    rtems/posix/threadsup.h rtems/posix/time.h rtems/posix/timer.h \
36    $(MP_H_FILES)
37
38noinst_HEADERS += rtems/posix/intr.h rtems/posix/threadsup.h
39
40if HAS_MP
41include_rtems_posix_HEADERS = $(STD_H_FILES) $(MP_H_FILES)
42else
43include_rtems_posix_HEADERS = $(STD_H_FILES)
44endif
45
46PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix \
47    $(include_rtems_posix_HEADERS:%=$(PROJECT_INCLUDE)/%)
48
49## General
50
51all-local: $(PREINSTALL_FILES)
52
53EXTRA_DIST = $(noinst_HEADERS)
54
55include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.