child-delete: Reply as usual when concurrently rekeying the IKE_SA
[strongswan.git] / src / dumm / Makefile.am
1 EXTRA_DIST = ext/dumm.c ext/README \
2   ext/lib/dumm.rb ext/lib/dumm/guest.rb
3
4 ipseclib_LTLIBRARIES = libdumm.la
5 ipsec_PROGRAMS = dumm irdumm
6
7 libdumm_la_SOURCES = dumm.c dumm.h guest.c guest.h iface.c iface.h \
8   bridge.c bridge.h mconsole.c mconsole.h cowfs.h cowfs.c
9 dumm_SOURCES = main.c
10 irdumm_SOURCES = irdumm.c
11
12 libdumm_la_LIBADD = -lbridge -lfuse -lutil $(top_builddir)/src/libstrongswan/libstrongswan.la
13 dumm_LDADD = libdumm.la ${gtk_LIBS} $(top_builddir)/src/libstrongswan/libstrongswan.la
14 irdumm_LDADD = libdumm.la ${RUBYLIB} $(top_builddir)/src/libstrongswan/libstrongswan.la
15
16 AM_CPPFLAGS = \
17         -D_FILE_OFFSET_BITS=64 \
18         -I$(top_srcdir)/src/libstrongswan \
19         ${RUBYINCLUDE}
20
21 AM_CFLAGS = \
22         ${gtk_CFLAGS}
23
24 all-local: ext
25
26 clean-local:
27         (test -f ext/Makefile && cd ext && $(MAKE) clean && rm Makefile || true)
28
29 install-data-local:
30         (test -f ext/Makefile && cd ext && $(MAKE) install)
31
32 ext:    libdumm.la
33         (cd ext && $(RUBY) extconf.rb && $(MAKE))
34
35 .PHONY: ext