aaa8001bd1da27355594c29f296e128d83d7b809
[fwknop.git] / Makefile.am
1 ACLOCAL_AMFLAGS = -I m4
2
3 if WANT_CLIENT
4   CLIENT_DIR = client
5 endif
6
7 if WANT_SERVER
8   SERVER_DIR = server
9 endif
10
11 SUBDIRS = \
12     lib \
13     common \
14     $(CLIENT_DIR) \
15     $(SERVER_DIR) \
16     doc 
17
18 EXTRA_DIST = \
19     android/COPYING \
20     android/Application.mk \
21     android/README \
22     android/project/src/com/max2idea/android/fwknop/R.java \
23     android/project/src/com/max2idea/android/fwknop/Fwknop.java \
24     android/project/build.xml \
25     android/project/default.properties \
26     android/project/res/values/strings.xml \
27     android/project/res/drawable-hdpi/icon.png \
28     android/project/res/drawable-mdpi/icon.png \
29     android/project/res/drawable-ldpi/icon.png \
30     android/project/res/drawable/lock_64x64.png \
31     android/project/res/drawable/lock_32x32.png \
32     android/project/res/drawable/lock_128x128.png \
33     android/project/res/layout/main.xml \
34     android/project/nbproject/project.properties \
35     android/project/nbproject/project.xml \
36     android/project/nbproject/build-impl.xml \
37     android/project/nbproject/private/private.properties \
38     android/project/nbproject/private/private.xml \
39     android/project/nbproject/private/config.properties \
40     android/project/nbproject/genfiles.properties \
41     android/project/build.properties \
42     android/project/AndroidManifest.xml \
43     android/project/jni/fwknop/fwknop_client.c \
44     android/project/jni/fwknop/fwknop_client.h \
45     android/project/jni/fwknop/send_spa_packet.c \
46     android/project/jni/config.h \
47     android/project/jni/libfwknop/README \
48     android/project/jni/libfwknop/get_libfko_files.sh \
49     android/project/jni/logutils.h \
50     android/project/jni/Android.mk \
51     ChangeLog* \
52     CREDITS \
53     diffstat* \
54     extras/fwknop.init.debian \
55     extras/fwknop.init.openwrt \
56     extras/fwknop.init.redhat \
57     extras/openwrt/README.openwrt \
58     extras/openwrt/package/fwknop/Makefile \
59     extras/openwrt/package/fwknop/files/fwknopd.init \
60     extras/openwrt/package/gpgme/Makefile \
61     extras/fwknop-launcher/fwknop-launcher-lsof.pl \
62     extras/fwknop-launcher/fwknop-launcher.conf \
63     fwknop.spec \
64     iphone/main.m \
65     iphone/Fwknop.xcodeproj \
66     iphone/Fwknop.xcodeproj/project.pbxproj \
67     iphone/Fwknop.xcodeproj/dev.pbxuser \
68     iphone/Fwknop.xcodeproj/dev.mode1v3 \
69     iphone/lock_57x57.png \
70     iphone/Fwknop.pch \
71     iphone/README \
72     iphone/Info.plist \
73     iphone/COPYING \
74     iphone/Classes \
75     iphone/Classes/MyAppDelegate.h \
76     iphone/Classes/fwknop \
77     iphone/Classes/fwknop/send_spa_packet.c \
78     iphone/Classes/fwknop/fwknop_client.c \
79     iphone/Classes/fwknop/fwknop_client.h \
80     iphone/Classes/FwknopController.m \
81     iphone/Classes/config.h \
82     iphone/Classes/FwknopController.h \
83     iphone/Classes/bridge_fwknop.h \
84     iphone/Classes/MyAppDelegate.m \
85     iphone/Classes/libfwknop \
86     iphone/Classes/libfwknop/README \
87     iphone/Classes/libfwknop/config.h \
88     iphone/Classes/libfwknop/fko_common.b \
89     iphone/Classes/libfwknop/get_libfko_files.sh \
90     iphone/Classes/bridge_fwknop.c \
91     iphone/Classes/logutils.h \
92     perl/FKO/README \
93     perl/FKO/inc/Devel/CheckLib.pm \
94     perl/FKO/MANIFEST \
95     perl/FKO/ppport.h \
96     perl/FKO/FKO.xs \
97     perl/FKO/t/03_errors.t \
98     perl/FKO/t/02_functions.t \
99     perl/FKO/t/01_constants.t \
100     perl/FKO/t/00_init.t \
101     perl/FKO/Makefile.PL \
102     perl/FKO/typemap \
103     perl/FKO/lib/FKO.pm \
104     perl/FKO/lib/FKO_Constants.pl \
105     perl/FKO/Changes \
106         python/README \
107         python/setup.py \
108         python/fkomodule.c \
109         python/fko.py \
110     ShortLog* \
111     test/conf/client-gpg/pubring.gpg \
112     test/conf/client-gpg/secring.gpg \
113     test/conf/client-gpg/trustdb.gpg \
114     test/conf/default_access.conf \
115     test/conf/default_fwknopd.conf \
116     test/conf/dual_key_usage_access.conf \
117     test/conf/expired_epoch_stanza_access.conf \
118     test/conf/expired_stanza_access.conf \
119     test/conf/force_nat_access.conf \
120     test/conf/future_expired_stanza_access.conf \
121     test/conf/gpg_access.conf \
122     test/conf/invalid_expire_access.conf \
123     test/conf/ip_source_match_access.conf \
124     test/conf/mismatch_open_ports_access.conf \
125     test/conf/mismatch_user_access.conf \
126     test/conf/multi_gpg_access.conf \
127     test/conf/multi_source_match_access.conf \
128     test/conf/multi_stanzas_access.conf \
129     test/conf/multi_stanzas_with_broken_keys.conf \
130     test/conf/nat_fwknopd.conf \
131     test/conf/no_multi_source_match_access.conf \
132     test/conf/no_source_match_access.conf \
133     test/conf/no_subnet_source_match_access.conf \
134     test/conf/open_ports_access.conf \
135     test/conf/override_fwknopd.conf \
136     test/conf/require_src_access.conf \
137     test/conf/require_user_access.conf \
138     test/conf/server-gpg/pubring.gpg \
139     test/conf/server-gpg/secring.gpg \
140     test/conf/server-gpg/trustdb.gpg \
141     test/conf/subnet_source_match_access.conf \
142     test/hardening-check \
143     test/local_spa.key \
144     test/test-fwknop.pl \
145     VERSION \
146     win32/config.h \
147     win32/fwknop-client.vcproj \
148     win32/getopt.c \
149     win32/getopt1.c \
150     win32/getopt.h \
151     win32/getlogin.c \
152     win32/getlogin.h \
153     win32/libfko.sln \
154     win32/libfko.vcproj
155
156 # Make dist makes the man pages to put them in the distribution.  We
157 # do not want that. They will be remade after configure and make is
158 # later.  This is bit of a kludge, but seems to work (until I find a
159 # better way).   --DSS
160 #
161 dist-hook:
162         rm -f $(distdir)/client/fwknop.8
163         rm -f $(distdir)/server/fwknopd.8
164