From abd7c2e0ce5bd17997fb4c05eb2c7453060c0a3a Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 9 Jun 2015 13:30:57 -0400 Subject: Use a compiler to marshall/unmarshall the sessions This way changes are easier, all is needed is to change the session.asn1 file to add or remove elements, and different session types can also be supported at the same time. --- src/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index e2b0148..34bb442 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,3 +1,5 @@ +AM_CPPFLAGS = -Iasn1c + magdir = $(MAG_LIBDIR) mag_LTLIBRARIES = \ mod_auth_gssapi.la @@ -9,6 +11,8 @@ mod_auth_gssapi_la_SOURCES = \ mod_auth_gssapi.c crypto.c sessions.c mod_auth_gssapi_la_CFLAGS = \ $(MAG_CFLAGS) +mod_auth_gssapi_la_LIBADD = \ + asn1c/libmagasn1.la mod_auth_gssapi_la_LDFLAGS = \ $(MAG_LIBS) \ -avoid-version \ -- cgit