]> arthur.barton.de Git - netatalk.git/blobdiff - Makefile.am
libatalk: ABI: add abi-clean target
[netatalk.git] / Makefile.am
index 5ee6b85319979f0c1e7f18a6af8fa32497a0e4a3..ec7f14d779a91945fcec13b8f2c014a0ab06f655 100644 (file)
@@ -1,19 +1,25 @@
 # Makefile.am for top level of netatalk package
 
-SUBDIRS = libatalk libevent bin config etc man contrib distrib include doc macros test
+if USE_BUILTIN_LIBEVENT
+SUBDIRS = libevent include libatalk bin config etc contrib distrib doc man macros test
+else
+SUBDIRS = include libatalk bin config etc contrib distrib doc man macros test
+endif
 
-EXTRA_DIST = CONTRIBUTORS COPYRIGHT COPYING NEWS VERSION services.atalk
+EXTRA_DIST = CONTRIBUTORS COPYRIGHT COPYING NEWS VERSION abigen.sh
 
 ACLOCAL_AMFLAGS = -I macros
 AUTOMAKE_OPTIONS = foreign
 
-if USE_BUILTIN_LIBEVENT
-       SUBDIRS += libevent
-endif
-
 if RUN_LDCONFIG
 install-exec-hook:
        @printf "Running ldconfig to ensure libraries installed in system library directories are added to the dynamic linker cache ... "
        @-@NETA_LDCONFIG@
        @printf "done\n"
 endif
+
+if DEVELOPER
+abi-clean:
+       @echo "Removing ABI file libatalk/libatalk-$(NETATALK_VERSION).abi"
+       @rm -f libatalk/libatalk-$(NETATALK_VERSION).abi
+endif