- applied patch for charon (this time really)
[strongswan.git] / programs / Makefile
1 # Makefile for the KLIPS interface utilities
2 # Copyright (C) 1998, 1999 Henry Spencer.
3 # Copyright (C) 1999, 2000, 2001 Richard Guy Briggs
4 #
5 # This program is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by the
7 # Free Software Foundation; either version 2 of the License, or (at your
8 # option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
9 #
10 # This program is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 # for more details.
14 #
15 # RCSID $Id: Makefile,v 1.8 2006/04/17 11:04:45 as Exp $
16
17 FREESWANSRCDIR=..
18 include ${FREESWANSRCDIR}/Makefile.inc
19
20 SUBDIRS=spi eroute spigrp tncfg klipsdebug pf_key proc pluto
21 SUBDIRS+=_confread _copyright _include _keycensor _plutoload _plutorun
22 SUBDIRS+=_realsetup _secretcensor _startklips _updown _updown_espmark
23 SUBDIRS+=auto barf ipsec look manual ranbits secrets starter
24 SUBDIRS+=rsasigkey send-pr setup showdefaults showhostkey calcgoo mailkey
25 SUBDIRS+=ikeping examples openac scepclient
26
27 ifeq ($(USE_LWRES),true)
28 SUBDIRS+=lwdnsq
29 endif
30
31 ifeq ($(USE_IPSECPOLICY),true)
32 SUBDIRS+=showpolicy
33 endif
34
35 ifeq ($(USE_IKEV2),true)
36 SUBDIRS+=charon
37 endif
38
39 def:
40 @echo "Please read doc/intro.html or INSTALL before running make"
41 @false
42
43 # programs
44
45 cleanall distclean mostlyclean realclean install programs checkprograms check clean spotless install_file_list:
46 @for d in $(SUBDIRS) ; \
47 do \
48 (cd $$d && $(MAKE) FREESWANSRCDIR=$(FREESWANSRCDIR)/.. $@ ) || exit 1;\
49 done; \
50