Remove dbus-glib dependency and create libdhcpcd.
[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
5 _PKGCFLAGS_SH=  pkg-config --cflags dbus-1
6 _PKGCFLAGS!=    ${_PKGCFLAGS_SH}
7 PKGCFLAGS?=     ${_PKGCFLAGS}$(shell ${_PKGCFLAGS_SH})
8 CFLAGS+=        ${PKGCFLAGS}
9
10 _PKGLIBS_SH=    pkg-config --libs dbus-1
11 _PKGLIBS!=      ${_PKGLIBS_SH}
12 PKGLIBS?=       ${_PKGLIBS}$(shell ${_PKGLIBS_SH})
13 LDADD+=         ${PKGLIBS}
14
15 # Don't install
16 LIBINSTALL=
17
18 MK=             ../../mk
19 include ${MK}/lib.mk
20 include ${MK}/cc.mk
21 include ${MK}/debug.mk