diff options
author | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2009-02-11 02:32:08 +0000 |
---|---|---|
committer | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2009-02-11 02:32:08 +0000 |
commit | bb30ea30f049709336200cd9dffba9929c17f924 (patch) | |
tree | 829461b477dde4908431b7b99a94ba4776005f33 /config.mk | |
parent | 487a15633b9706bf44a18e7ff484e63c0311f347 (diff) | |
download | dzen-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.mk | 34 |
1 files changed, 27 insertions, 7 deletions
@@ -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 |