File: Makefile

package info (click to toggle)
nws 2.11-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,700 kB
  • ctags: 2,820
  • sloc: ansic: 28,849; sh: 3,289; java: 1,205; makefile: 697; perl: 12
file content (37 lines) | stat: -rwxr-xr-x 732 bytes parent folder | download | duplicates (3)
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
26
27
28
29
30
31
32
33
34
35
36
37
#
# Makefile for Include
#
# $Id: Makefile,v 1.8 2004/10/29 23:53:13 graziano Exp $
#

# include common variables
include ../Makedefs

# headers to be installed 
HEADERS =	$(buildincdir)/diagnostic.h \
		$(buildincdir)/dnsutil.h \
		$(buildincdir)/formatutil.h \
		$(buildincdir)/messages.h \
		$(buildincdir)/osutil.h \
		$(buildincdir)/protocol.h \
		$(buildincdir)/config_portability.h \
		$(buildincdir)/strutil.h \
		$(buildincdir)/timeouts.h


.PHONY: all clean dist install common
all: $(HEADERS)

$(buildincdir)/%.h : %.h
	$(CP) $< $(buildincdir)

clean:

dist:
	@$(INSTALL) -d $(DIST_ROOT)/Include
	@$(CP) Makefile *.h.in *.h $(DIST_ROOT)/Include

install:
	@echo "Installing header files..."
	@$(CP) $(HEADERS) $(incdir)