swanctl: Pass optional connection name to --initiate/install/uninstall
[strongswan.git] / src / charon-tkm / Makefile.am
index c06864a..ad54eaf 100644 (file)
@@ -4,15 +4,13 @@ OBJ = $(abs_top_builddir)/src
 AM_CPPFLAGS = \
        -include $(abs_top_builddir)/config.h \
        -I$(SRC)/libstrongswan \
-       -I$(SRC)/libhydra \
        -I$(SRC)/libcharon
 
 LIBLD = \
        -L$(OBJ)/libstrongswan/.libs \
-       -L$(OBJ)/libhydra/.libs \
        -L$(OBJ)/libcharon/.libs
-LIBPT = $(OBJ)/libstrongswan/.libs:$(OBJ)/libhydra/.libs:$(OBJ)/libcharon/.libs
-LIBFL = -lstrongswan -lhydra -lcharon
+LIBPT = $(OBJ)/libstrongswan/.libs:$(OBJ)/libcharon/.libs
+LIBFL = -lstrongswan -lcharon
 
 DEFS += -DPLUGINS=\""$(PLUGINS)\"" -DIPSEC_PIDDIR=\"${piddir}\"
 
@@ -41,13 +39,13 @@ build_charon: build_charon.gpr src/charon-tkm.c
 build_tests: build_tests.gpr
        @$(GPRBUILD) -p $< $(BUILD_OPTS) $(TEST_OPTS)
 
-if UNITTESTS
-check: build_tests
+check-tkm: build_tests
        @LD_LIBRARY_PATH=$(LIBPT) obj/tests
-else
+
 check:
-       @echo "reconfigure with --enable-unit-tests"
-endif
+       @echo "TKM tests are not run automatically because they have to be run as root" >&2
+       @echo "and require a properly configured TKM daemon to be running." >&2
+       @echo "They can be run from '$(abs_builddir)' with 'make check-tkm'" >&2
 
 install: build_charon
        $(INSTALL) -m 755 obj/charon-tkm $(DESTDIR)$(ipsecdir)