aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2009-02-11 02:32:08 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2009-02-11 02:32:08 +0000
commitbb30ea30f049709336200cd9dffba9929c17f924 (patch)
tree829461b477dde4908431b7b99a94ba4776005f33 /config.mk
parent487a15633b9706bf44a18e7ff484e63c0311f347 (diff)
downloaddzen-bb30ea30f049709336200cd9dffba9929c17f924.tar.gz
dzen-bb30ea30f049709336200cd9dffba9929c17f924.zip
added XFT support
git-svn-id: http://dzen.googlecode.com/svn/trunk@241 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk34
1 files changed, 27 insertions, 7 deletions
diff --git a/config.mk b/config.mk
index d54ea0c..ff82d69 100644
--- a/config.mk
+++ b/config.mk
@@ -18,22 +18,42 @@ INCS = -I. -I/usr/include -I${X11INC}
# Uncomment: Remove # from the beginning of respective lines
# Comment : Add # to the beginning of the respective lines
-# Option 1: No Xinerama no XPM
-LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
-CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\"
+## Option 1: No Xinerama no XPM no XFT
+#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
+#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\"
-# Option 2: No Xinerama with XPM
+
+## Option 2: No Xinerama with XPM
#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXpm
#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XPM
+
# Option 3: With Xinerama no XPM
#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXinerama
#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XINERAMA
-# Option 4: With Xinerama and XPM
+
+## Option 4: With Xinerama and XPM
#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXinerama -lXpm
#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XINERAMA -DDZEN_XPM
+
+## Option 5: With XFT
+LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 `pkg-config --libs xft`
+CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XFT `pkg-config --cflags xft`
+
+
+## Option 6: With XPM and XFT
+#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXpm `pkg-config --libs xft`
+#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XPM -DDZEN_XFT `pkg-config --cflags xft`
+
+
+## Option 7: With Xinerama and XPM and XFT
+#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXinerama -lXpm `pkg-config --libs xft`
+#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XINERAMA -DDZEN_XPM -DDZEN_XFT `pkg-config --cflags xft`
+
+
+
# END of feature configuration
@@ -45,8 +65,8 @@ LDFLAGS = ${LIBS}
#CFLAGS += -xtarget=ultra
# Debugging
-#CFLAGS = ${INCS} -DVERSION=\"${VERSION}\" -std=gnu89 -pedantic -Wall -W -Wno-missing-field-initializers -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wdisabled-optimization -O2 -pipe -DDZEN_XPM
-#LDFLAGS = -g ${LIBS}
+#CFLAGS = ${INCS} -DVERSION=\"${VERSION}\" -std=gnu89 -pedantic -Wall -W -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wdisabled-optimization -O2 -pipe -DDZEN_XFT `pkg-config --cflags xft`
+#LDFLAGS = ${LIBS}
# compiler and linker
CC = gcc