1 EXTRA_DIST = TODO ChangeLog ChangeLog.old INSTALL KnownBugs NEWS debian ABOUT-NLS
2 dist_man3_MANS = libpwmd.3
3 lib_LTLIBRARIES = libpwmd.la
4 libpwmd_ladir = $(includedir)
5 libpwmd_la_SOURCES = libpwmd.c libpwmd.h types.h valgrind.h gettext.h
6 libpwmd_la_HEADERS = libpwmd.h
7 libpwmd_la_LDFLAGS = -version-info 4:3:0 @LIBASSUAN_LIBS@ @GPG_ERROR_LIBS@
8 libpwmd_la_CFLAGS = -DLOCALEDIR=\"${prefix}/share/locale\" @LIBASSUAN_CFLAGS@ @GPG_ERROR_CFLAGS@
10 dist_man1_MANS = pwmc.1
12 pwmc_SOURCES = pwmc.c valgrind.h
13 pwmc_CFLAGS = -DLOCALEDIR=\"${prefix}/share/locale\"
17 CPPFLAGS += -DMEM_DEBUG
19 libpwmd_la_SOURCES += mem.c mem.h
20 pwmc_SOURCES += mem.c mem.h
24 install -m 0755 -d $(DESTDIR)${libdir}/pkgconfig
25 chmod u+w $(DESTDIR)${libdir}/pkgconfig
26 install -p -m 0644 ${top_builddir}/libpwmd.pc $(DESTDIR)${libdir}/pkgconfig
29 rm -f $(DESTDIR)${libdir}/pkgconfig/libpwmd.pc
32 git-log --no-color > ChangeLog || exit 1
35 dpkg-buildpackage -B -uc -rfakeroot && dh_clean
38 $(MAKE) $(AM_MAKEFLAGS) distcheck
39 $(MAKE) $(AM_MAKEFLAGS) deb
43 ACLOCAL_AMFLAGS = -I m4 -I/usr/local/share/aclocal