Made the custom memory allocator symbols hidden. This prevents
[libpwmd.git] / Makefile.am
blobe33e59cfc7c4e32c70b1fc82668e99725abd961b
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
6 if USE_PINENTRY
7 libpwmd_la_SOURCES += asshelp.c asshelp.h
8 endif
9 libpwmd_la_HEADERS = libpwmd.h
10 libpwmd_la_LDFLAGS = -version-info 3:0:0 @LIBASSUAN_LIBS@ @GPG_ERROR_LIBS@
11 libpwmd_la_CFLAGS = @LIBASSUAN_CFLAGS@ @GPG_ERROR_CFLAGS@ 
13 dist_man1_MANS = pwmc.1
14 bin_PROGRAMS = pwmc
15 pwmc_SOURCES = pwmc.c mem.c mem.h
16 pwmc_LDADD= -lpwmd
18 install-data-hook:
19         install -m 0755 -d $(DESTDIR)${libdir}/pkgconfig
20         chmod u+w $(DESTDIR)${libdir}/pkgconfig
21         install -p -m 0644 ${top_builddir}/libpwmd.pc $(DESTDIR)${libdir}/pkgconfig
23 uninstall-hook:
24         rm -f $(DESTDIR)${libdir}/pkgconfig/libpwmd.pc
26 changelog:
27         git-log --no-color -- . > ChangeLog || exit 1
29 version: changelog
30          $(MAKE) $(AM_MAKEFLAGS) distcheck