Fix install
[dhcpcd-ui] / src / Makefile
index e2f417b5fe869c78dda6dcaabd5cb71f8ad331e1..c51eac1d590ea86e4d7fd9c668470ed01fc20120 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 dhcpcd-online ${UI}
 
-MK=../mk
-include ${MK}/subdir.mk
+include ${MKDIR}/subdir.mk