source: rtems/c/src/libnetworking/sys/Makefile.am @ e89694e

Last change on this file since e89694e was e89694e, checked in by Joel Sherrill <joel.sherrill@…>, on 05/31/00 at 22:31:26

Distributed the preinstall of the header files to the directories
owning the header files.

  • Property mode set to 100644
File size: 681 bytes
RevLine 
[4bf1801]1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
[e89694e]7H_FILES = buf.h callout.h cdefs.h conf.h domain.h filio.h ioccom.h \
[4bf1801]8    ioctl.h kernel.h libkern.h malloc.h mbuf.h mount.h param.h proc.h \
9    protosw.h queue.h reboot.h resourcevar.h rtprio.h select.h signalvar.h \
10    socket.h socketvar.h sockio.h sysctl.h syslimits.h syslog.h systm.h \
[fc1459f]11    ttycom.h ttydefaults.h ucred.h uio.h un.h
[4bf1801]12
[e89694e]13noinst_HEADERS = $(H_FILES)
14
15PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys $(H_FILES:%=$(PROJECT_INCLUDE)/sys/%)
16
17$(PROJECT_INCLUDE)/sys:
18        @$(mkinstalldirs) $@
19
20$(PROJECT_INCLUDE)/sys/%.h: %.h
21        $(INSTALL_DATA) $< $@
22
23all-local: $(PREINSTALL_FILES)
24
[4bf1801]25include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.