File: Makefile.in

package info (click to toggle)
slice 1.3.8-14
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 872 kB
  • sloc: ansic: 3,310; perl: 2,263; sh: 869; makefile: 296; yacc: 127
file content (121 lines) | stat: -rw-r--r-- 3,356 bytes parent folder | download | duplicates (8)
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
##
##  Makefile
##

# ------------------------------------------------
#   DEFINITIONS
# ------------------------------------------------

@SET_MAKE@
SHELL = /bin/sh

top_srcdir      = @top_srcdir@
srcdir          = @srcdir@
VPATH           = @srcdir@

INSTALL_PROGRAM = $(top_srcdir)/etc/shtool install -c -m 755 -s
INSTALL_DATA    = $(top_srcdir)/etc/shtool install -c -m 644

prefix          = @prefix@
exec_prefix     = $(prefix)
bindir          = $(prefix)/bin
libsubdir       = @libsubdir@
libdir          = $(prefix)/lib$(libsubdir)
mandir          = $(prefix)/man

PATH_PERL       = @PATH_PERL@
MM_INSTALL_OPTS = PREFIX=$(libdir)/perl \
                  INSTALLPRIVLIB=@INSTALLPRIVLIB@ \
                  INSTALLARCHLIB=@INSTALLARCHLIB@ \
                  INST_MAN1DIR= \
                  INSTALLMAN1DIR= \
                  INST_MAN3DIR= \
                  INSTALLMAN3DIR=

INITVARS = \
    have_getoptlong=@have_getoptlong@; \
    have_bitvector=@have_bitvector@; \
    have_io=@have_io@

SUBDIRS = \
    getoptlong \
    bitvector \
    io

# ------------------------------------------------
#   TARGETS
# ------------------------------------------------

all:
	@set -e; \
	set dummy $(MAKEFLAGS); amf=$$2; \
	$(INITVARS); \
	for dir in $(SUBDIRS); do \
	    eval "update=\"`echo '$$'have_$$dir`\""; \
	    if test ".$$update" = .0; then \
	        echo "===> lib/$$dir"; \
	        test -f $$dir/Makefile || \
	            (cd $$dir && $(PATH_PERL) Makefile.PL $(MM_INSTALL_OPTS)); \
	        (cd $$dir && $(MAKE) $(PERL_OPTS) pure_all) \
	        || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	        echo "<=== lib/$$dir"; \
	    else :; \
	    fi; \
	done && test -z "$$fail"

install:
	@set -e; \
	set dummy $(MAKEFLAGS); amf=$$2; \
	$(INITVARS); \
	for dir in $(SUBDIRS); do \
	    eval "update=\"`echo '$$'have_$$dir`\""; \
	    if test ".$$update" = .0; then \
	        echo "===> lib/$$dir"; \
	        (cd $$dir && $(MAKE) pure_perl_install $(MM_INSTALL_OPTS) 2>&1 | sed -e '/^## Diff/,/^## Runn/d') \
	        || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	        echo "<=== lib/$$dir"; \
	    else :; \
	    fi; \
	done && test -z "$$fail"

clean:
	@$(INITVARS); \
	for dir in $(SUBDIRS); do \
	    eval "update=\"`echo '$$'have_$$dir`\""; \
	    if test ".$$update" = .0; then \
	        echo "===> lib/$$dir"; \
	        if [ -f $$dir/Makefile ]; then \
	            (cd $$dir && $(MAKE) clean); \
	            mv $$dir/Makefile.old $$dir/Makefile 2>/dev/null; \
	        else :; \
	        fi; \
	        echo "<=== lib/$$dir"; \
	    else :; \
	    fi; \
	done

#  The distclean target in the Makefile generated by ExtUtils::MakeMaker 
#  performs a check to see if files are all listed in the MANIFEST file.
#  An error is reported because of CVS files, it's why the realclean
#  target is used instead.

distclean: clean
	@$(INITVARS); \
	for dir in $(SUBDIRS); do \
	    eval "update=\"`echo '$$'have_$$dir`\""; \
	    if test ".$$update" = .0; then \
	        echo "===> lib/$$dir"; \
	        if [ -f $$dir/Makefile ]; then \
	            (cd $$dir && $(MAKE) realclean); \
	            rm -f $$dir/Makefile 2>/dev/null; \
	        else :; \
	        fi; \
	        echo "<=== lib/$$dir"; \
	    else :; \
	    fi; \
	done
	-rm -f Makefile

realclean: distclean

##EOF##