summaryrefslogtreecommitdiffstats
path: root/c/src/libnetworking/sys/Makefile.am
blob: 07888ddcc7078efdb3c606c1314a1c3ba49b6ace (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
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

H_FILES = buf.h callout.h cdefs.h conf.h domain.h filio.h ioccom.h \
    ioctl.h kernel.h libkern.h malloc.h mbuf.h mount.h param.h proc.h \
    protosw.h queue.h reboot.h resourcevar.h rtprio.h select.h signalvar.h \
    socket.h socketvar.h sockio.h sysctl.h syslimits.h syslog.h systm.h \
    ttycom.h ttydefaults.h ucred.h uio.h un.h

noinst_HEADERS = $(H_FILES)

PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys $(H_FILES:%=$(PROJECT_INCLUDE)/sys/%)

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

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

all-local: $(PREINSTALL_FILES)

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