adopt make config for FreeBSD
added /usr/local/lib for LIBS and /usr/local/include for INC
This commit is contained in:
parent
51d6656eac
commit
23f4b5ed35
1 changed files with 6 additions and 3 deletions
|
@ -16,13 +16,16 @@ XINERAMAFLAGS = -DXINERAMA
|
||||||
|
|
||||||
# Freetype
|
# Freetype
|
||||||
FREETYPELIBS = -lfontconfig -lXft
|
FREETYPELIBS = -lfontconfig -lXft
|
||||||
FREETYPEINC = /usr/include/freetype2
|
#FREETYPEINC = /usr/include/freetype2
|
||||||
# OpenBSD (uncomment)
|
# OpenBSD (uncomment)
|
||||||
#FREETYPEINC = ${X11INC}/freetype2
|
#FREETYPEINC = ${X11INC}/freetype2
|
||||||
|
# FreeBSD
|
||||||
|
FREETYPEINC = /usr/local/include/freetype2
|
||||||
|
|
||||||
# Includes and libs
|
# Includes and libs
|
||||||
INCS = -I${X11INC} -I${FREETYPEINC}
|
# FreeBSD has this within /usr/local/{include,lib}
|
||||||
LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
|
INCS = -I/usr/local/include -I${X11INC} -I${FREETYPEINC}
|
||||||
|
LIBS = -L/usr/local/lib -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
|
||||||
|
|
||||||
# Flags
|
# Flags
|
||||||
CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -DPACKAGE_VERSION=\"${VERSION}\" -DPACKAGE_BUGREPORT=\"${BUGREPORT}\"
|
CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -DPACKAGE_VERSION=\"${VERSION}\" -DPACKAGE_BUGREPORT=\"${BUGREPORT}\"
|
||||||
|
|
Loading…
Reference in a new issue