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
|
||||
FREETYPELIBS = -lfontconfig -lXft
|
||||
FREETYPEINC = /usr/include/freetype2
|
||||
#FREETYPEINC = /usr/include/freetype2
|
||||
# OpenBSD (uncomment)
|
||||
#FREETYPEINC = ${X11INC}/freetype2
|
||||
# FreeBSD
|
||||
FREETYPEINC = /usr/local/include/freetype2
|
||||
|
||||
# Includes and libs
|
||||
INCS = -I${X11INC} -I${FREETYPEINC}
|
||||
LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
|
||||
# FreeBSD has this within /usr/local/{include,lib}
|
||||
INCS = -I/usr/local/include -I${X11INC} -I${FREETYPEINC}
|
||||
LIBS = -L/usr/local/lib -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
|
||||
|
||||
# Flags
|
||||
CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -DPACKAGE_VERSION=\"${VERSION}\" -DPACKAGE_BUGREPORT=\"${BUGREPORT}\"
|
||||
|
|
Loading…
Reference in a new issue