Bring over configure imporvements from dhcpcd.
[dhcpcd-ui] / src / libdhcpcd / Makefile
1 LIB=            dhcpcd
2 SHLIB_MAJOR=    1
3 SRCS=           main.c config.c dispatch.c misc.c wpa.c
4 INCS=           libdhcpcd.h
5
6 TOPDIR=         ../..
7 include ${TOPDIR}/iconfig.mk
8
9 CPPFLAGS+=      -I${TOPDIR} ${DBUS_CFLAGS}
10 CFLAGS+=        ${DBUS_CFLAGS}
11 LDADD+=         ${DBUS_LIBS}
12
13 # Don't install
14 LIBINSTALL=     ${LIB_DHCPCD_INSTALL}
15
16 include ${MKDIR}/lib.mk