|
Packit |
228f82 |
SUBDIRS = xml id-ff saml-2.0
|
|
Packit |
228f82 |
if WSF_ENABLED
|
|
Packit |
228f82 |
SUBDIRS += id-wsf-2.0 id-wsf
|
|
Packit |
228f82 |
endif
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
liblassoincludedir = $(includedir)/lasso
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) $(LASSO_CORE_CFLAGS)
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
## Added to activate libtool 1.5.6 windows resources partial support
|
|
Packit |
228f82 |
LTRCCOMPILE = $(LIBTOOL) --tag=RC --mode=compile $(RC) \
|
|
Packit |
228f82 |
`echo $(DEFS) $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) |\
|
|
Packit |
228f82 |
sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
## Added to activate libtool 1.5.6 windows resources partial support
|
|
Packit |
228f82 |
lasso.rc.lo: $(top_srcdir)/win32/lasso.rc
|
|
Packit |
228f82 |
$(LTRCCOMPILE) -i $< -o $@
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
lib_LTLIBRARIES = liblasso.la
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
liblassoinclude_HEADERS = export.h lasso.h lasso_config.h errors.h \
|
|
Packit |
228f82 |
registry.h ctypes.h key.h
|
|
Packit |
228f82 |
nodist_liblassoinclude_HEADERS = debug.h utils.h registry-private.h logging.h backward_comp.h keyprivate.h
|
|
Packit |
228f82 |
BUILT_SOURCES = types.c errors.c symbols.sym
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
liblasso_la_SOURCES = lasso.c errors.c registry.c utils.c logging.c key.c
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
if WSF_ENABLED
|
|
Packit |
228f82 |
SYMBOLS_ARGS = -wsf
|
|
Packit |
228f82 |
endif
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
types.c: $(srcdir)/*.h $(srcdir)/*/*.h $(srcdir)/*/*/*.h
|
|
Packit |
228f82 |
$(PYTHON) $(srcdir)/extract_types.py $(srcdir) $(SYMBOLS_ARGS)
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
symbols.sym: $(srcdir)/*.h $(srcdir)/*/*.h $(srcdir)/*/*/*.h
|
|
Packit |
228f82 |
$(PYTHON) $(srcdir)/extract_symbols.py $(srcdir) $(SYMBOLS_ARGS) > symbols.sym
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
MAINTAINERCLEANFILES = \
|
|
Packit |
228f82 |
Makefile.in \
|
|
Packit |
228f82 |
lasso_config.h.in
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
clean-local:
|
|
Packit |
228f82 |
-rm -f types.c symbols.sym errors.c
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
EXTRA_DIST = $(nodist_liblassoinclude_HEADERS) extract_types.py extract_symbols.py build_strerror.py \
|
|
Packit |
228f82 |
errors.c.in extract_sections.py errors.c
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
if WSF_ENABLED
|
|
Packit |
228f82 |
WSF_LIB_FILE = $(top_builddir)/lasso/id-wsf/liblasso-id-wsf.la
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
WSF2_LIB_FILES = $(top_builddir)/lasso/id-wsf-2.0/liblasso-id-wsf2.la \
|
|
Packit |
228f82 |
$(top_builddir)/lasso/xml/id-wsf-2.0/liblasso-xml-id-wsf-2.la \
|
|
Packit |
228f82 |
$(top_builddir)/lasso/xml/ws/liblasso-xml-ws.la
|
|
Packit |
228f82 |
endif
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
if MINGW
|
|
Packit |
228f82 |
liblasso_la_LIBADD = \
|
|
Packit |
228f82 |
$(top_builddir)/lasso/xml/liblasso-xml.la \
|
|
Packit |
228f82 |
$(top_builddir)/lasso/xml/ecp/liblasso-xml-ecp.la \
|
|
Packit |
228f82 |
$(top_builddir)/lasso/xml/saml-2.0/liblasso-xml-saml2.la \
|
|
Packit |
228f82 |
$(top_builddir)/lasso/xml/soap-1.1/liblasso-xml-soap11.la \
|
|
Packit |
228f82 |
$(top_builddir)/lasso/xml/dsig/liblasso-xml-dsig.la \
|
|
Packit |
228f82 |
$(top_builddir)/lasso/id-ff/liblasso-id-ff.la \
|
|
Packit |
228f82 |
$(top_builddir)/lasso/saml-2.0/liblasso-saml-20.la \
|
|
Packit |
228f82 |
$(WSF_LIB_FILE) \
|
|
Packit |
228f82 |
$(WSF2_LIB_FILES) \
|
|
Packit |
228f82 |
$(LASSO_LIBS) \
|
|
Packit |
228f82 |
lasso.rc.lo
|
|
Packit |
228f82 |
# Just make damn sure the ABI stays the same between
|
|
Packit |
228f82 |
# upgrades.
|
|
Packit |
228f82 |
# Obviously if you don't, fixing the situation up again can be painful.
|
|
Packit |
228f82 |
liblasso_la_LDFLAGS = -no-undefined -version-info @LASSO_VERSION_INFO@ \
|
|
Packit |
228f82 |
-Wl,--add-stdcall-alias
|
|
Packit |
228f82 |
else
|
|
Packit |
228f82 |
liblasso_la_LIBADD = \
|
|
Packit |
228f82 |
$(top_builddir)/lasso/xml/ecp/liblasso-xml-ecp.la \
|
|
Packit |
228f82 |
$(top_builddir)/lasso/xml/liblasso-xml.la \
|
|
Packit |
228f82 |
$(top_builddir)/lasso/xml/saml-2.0/liblasso-xml-saml2.la \
|
|
Packit |
228f82 |
$(top_builddir)/lasso/xml/soap-1.1/liblasso-xml-soap11.la \
|
|
Packit |
228f82 |
$(top_builddir)/lasso/xml/dsig/liblasso-xml-dsig.la \
|
|
Packit |
228f82 |
$(top_builddir)/lasso/id-ff/liblasso-id-ff.la \
|
|
Packit |
228f82 |
$(top_builddir)/lasso/saml-2.0/liblasso-saml-20.la \
|
|
Packit |
228f82 |
$(WSF_LIB_FILE) \
|
|
Packit |
228f82 |
$(WSF2_LIB_FILES) \
|
|
Packit |
228f82 |
$(LASSO_LIBS)
|
|
Packit |
228f82 |
# Just make damn sure the ABI stays the same between
|
|
Packit |
228f82 |
# upgrades.
|
|
Packit |
228f82 |
# Obviously if you don't, fixing the situation up again can be painful.
|
|
Packit |
228f82 |
liblasso_la_LDFLAGS = -no-undefined -version-info @LASSO_VERSION_INFO@ \
|
|
Packit |
228f82 |
-export-symbols symbols.sym
|
|
Packit |
228f82 |
endif
|
|
Packit |
228f82 |
|
|
Packit |
228f82 |
$(srcdir)/errors.c: $(srcdir)/errors.h $(srcdir)/build_strerror.py
|
|
Packit Service |
47c6a0 |
$(PYTHON) $(srcdir)/build_strerror.py $(srcdir) >.errors.c.new
|
|
Packit |
228f82 |
if ! cmp -s $(srcdir)/errors.c .errors.c.new; then \
|
|
Packit |
228f82 |
mv -f .errors.c.new $@; else \
|
|
Packit |
228f82 |
rm .errors.c.new; fi
|