Fix a crash by clearing our reference to the menuwidget when it is deleted
[dhcpcd-ui] / src / libdhcpcd / Makefile
index 7115d8559f3b40bb3d20baa2fc733f059112e637..eb910d222728444f7a204fdb2c1af46811b593b7 100644 (file)
@@ -1,14 +1,13 @@
 LIB=           dhcpcd
 SHLIB_MAJOR=   1
-SRCS=          main.c config.c dispatch.c misc.c wpa.c
-INCS=          libdhcpcd.h
+SRCS=          dhcpcd.c config.c wpa.c ${VIS_SRC} ${UNVIS_SRC}
+INCS=          dhcpcd.h
 
 TOPDIR=                ../..
-include ${TOPDIR}/config.mk
+include ${TOPDIR}/iconfig.mk
 
-CPPFLAGS+=     -I${TOPDIR} ${DBUS_CFLAGS}
-CFLAGS+=       ${DBUS_CFLAGS}
-LDADD+=                ${DBUS_LIBS}
+CPPFLAGS+=     -I${TOPDIR}
+LDADD+=                ${LIB_INTL}
 
 # Don't install
 LIBINSTALL=    ${LIB_DHCPCD_INSTALL}