only build linux-atm if it's actually selected
[openwrt-10.03/.git] / package / strongswan / patches / 350-make-programs.patch
1 Index: strongswan-2.8.2/programs/Makefile
2 ===================================================================
3 --- strongswan-2.8.2.orig/programs/Makefile     2007-06-04 13:23:06.414758704 +0200
4 +++ strongswan-2.8.2/programs/Makefile  2007-06-04 13:23:07.444602144 +0200
5 @@ -17,12 +17,10 @@
6  FREESWANSRCDIR=..
7  include ${FREESWANSRCDIR}/Makefile.inc
8  
9 -SUBDIRS=spi eroute spigrp tncfg klipsdebug pf_key proc pluto 
10 -SUBDIRS+=_confread _copyright _include _keycensor _plutoload _plutorun
11 -SUBDIRS+=_realsetup _secretcensor _startklips _updown _updown_espmark
12 -SUBDIRS+=auto barf ipsec look manual ranbits secrets starter
13 -SUBDIRS+=rsasigkey send-pr setup showdefaults showhostkey calcgoo mailkey
14 -SUBDIRS+=ikeping examples openac scepclient _showstatus wakeup
15 +SUBDIRS=_copyright _updown _showstatus wakeup examples
16 +SUBDIRS+=barf calcgoo eroute ikeping klipsdebug look mailkey manual
17 +SUBDIRS+=openac pf_key pluto proc ranbits rsasigkey scepclient secrets
18 +SUBDIRS+=showdefaults showhostkey spi spigrp starter tncfg ipsec
19  
20  ifeq ($(USE_LWRES),true)
21  SUBDIRS+=lwdnsq