- applied patch from andreas
[strongswan.git] / src / 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=_copyright _updown _updown_espmark ipsec starter openac scepclient pluto
21
22 ifeq ($(USE_IKEV2),true)
23 SUBDIRS+=charon
24 endif
25
26 def:
27 @echo "Please read doc/intro.html or INSTALL before running make"
28 @false
29
30 # programs
31
32 cleanall distclean mostlyclean realclean install programs checkprograms check clean spotless install_file_list:
33 @for d in $(SUBDIRS) ; \
34 do \
35 (cd $$d && $(MAKE) FREESWANSRCDIR=$(FREESWANSRCDIR)/.. $@ ) || exit 1;\
36 done; \
37