/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: Teddy Hogeborn
  • Date: 2008-10-04 03:11:39 UTC
  • Revision ID: teddy@fukt.bsnet.se-20081004031139-llfxo3ac8kk4fs6b
* Makefile (DOCS): Added "plugins.d/usplash.8mandos" and
                   "plugins.d/splashy.8mandos".
  (install-client-nokey): Also install "plugins.d/usplash.8mandos" and
                          "plugins.d/splashy.8mandos".
  (uninstall-client): Also uninstall "plugins.d/usplash.8mandos" and
                      "plugins.d/splashy.8mandos".

* plugins.d/splashy.xml: New.

* plugins.d/usplash.xml: - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
#DEBUG=-ggdb3
10
10
# For info about _FORTIFY_SOURCE, see
11
11
# <http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html>
12
 
FORTIFY=-D_FORTIFY_SOURCE=2 -fstack-protector-all -fPIE -pie
13
 
LINK_FORTIFY=-z relro -pie
 
12
FORTIFY=-D_FORTIFY_SOURCE=2 -fstack-protector-all
14
13
#COVERAGE=--coverage
15
14
OPTIMIZE=-Os
16
15
LANGUAGE=-std=gnu99
45
44
CFLAGS=$(WARN) $(DEBUG) $(FORTIFY) $(COVERAGE) $(OPTIMIZE) \
46
45
        $(LANGUAGE) $(GNUTLS_CFLAGS) $(AVAHI_CFLAGS) $(GPGME_CFLAGS) \
47
46
        -DVERSION='"$(version)"'
48
 
LDFLAGS=$(COVERAGE) $(LINK_FORTIFY)
 
47
LDFLAGS=$(COVERAGE)
49
48
 
50
49
# Commands to format a DocBook <refentry> document into a manual page
51
50
DOCBOOKTOMAN=cd $(dir $<); xsltproc --nonet --xinclude \
80
79
        plugins.d/mandos-client.8mandos \
81
80
        plugins.d/password-prompt.8mandos mandos.conf.5 \
82
81
        plugins.d/usplash.8mandos plugins.d/splashy.8mandos \
83
 
        plugins.d/askpass-fifo.8mandos mandos-clients.conf.5
 
82
        mandos-clients.conf.5
84
83
 
85
84
htmldocs=$(addsuffix .xhtml,$(DOCS))
86
85
 
274
273
                > $(MANDIR)/man8/usplash.8mandos.gz
275
274
        gzip --best --to-stdout plugins.d/splashy.8mandos \
276
275
                > $(MANDIR)/man8/splashy.8mandos.gz
277
 
        gzip --best --to-stdout plugins.d/askpass-fifo.8mandos \
278
 
                > $(MANDIR)/man8/askpass-fifo.8mandos.gz
279
276
 
280
277
install-client: install-client-nokey
281
278
# Post-installation stuff
304
301
                $(PREFIX)/lib/mandos/plugins.d/mandos-client \
305
302
                $(PREFIX)/lib/mandos/plugins.d/usplash \
306
303
                $(PREFIX)/lib/mandos/plugins.d/splashy \
307
 
                $(PREFIX)/lib/mandos/plugins.d/askpass-fifo \
308
304
                $(INITRAMFSTOOLS)/hooks/mandos \
309
305
                $(INITRAMFSTOOLS)/conf-hooks.d/mandos \
310
306
                $(INITRAMFSTOOLS)/scripts/local-top/mandos \
313
309
                $(MANDIR)/man8/password-prompt.8mandos.gz \
314
310
                $(MANDIR)/man8/usplash.8mandos.gz \
315
311
                $(MANDIR)/man8/splashy.8mandos.gz \
316
 
                $(MANDIR)/man8/askpass-fifo.8mandos.gz \
317
312
                $(MANDIR)/man8/mandos-client.8mandos.gz
318
313
        -rmdir $(PREFIX)/lib/mandos/plugins.d $(CONFDIR)/plugins.d \
319
314
                 $(PREFIX)/lib/mandos $(CONFDIR) $(KEYDIR)