From bb30ea30f049709336200cd9dffba9929c17f924 Mon Sep 17 00:00:00 2001 From: gotmor Date: Wed, 11 Feb 2009 02:32:08 +0000 Subject: added XFT support git-svn-id: http://dzen.googlecode.com/svn/trunk@241 f2baff5b-bf2c-0410-a398-912abdc3d8b2 --- config.mk | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) (limited to 'config.mk') 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 -- cgit v1.2.3-54-g00ecf