Make dhcpcd-online an optional component for split packages.
[dhcpcd-ui] / src / Makefile
index e2f417b5fe869c78dda6dcaabd5cb71f8ad331e1..cf96e6292ee2238685eb469e5a226a7d49f035ba 100644 (file)
@@ -1,12 +1,6 @@
-MKGTK?=                yes
-_GTK_SH=       case "${MKGTK}" in \
-               [Yy][Ee][Ss]) echo "dhcpcd-gtk";; \
-               *) echo "";; \
-               esac
-_GTK!=         ${_GTK_SH}
-GTK=           ${_GTK}$(shell ${_GTK_SH})
+TOPDIR=                ..
+include ${TOPDIR}/iconfig.mk
 
-SUBDIR=                libdhcpcd ${GTK}
+SUBDIR=                libdhcpcd ${UI}
 
-MK=../mk
-include ${MK}/subdir.mk
+include ${MKDIR}/subdir.mk