diff options
Diffstat (limited to 'genqrcode/Makefile.am')
| -rw-r--r-- | genqrcode/Makefile.am | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/genqrcode/Makefile.am b/genqrcode/Makefile.am new file mode 100644 index 0000000000..d631b6dfe6 --- /dev/null +++ b/genqrcode/Makefile.am @@ -0,0 +1,48 @@ +AUTOMAKE_OPTIONS = foreign +ACLOCAL_AMFLAGS=-I m4 + +SUBDIRS = . + +if BUILD_TESTS +SUBDIRS += tests +endif + +lib_LTLIBRARIES = libqrencode.la + +libqrencode_la_SOURCES = qrencode.c qrencode_inner.h \ + qrinput.c qrinput.h \ + bitstream.c bitstream.h \ + qrspec.c qrspec.h \ + rsecc.c rsecc.h \ + split.c split.h \ + mask.c mask.h \ + mqrspec.c mqrspec.h \ + mmask.c mmask.h + +libqrencode_la_LDFLAGS = -version-number $(MAJOR_VERSION):$(MINOR_VERSION):$(MICRO_VERSION) + +include_HEADERS = qrencode.h + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libqrencode.pc +noinst_DATA = README +README_markdown_optional := $(wildcard README.md) +README: $(README_markdown_optional) + $(if $(README_markdown_optional), ./makeREADME.sh) + +EXTRA_DIST = libqrencode.pc.in autogen.sh configure.ac acinclude.m4 \ + Makefile.am tests/Makefile.am \ + qrencode.1.in Doxyfile \ + CMakeLists.txt cmake/FindIconv.cmake + +if BUILD_TOOLS +bin_PROGRAMS = qrencode +qrencode_SOURCES = qrenc.c +qrencode_CFLAGS = $(png_CFLAGS) +qrencode_LDADD = libqrencode.la $(png_LIBS) +man1_MANS = qrencode.1 +endif + +if MINGW +libqrencode_la_LDFLAGS += -no-undefined -avoid-version -Wl,--nxcompat -Wl,--dynamicbase +endif |
