summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/machine/Makefile.am
blob: 8dda8e015f82300be5b1b051815b5bb30e72a503 (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
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

include_machinedir = $(includedir)/machine

include_machine_HEADERS = conf.h cpu.h cpufunc.h endian.h in_cksum.h limits.h param.h \
    types.h vmparam.h

PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine \
    $(include_machine_HEADERS:%=$(PROJECT_INCLUDE)/machine/%)

$(PROJECT_INCLUDE)/machine:
	@$(mkinstalldirs) $@

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

all-local: $(PREINSTALL_FILES)

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