make IMC/IMV pairs independent of libcharon
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libcharon
|
||||
INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libtncif
|
||||
|
||||
noinst_LTLIBRARIES = libimcv.la
|
||||
|
||||
libimcv_la_LIBADD = $(top_builddir)/src/libtncif/libtncif.la
|
||||
|
||||
libimcv_la_SOURCES = \
|
||||
imc/imc_agent.h imc/imc_agent.c imc/imc_state.h \
|
||||
imv/imv_agent.h imv/imv_agent.c imv/imv_state.h \
|
||||
|
||||
@@ -23,8 +23,9 @@
|
||||
|
||||
#include "imc_state.h"
|
||||
|
||||
#include <tnc/tncifimc.h>
|
||||
#include <tnc/pen/pen.h>
|
||||
#include <tncifimc.h>
|
||||
#include <pen/pen.h>
|
||||
|
||||
#include <library.h>
|
||||
|
||||
typedef struct imc_agent_t imc_agent_t;
|
||||
|
||||
@@ -21,7 +21,8 @@
|
||||
#ifndef IMC_STATE_H_
|
||||
#define IMC_STATE_H_
|
||||
|
||||
#include <tnc/tncif.h>
|
||||
#include <tncif.h>
|
||||
|
||||
#include <library.h>
|
||||
|
||||
typedef struct imc_state_t imc_state_t;
|
||||
|
||||
@@ -23,8 +23,9 @@
|
||||
|
||||
#include "imv_state.h"
|
||||
|
||||
#include <tnc/tncifimv.h>
|
||||
#include <tnc/pen/pen.h>
|
||||
#include <tncifimv.h>
|
||||
#include <pen/pen.h>
|
||||
|
||||
#include <library.h>
|
||||
|
||||
typedef struct imv_agent_t imv_agent_t;
|
||||
|
||||
@@ -21,7 +21,8 @@
|
||||
#ifndef IMV_STATE_H_
|
||||
#define IMV_STATE_H_
|
||||
|
||||
#include <tnc/tncifimv.h>
|
||||
#include <tncifimv.h>
|
||||
|
||||
#include <library.h>
|
||||
|
||||
typedef struct imv_state_t imv_state_t;
|
||||
|
||||
@@ -14,7 +14,8 @@
|
||||
|
||||
#include "ita_attr_command.h"
|
||||
|
||||
#include <tnc/pen/pen.h>
|
||||
#include <pen/pen.h>
|
||||
|
||||
#include <debug.h>
|
||||
|
||||
typedef struct private_ita_attr_command_t private_ita_attr_command_t;
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
typedef struct pa_tnc_attr_t pa_tnc_attr_t;
|
||||
|
||||
#include <library.h>
|
||||
#include <tnc/pen/pen.h>
|
||||
#include <pen/pen.h>
|
||||
|
||||
/**
|
||||
* Interface for an RFC 5792 PA-TNC Posture Attribute.
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libhydra \
|
||||
-I$(top_srcdir)/src/libcharon -I$(top_srcdir)/src/libimcv
|
||||
INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libtncif \
|
||||
-I$(top_srcdir)/src/libimcv
|
||||
|
||||
AM_CFLAGS = -rdynamic
|
||||
|
||||
plugin_LTLIBRARIES = libstrongswan-imc-test.la
|
||||
|
||||
libstrongswan_imc_test_la_LIBADD = $(top_builddir)/src/libimcv/libimcv.la
|
||||
libstrongswan_imc_test_la_LIBADD = $(top_builddir)/src/libimcv/libimcv.la \
|
||||
$(top_builddir)/src/libstrongswan/libstrongswan.la
|
||||
|
||||
libstrongswan_imc_test_la_SOURCES = imc_test.c \
|
||||
imc_test_state.h imc_test_state.c
|
||||
|
||||
@@ -17,7 +17,9 @@
|
||||
#include <imc/imc_agent.h>
|
||||
#include <pa_tnc/pa_tnc_msg.h>
|
||||
#include <ita/ita_attr_command.h>
|
||||
#include <tnc/pen/pen.h>
|
||||
|
||||
#include <pen/pen.h>
|
||||
|
||||
#include <debug.h>
|
||||
|
||||
/* IMC definitions */
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libhydra \
|
||||
-I$(top_srcdir)/src/libcharon -I$(top_srcdir)/src/libimcv
|
||||
INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libtncif \
|
||||
-I$(top_srcdir)/src/libimcv
|
||||
|
||||
AM_CFLAGS = -rdynamic
|
||||
|
||||
plugin_LTLIBRARIES = libstrongswan-imv-test.la
|
||||
|
||||
libstrongswan_imv_test_la_LIBADD = $(top_builddir)/src/libimcv/libimcv.la
|
||||
libstrongswan_imv_test_la_LIBADD = $(top_builddir)/src/libimcv/libimcv.la \
|
||||
$(top_builddir)/src/libstrongswan/libstrongswan.la
|
||||
|
||||
libstrongswan_imv_test_la_SOURCES = imv_test.c \
|
||||
imv_test_state.h imv_test_state.c
|
||||
|
||||
@@ -17,7 +17,9 @@
|
||||
#include <imv/imv_agent.h>
|
||||
#include <pa_tnc/pa_tnc_msg.h>
|
||||
#include <ita/ita_attr_command.h>
|
||||
#include <tnc/pen/pen.h>
|
||||
|
||||
#include <pen/pen.h>
|
||||
|
||||
#include <debug.h>
|
||||
|
||||
/* IMV definitions */
|
||||
|
||||
Reference in New Issue
Block a user