diff options
Diffstat (limited to 'tools/Makefile.am')
| -rw-r--r-- | tools/Makefile.am | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am new file mode 100644 index 0000000..93b5b9f --- /dev/null +++ b/tools/Makefile.am @@ -0,0 +1,20 @@ +if BUILD_TOOLS + +AM_CFLAGS = \ + $(GLOBAL_CFLAGS) \ + -I$(top_srcdir)/include + +AM_LDFLAGS = + +bin_PROGRAMS = plistutil + +plistutil_SOURCES = plistutil.c +plistutil_LDADD = $(top_builddir)/src/libplist-2.0.la + +install-exec-hook: + cd $(DESTDIR)$(bindir) && ln -sf plistutil plist2json + +uninstall-hook: + rm -f $(DESTDIR)$(bindir)/plist2json + +endif |
