X-Git-Url: https://git.sur5r.net/?p=iec16022;a=blobdiff_plain;f=Makefile.am;fp=Makefile.am;h=e898e1cd4614588bfd12d8ef1a5962c7505f038c;hp=7f57f41e1c92e19e3027e810b307ad55ff374a3b;hb=234c02a2dbb103566f5568134e8161033fefdb25;hpb=6895292764b26f0cbb84576e68c6c457051a6882 diff --git a/Makefile.am b/Makefile.am index 7f57f41..e898e1c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,10 +1,16 @@ SUBDIRS = test -noinst_LTLIBRARIES = libiec16022ecc200.la -noinst_HEADERS = \ - image.h \ +lib_LTLIBRARIES = libiec16022.la + +libiec16022include_HEADERS = \ + iec16022ecc200.h \ + image.h \ reedsol.h +libiec16022includedir = $(includedir)/iec16022 + +libiec16022_la_LDFLAGS = -version-number $(LT_VERSION_C):$(LT_VERSION_R):$(LT_VERSION_A) + bin_PROGRAMS = iec16022 man_MANS = iec16022.1 @@ -13,20 +19,25 @@ iec16022_SOURCES = \ iec16022.c iec16022_LDADD = \ - libiec16022ecc200.la + libiec16022.la -libiec16022ecc200_la_SOURCES = \ - iec16022ecc200.c \ - iec16022ecc200.h \ +libiec16022_la_SOURCES = \ + iec16022ecc200.c \ + iec16022ecc200.h \ image.c \ image.h \ reedsol.c \ reedsol.h -EXTRA_DIST = test/testsuite.sh \ - test/testsuite-example.bin \ - test/testsuite-example.eps \ - test/testsuite-example.hex \ - test/testsuite-example.png \ - test/testsuite-example.text \ - $(man_MANS) +EXTRA_DIST = \ + libiec16022.pc.in \ + test/testsuite.sh \ + test/testsuite-example.bin \ + test/testsuite-example.eps \ + test/testsuite-example.hex \ + test/testsuite-example.png \ + test/testsuite-example.text \ + $(man_MANS) + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA= libiec16022.pc