build fixed for deb and rpm

This commit is contained in:
Marc Wäckerlin
2017-06-09 11:50:50 +00:00
parent f78f28132d
commit 85c9164da6
15 changed files with 595 additions and 221 deletions

View File

@@ -3,10 +3,10 @@
## 1 2 3 4 5 6 7 8
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
noinst_PROGRAMS = pcsc-demo cryptoki-sign-demo cryptoki-demo \
openssl-tcp-demo openssl-ssl-demo \
openssl-engine-demo cardos-demo \
create-files-demo
exampledir = ${docdir}/examples
example_PROGRAMS = pcsc-demo cryptoki-sign-demo cryptoki-demo \
openssl-tcp-demo openssl-ssl-demo \
openssl-engine-demo cardos-demo create-files-demo
AM_CPPFLAGS += -I${top_srcdir}/src
AM_LDFLAGS = -L${top_builddir}/src -lpcscxx
@@ -21,9 +21,11 @@ cardos_demo_SOURCES = cardos-demo.cxx
create_files_demo_SOURCES = create-files-demo.cxx
if HAVE_QTNETWORK
noinst_PROGRAMS += suisse-id-demo
noinst_HEADERS = suisse-id-demo.hxx
suisse_id_demo_SOURCES = suisse-id-demo.cxx
example_PROGRAMS += suisse-id-demo
example_HEADERS = suisse-id-demo.hxx
suisse_id_demo_SOURCES = suisse-id-demo.cxx suisse-id-demo.hxx
endif
example_DATA = ${example_PROGRAMS:*=*.cxx}
MAINTAINERCLEANFILES = makefile.in