(no commit message)
[strongswan.git] / src / libfreeswan / 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.1 2004/03/15 20:35:24 as Exp $
16
17 FREESWANSRCDIR=..
18 include ${FREESWANSRCDIR}/Makefile.inc
19
20 SUBDIRS=libfreeswan libdes
21
22 ifeq ($(USE_LWRES),true)
23 SUBDIRS+=liblwres
24 endif
25
26 ifeq ($(USE_IPSECPOLICY),true)
27 SUBDIRS+=libipsecpolicy
28 endif
29
30 def:
31 @echo "Please read doc/intro.html or INSTALL before running make"
32 @false
33
34 # programs
35
36 cleanall distclean mostlyclean realclean install programs checkprograms check clean spotless install_file_list:
37 @for d in $(SUBDIRS) ; \
38 do \
39 (cd $$d && $(MAKE) FREESWANSRCDIR=$(FREESWANSRCDIR)/.. $@ ) || exit 1; \
40 done; \
41