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

Last change on this file since e89694e was e89694e, checked in by Joel Sherrill <joel.sherrill@…>, on May 31, 2000 at 10:31:26 PM

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

  • Property mode set to 100644
File size: 1.5 KB
Line 
1##
2## $Id$
3##
4##
5## FIXME: This Makefile.am is pretty ugly and deserves to be reworked :(
6##
7
8AUTOMAKE_OPTIONS = foreign 1.4
9
10H_FILES = ../bpfilter.h ../loop.h ../netdb.h ../opt_ipfw.h ../opt_mrouting.h \
11    ../opt_tcpdebug.h ../poll.h ../resolv.h ../syslog.h ../memory.h
12
13# We only make the install point for the networking header files if needed.
14
15$(INSTALLDIRS):
16        $(mkinstalldirs) $@
17
18$(PROJECT_INCLUDE)/bpfilter.h: ../bpfilter.h
19        $(INSTALL_DATA) $< $@
20
21$(PROJECT_INCLUDE)/loop.h: ../loop.h
22        $(INSTALL_DATA) $< $@
23
24$(PROJECT_INCLUDE)/netdb.h: ../netdb.h
25        $(INSTALL_DATA) $< $@
26
27$(PROJECT_INCLUDE)/opt_ipfw.h: ../opt_ipfw.h
28        $(INSTALL_DATA) $< $@
29
30$(PROJECT_INCLUDE)/opt_mrouting.h: ../opt_mrouting.h
31        $(INSTALL_DATA) $< $@
32
33$(PROJECT_INCLUDE)/opt_tcpdebug.h: ../opt_tcpdebug.h
34        $(INSTALL_DATA) $< $@
35
36$(PROJECT_INCLUDE)/poll.h: ../poll.h
37        $(INSTALL_DATA) $< $@
38
39$(PROJECT_INCLUDE)/resolv.h: ../resolv.h
40        $(INSTALL_DATA) $< $@
41
42$(PROJECT_INCLUDE)/syslog.h: ../syslog.h
43        $(INSTALL_DATA) $< $@
44
45$(PROJECT_INCLUDE)/memory.h: ../memory.h
46        $(INSTALL_DATA) $< $@
47
48PREINSTALL_FILES += $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/bpfilter.h \
49    $(PROJECT_INCLUDE)/loop.h $(PROJECT_INCLUDE)/netdb.h \
50    $(PROJECT_INCLUDE)/opt_ipfw.h $(PROJECT_INCLUDE)/opt_mrouting.h \
51    $(PROJECT_INCLUDE)/opt_tcpdebug.h $(PROJECT_INCLUDE)/poll.h \
52    $(PROJECT_INCLUDE)/resolv.h $(PROJECT_INCLUDE)/syslog.h \
53    $(PROJECT_INCLUDE)/memory.h
54
55all-local: $(PREINSTALL_FILES)
56
57include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.