Can't easily test for git, so just use the CFLAGS.
[dhcpcd-ui] / mk / sys.mk
1 # Simple defaults
2
3 PREFIX?=        /usr/local
4
5 BINDIR?=        ${PREFIX}/bin
6 BINMODE?=       0755
7 NONBINMODE?=    0644
8
9 SYSCONFDIR?=    ${PREFIX}/etc
10
11 AR?=            ar
12 ECHO?=          echo
13 INSTALL?=       install
14 RANLIB?=        ranlib
15 SED?=           sed
16
17 PICFLAG?=               -fPIC
18
19 _LIBNAME_SH=            case `readlink /lib` in "") echo "lib";; *) basename `readlink /lib`;; esac
20 _LIBNAME!=              ${_LIBNAME_SH}
21 LIBNAME?=               ${_LIBNAME}$(shell ${_LIBNAME_SH})