/mandos/release

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

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Björn Påhlsson
  • Date: 2008-08-10 19:14:12 UTC
  • mto: (237.7.1 mandos) (24.1.154 mandos)
  • mto: This revision was merged to the branch mainline in revision 63.
  • Revision ID: belorn@braxen-20080810191412-0c8xxvnh5nalhdfq
updated mandos-client sections and added see also stuff

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
 
20
 
14
21
PROGS=mandos-client plugins.d/password-request plugins.d/password-prompt
 
22
DOCS=mandos.8 mandos-client.8mandos plugins.d/password-request.8mandos plugins.d/password-prompt.8mandos mandos.conf.5 mandos-clients.conf.5
15
23
 
16
24
objects=$(shell for p in $(PROGS); do echo $${p}.o; done)
17
25
 
18
 
all: $(PROGS)
 
26
all: $(PROGS) $(DOCS)
 
27
 
 
28
%.5: %.xml
 
29
        cd $(shell dirname $^); $(DOCBOOKTOMAN) $(shell basename $^)
 
30
 
 
31
%.8: %.xml
 
32
        cd $(shell dirname $^); $(DOCBOOKTOMAN) $(shell basename $^)
 
33
 
 
34
%.8mandos: %.xml
 
35
        cd $(shell dirname $^); $(DOCBOOKTOMAN) $(shell basename $^)
19
36
 
20
37
mandos-client: mandos-client.o
21
38
        $(LINK.o) -lgnutls $(COMMON) $^ $(LOADLIBES) $(LDLIBS) -o $@
29
46
.PHONY : all clean distclean run-client run-server
30
47
 
31
48
clean:
32
 
        -rm --force $(PROGS) $(objects) core
 
49
        -rm --force $(PROGS) $(objects) $(DOCS) core
33
50
 
34
51
distclean: clean
35
52
mostlyclean: clean