]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/Makefile.am
Merge remote-tracking branch 'origin/develop' into spotlight
[netatalk.git] / include / atalk / Makefile.am
index 8c58f0e9d8a35821956981e4bae67426d019c063..2f63e0f676e76edea239c6738f93c6751e3522e4 100644 (file)
@@ -1,6 +1,8 @@
 # Makefile.am for include/atalk/
 
 atalkincludedir = $(includedir)/atalk
+BUILT_SOURCES = 
+CLEANFILES =
 
 atalkinclude_HEADERS = \
        adouble.h \
@@ -45,3 +47,12 @@ noinst_HEADERS = \
        byteorder.h \
        fce_api.h \
        spotlight.h
+
+EXTRA_DIST = afp_dtrace.d
+
+if WITH_DTRACE
+BUILT_SOURCES += afp_dtrace.h
+CLEANFILES += afp_dtrace.h
+afp_dtrace.h: $(top_srcdir)/include/atalk/afp_dtrace.d
+       $(LIBTOOL) --mode=execute dtrace -o afp_dtrace.h -h -s $(top_srcdir)/include/atalk/afp_dtrace.d
+endif