File: Makefile.in

package info (click to toggle)
dnssec-tools 1.13-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 16,064 kB
  • sloc: perl: 44,399; ansic: 31,547; cpp: 21,306; sh: 15,813; xml: 2,113; makefile: 1,390; pascal: 836; python: 290; csh: 11
file content (140 lines) | stat: -rw-r--r-- 3,525 bytes parent folder | download | duplicates (2)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
prefix=@prefix@
exec_prefix=@exec_prefix@
sysconfdir=@sysconfdir@
bindir=@bindir@
sbindir=@sbindir@
libdir=@libdir@
datarootdir=@datarootdir@
datadir=@datadir@
includedir=@includedir@
mandir=@mandir@
top_srcdir=@top_srcdir@
man1dir=man1
#man3dir=@man3dir@
#man5dir=@man5dir@
#man8dir=@man8dir@
BUILDDIR=@abs_top_builddir@
PERLDIRS=tools/modules tools/donuts tools/mapper tools/scripts tools/convertar \
         tools/dnspktflow tools/maketestzone tools/etc tools/drawvalmap
PERLARGS=@PERLARGS@
SUBDIRS=@DNSSEC_SUBDIRS@
MKPATH=$(top_srcdir)/mkinstalldirs
INSTALLDIRS=$(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libdir) $(datadir) $(includedir) $(mandir) $(mandir)/$(man1dir) $(mandir)/$(man3dir) $(mandir)/$(man5dir) $(mandir)/$(man8dir)
DOCINSTALL=@INSTALL@ @INSTALL_DATA@		
QUIET=@
MAN1PAGES=\
	dnssec-tools.1

all: makeit

libs: subdirmake

makeit: subdirmake perlmake

install: all makedirectories perlinstall subdirinstall maninstall nextstepinstructions

clean: perlclean subdirclean

distclean: subdirdistclean clean configclean 

nextstepinstructions: subdirinstall
	$(QUIET)echo ""
	$(QUIET)echo "**********************************************************************"
	$(QUIET)echo "** NEXT: Please run 'dtinitconf' in order to set up the required"
	$(QUIET)echo "**       $(sysconfdir)/dnssec-tools/dnssec-tools.conf file"
	$(QUIET)echo "**********************************************************************"
	$(QUIET)echo ""

maninstall:
	$(MKPATH) $(mandir)/$(man1dir)
	for i in $(MAN1PAGES) ; do		\
	  $(DOCINSTALL) docs/$$i $(DESTDIR)/$(mandir)/$(man1dir) ;	\
	done


makedirectories:
	$(QUIET)for i in $(INSTALLDIRS) ; do \
		if test ! -d $(DESTDIR)/$$i ; then \
			echo "creating directory $(DESTDIR)/$$i/" ;\
			$(MKPATH) $(DESTDIR)/$$i ; \
		fi \
	done
#
# Subdir build rules
#

subdirmake:
	$(QUIET)if test "x$(SUBDIRS)" != "xnone" ; then \
	  for i in $(SUBDIRS) ; do \
	    (cd $$i ; make ) ; \
	    if test $$? != 0 ; then \
	       exit 1 ; \
	    fi  \
          done \
	fi

subdirinstall: makedirectories
	$(QUIET)if test "x$(SUBDIRS)" != "xnone" ; then \
	  for i in $(SUBDIRS) ; do \
	   (cd $$i ; make install DESTDIR=$(DESTDIR) ) ; \
	   if test $$? != 0 ; then \
	      exit 1 ; \
	   fi  \
          done \
	fi

subdirclean:
	$(QUIET)if test "x$(SUBDIRS)" != "xnone" ; then \
	  for i in $(SUBDIRS) ; do \
	    (cd $$i ; make clean ) ; \
          done \
	fi

subdirdistclean:
	$(QUIET)if test "x$(SUBDIRS)" != "xnone" ; then \
	  for i in $(SUBDIRS) ; do \
	    (cd $$i ; make distclean ) ; \
          done \
	fi

#
# Perl system build rules
#

perlmake: subdirmake perlmakefiles 
	$(QUIET)for i in $(PERLDIRS) ; do \
	  (cd $$i ; make ) ; \
	  if test $$? != 0 ; then \
	     exit 1 ; \
	  fi  \
         done

perlmakefiles:
	$(QUIET)for i in $(PERLDIRS) ; do \
	  if test ! -f $$i/Makefile ; then \
	    (cd $$i ; perl Makefile.PL $(PERLARGS) --topdir $(BUILDDIR) --sysconfdir $(sysconfdir)); \
          fi ; \
         done

perlinstall: makedirectories
	$(QUIET)for i in $(PERLDIRS) ; do \
	  (cd $$i ; make install ) ; \
	  if test $$? != 0 ; then \
	     exit 1 ; \
	  fi  \
         done

perlclean:
	$(QUIET)for i in $(PERLDIRS) ; do \
	  (cd $$i ; make clean ; ) ; \
         done

#
# Config system rules
#

configclean:
	rm -f config.cache config.status config.log \
		Makefile stamp-h *.core

.PHONY: all libs makeit install clean distclean nextstepinstructions makedirectories subdirmake subdirinstall subdirclean perlmake perlmakefiles perlinstall perlclean configclean