summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include/Makefile.am
blob: 387e5996415828c23fa054852a2a6a6ee8e0652e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

## RTEMS unistd.h needs to be checked against newlib's and removed
UNUSED_H_FILES = devctl.h intr.h unistd.h

H_FILES = sched.h aio.h mqueue.h semaphore.h

# H_FILES = pthread.h sched.h aio.h mqueue.h semaphore.h

noinst_HEADERS = $(H_FILES)

PREINSTALL_FILES += $(PROJECT_INCLUDE) \
    $(noinst_HEADERS:%=$(PROJECT_INCLUDE)/%)

$(PROJECT_INCLUDE):
	@$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/%.h: %.h
	$(INSTALL_DATA) $< $@

all-local: $(PREINSTALL_FILES)

SUBDIRS = rtems sys

EXTRA_DIST = $(UNUSED_H_FILES)

include $(top_srcdir)/../../../../automake/subdirs.am
include $(top_srcdir)/../../../../automake/local.am