| 1 |
PROG= dhcpcd-gtk |
| 2 |
SRCS= main.c menu.c prefs.c wpa.c |
| 3 |
|
| 4 |
TOPDIR= ../.. |
| 5 |
include ${TOPDIR}/iconfig.mk |
| 6 |
|
| 7 |
ICONDIR?= ${PREFIX}/share/dhcpcd/icons |
| 8 |
APPDIR?= ${PREFIX}/share/applications |
| 9 |
FILESDIR= ${SYSCONFDIR}/xdg/autostart |
| 10 |
FILES= dhcpcd-gtk.desktop |
| 11 |
MAN8= dhcpcd-gtk.8 |
| 12 |
|
| 13 |
CPPFLAGS+= ${NOTIFY} -I${TOPDIR} |
| 14 |
|
| 15 |
CFLAGS+= ${GTK_CFLAGS} |
| 16 |
LDADD+= ${LIB_DHCPCD} ${GTK_LIBS} |
| 17 |
|
| 18 |
# new glib causes deprecated warnings on old Gtk+. |
| 19 |
# A different Gtk+ front end needs to be written anyway as the systray |
| 20 |
# is gone in Gtk+4. |
| 21 |
CFLAGS+= -Wno-deprecated-declarations |
| 22 |
|
| 23 |
.PHONY: dhcpcd-gtk |
| 24 |
|
| 25 |
include ../libdhcpcd/Makefile.inc |
| 26 |
|
| 27 |
FILESINSTALL= _filesinstall |
| 28 |
include ${MKDIR}/prog.mk |
| 29 |
include ${MKDIR}/files.mk |