summaryrefslogtreecommitdiffstats
path: root/c/src/libnetworking/machine/Makefile.am
blob: a9f5e98f14532557a7193b22aed90182d05a08c1 (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