/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to Makefile

tally count of used symbols
return codes from functions checked.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
CFLAGS=$(WARN) $(DEBUG) $(FORTIFY) $(COVERAGE) $(OPTIMIZE) $(LANGUAGE)
12
12
LDFLAGS=$(COVERAGE)
13
13
 
14
 
DOCBOOKTOMAN=xsltproc --nonet \
15
 
        --param man.charmap.use.subset          0 \
16
 
        --param make.year.ranges                1 \
17
 
        --param make.single.year.ranges         1 \
18
 
        --param man.output.quietly              1 \
19
 
        --param man.authors.section.enabled     0
 
14
DOCBOOKTOMAN=xsltproc --nonet --param man.charmap.use.subset "0" --param make.year.ranges "1" --param make.single.year.ranges "1" --param man.output.quietly "1"
20
15
 
21
16
PROGS=mandos-client plugins.d/password-request plugins.d/password-prompt
22
17
DOCS=mandos.8 mandos-client.8mandos plugins.d/password-request.8mandos plugins.d/password-prompt.8mandos mandos.conf.5 mandos-clients.conf.5
26
21
all: $(PROGS) $(DOCS)
27
22
 
28
23
%.5: %.xml
29
 
        cd $(shell dirname $^); $(DOCBOOKTOMAN) $(shell basename $^)
 
24
        $(DOCBOOKTOMAN) $^
30
25
 
31
26
%.8: %.xml
32
 
        cd $(shell dirname $^); $(DOCBOOKTOMAN) $(shell basename $^)
 
27
        $(DOCBOOKTOMAN) $^
33
28
 
34
29
%.8mandos: %.xml
35
 
        cd $(shell dirname $^); $(DOCBOOKTOMAN) $(shell basename $^)
 
30
        $(DOCBOOKTOMAN) $^
 
31
        -mv ./$(shell basename $@) $@ 2>/dev/null
36
32
 
37
33
mandos-client: mandos-client.o
38
34
        $(LINK.o) -lgnutls $(COMMON) $^ $(LOADLIBES) $(LDLIBS) -o $@