X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-autoipd%2FMakefile.am;h=68ed45a399e67d6795527339cb8d134f3468ca68;hb=287f9866c923e6afe8ffbbc03b90be64acf395e1;hp=33df1f54ce8e5afc05a608ac31e83f5d2142b158;hpb=60d86f779725e78ae3d295380f15208859cc06eb;p=catta diff --git a/avahi-autoipd/Makefile.am b/avahi-autoipd/Makefile.am index 33df1f5..68ed45a 100644 --- a/avahi-autoipd/Makefile.am +++ b/avahi-autoipd/Makefile.am @@ -20,17 +20,23 @@ if ENABLE_AUTOIPD if HAVE_LIBDAEMON +pkgsysconfdir=$(sysconfdir)/avahi + AM_CFLAGS= \ -I$(top_srcdir) # This cool debug trap works on i386/gcc only -AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")' +AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")' \ + -DAVAHI_RUNTIME_DIR=\"$(avahi_runtime_dir)/\" \ + -DAVAHI_IPCONF_SCRIPT=\"$(pkgsysconfdir)/avahi-autoipd.action\" sbin_PROGRAMS = avahi-autoipd -avahi_autoipd_SOURCES = main.c +avahi_autoipd_SOURCES = main.c ../avahi-daemon/setproctitle.c iface.h main.h iface-linux.c avahi_autoipd_CFLAGS = $(AM_CFLAGS) $(LIBDAEMON_CFLAGS) avahi_autoipd_LDADD = $(AM_LDADD) ../avahi-common/libavahi-common.la $(LIBDAEMON_LIBS) +pkgsysconf_SCRIPTS=avahi-autoipd.action + endif endif