]> arthur.barton.de Git - netatalk.git/blob - bin/megatron/Makefile.am
Remove bdb env on exit
[netatalk.git] / bin / megatron / Makefile.am
1 # Makefile.am for bin/megatron/
2
3 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/sys
4
5 bin_PROGRAMS = megatron
6
7 megatron_SOURCES = asingle.c hqx.c macbin.c megatron.c nad.c updcrc.c
8 megatron_LDADD = $(top_builddir)/libatalk/libatalk.la
9
10 noinst_HEADERS = asingle.h megatron.h hqx.h macbin.h nad.h updcrc.h
11
12 LINKS = unbin unhex unsingle hqx2bin single2bin macbinary binheader nadheader
13
14 install-exec-hook:
15         @for LINK in $(LINKS); do \
16                 rm -f $(DESTDIR)$(bindir)/$$LINK; \
17                 $(LN_S) megatron $(DESTDIR)$(bindir)/$$LINK; \
18         done
19
20 uninstall-hook:
21         @for LINK in $(LINKS); do \
22                 rm -f $(DESTDIR)$(bindir)/$$LINK; \
23         done