From 7af731ae56a05d5b8d43038316ef392d4b519400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 29 Apr 2014 08:17:20 +0000 Subject: [PATCH] mingw linking; refs #30 --- doc/examples/makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/examples/makefile.am b/doc/examples/makefile.am index b120371..95d1a4f 100644 --- a/doc/examples/makefile.am +++ b/doc/examples/makefile.am @@ -8,10 +8,10 @@ noinst_PROGRAMS = pcsc-demo cryptoki-sign-demo cryptoki-demo \ openssl-engine-demo cardos-demo \ create-files-demo -AM_CPPFLAGS += -I${top_srcdir}/src -I/usr/include/PCSC +AM_CPPFLAGS += -I${top_srcdir}/src AM_LDFLAGS = -L${top_builddir}/src -lpcscxx if MINGW32 -AM_LDFLAGS += -lwinscard +AM_LDFLAGS += -lwinscard -lws2_32 -lgdi32 endif if MAC @@ -45,10 +45,10 @@ suisse_id_demo_LDADD = ${QT_NETWORK_LIBS} endif %_ui.hxx: %.ui - uic -o $@ $< + @UIC@ -o $@ $< moc_%.cxx: %.hxx - moc -o $@ $< + @MOC@ -o $@ $< CLEANFILES = ${BUILT_SOURCES} MAINTAINERCLEANFILES = makefile.in