diff options
| author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-10-20 23:01:49 +0200 |
|---|---|---|
| committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-10-20 23:01:49 +0200 |
| commit | 40529e1469b399114048185e1d5b7237b1cc7f3e (patch) | |
| tree | ded5ea631b5424d8120becf902dfb35af982f46c | |
| parent | Add Xft and follback-fonts support to graphics lib (diff) | |
| download | dwm-40529e1469b399114048185e1d5b7237b1cc7f3e.tar.gz dwm-40529e1469b399114048185e1d5b7237b1cc7f3e.zip | |
config.mk: add $FREETYPELIBS and $FREETYPEINC, simpler to override (ports and *BSDs)
| -rw-r--r-- | config.mk | 10 |
1 files changed, 8 insertions, 2 deletions
| @@ -14,9 +14,15 @@ X11LIB = /usr/X11R6/lib | |||
| 14 | XINERAMALIBS = -lXinerama | 14 | XINERAMALIBS = -lXinerama |
| 15 | XINERAMAFLAGS = -DXINERAMA | 15 | XINERAMAFLAGS = -DXINERAMA |
| 16 | 16 | ||
| 17 | # freetype | ||
| 18 | FREETYPELIBS = -lfontconfig -lXft | ||
| 19 | FREETYPEINC = /usr/include/freetype2 | ||
| 20 | # OpenBSD (uncomment) | ||
| 21 | #FREETYPEINC = ${X11INC}/freetype2 | ||
| 22 | |||
| 17 | # includes and libs | 23 | # includes and libs |
| 18 | INCS = -I${X11INC} -I/usr/include/freetype2 | 24 | INCS = -I${X11INC} -I${FREETYPEINC} |
| 19 | LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} -lfontconfig -lXft | 25 | LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} |
| 20 | 26 | ||
| 21 | # flags | 27 | # flags |
| 22 | CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} | 28 | CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} |
