/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

  • Committer: Teddy Hogeborn
  • Date: 2008-08-10 16:13:23 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080810161323-wrh1rbpdrq0otuhf
* mandos (console): Define handler globally.
  (main): If in debug mode, also reduce consol log level.  Remove
          console log handler before daemonizing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# For info about _FORTIFY_SOURCE, see
4
4
# <http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html>
5
5
FORTIFY=-D_FORTIFY_SOURCE=2 # -fstack-protector-all
6
 
#COVERAGE=-fprofile-arcs -ftest-coverage
 
6
#COVERAGE=--coverage
7
7
OPTIMIZE=-Os
8
8
LANGUAGE=-std=gnu99
9
9
 
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