Added pwmc command line option -t. When opening a file and a password
[libpwmd.git] / Makefile.am
blob4422247324165a62c40d1b8dc9abbbb12596b09a
1 EXTRA_DIST = TODO ChangeLog ChangeLog.old INSTALL KnownBugs NEWS
2 dist_man3_MANS = libpwmd.3
3 lib_LTLIBRARIES = libpwmd.la
4 libpwmd_ladir = $(includedir)
5 libpwmd_la_SOURCES = libpwmd.c libpwmd.h mem.c mem.h types.h
6 libpwmd_la_HEADERS = libpwmd.h
7 libpwmd_la_LDFLAGS = -version-info 3:0:0 @LIBASSUAN_LIBS@ @GPG_ERROR_LIBS@
8 libpwmd_la_CFLAGS = @LIBASSUAN_CFLAGS@ @GPG_ERROR_CFLAGS@ 
10 dist_man1_MANS = pwmc.1
11 bin_PROGRAMS = pwmc
12 pwmc_SOURCES = pwmc.c mem.c mem.h
13 pwmc_LDADD= -lpwmd
15 install-data-hook:
16         install -m 0755 -d $(DESTDIR)${libdir}/pkgconfig
17         chmod u+w $(DESTDIR)${libdir}/pkgconfig
18         install -p -m 0644 ${top_builddir}/libpwmd.pc $(DESTDIR)${libdir}/pkgconfig
20 uninstall-hook:
21         rm -f $(DESTDIR)${libdir}/pkgconfig/libpwmd.pc
23 changelog:
24         git-log --no-color -- . > ChangeLog || exit 1
26 version: changelog
27          $(MAKE) $(AM_MAKEFLAGS) distcheck