Fix build system so it works on Gentoo portage easily.
[dhcpcd-ui] / src / dhcpcd-gtk / Makefile
1 PROG=           dhcpcd-gtk
2 SRCS=           main.c menu.c prefs.c wpa.c
3
4 TOPDIR=         ../..
5 include ${TOPDIR}/config.mk
6
7 ICONDIR?=       ${PREFIX}/share/dhcpcd/icons
8 XDGDIR?=        ${SYSCONFDIR}/xdg/autostart
9 FILESDIR=       ${XDGDIR}
10 FILES=          dhcpcd-gtk.desktop
11
12 CPPFLAGS+=      ${NOTIFY} -I${TOPDIR}
13
14 CFLAGS+=        ${GTK_CFLAGS}
15 LDADD+=         ${LIB_DHCPCD} ${GTK_LIBS}
16
17 include ../libdhcpcd/Makefile.inc
18 include ${MKDIR}/prog.mk