recipes

packages recipes for the <noname> package manager
Log | Files | Refs

config.mk (827B)


      1 VERSION = 6.1
      2 MANPREFIX = ${PREFIX}/share/man
      3 
      4 INCS = \
      5 	-I$(libtinyx11)/include \
      6 	-I$(libXft)/include \
      7 	-I$(libfreetype)/include \
      8 	-I$(libfontconfig)/include \
      9 
     10 # Mind that the order has an imporance
     11 LIBS = \
     12 	-L$(libfontconfig)/lib -lfontconfig \
     13 	-L$(libXft)/lib -lXft \
     14 	-L$(libfreetype)/lib -lfreetype \
     15 	-L$(libtinyx11)/lib \
     16 		-lfontconfig -lXrender -lX11 -lICE -lSM -lX11 -lXau \
     17 		-lXaw -lXcursor -lXdmcp -lXext -lXfixes -lXfont -lXi \
     18 		-lXinerama -lXmu -lXmuu -lXpm -lXss -lXt -lXtst -lXv \
     19 	-L$(libexpat)/lib -lexpat \
     20 	-L$(libuuid)/lib -luuid \
     21 	-L$(libpng)/lib -lpng \
     22 	-L$(libz)/lib -lz \
     23 	-lm
     24 
     25 CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
     26 CFLAGS   = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
     27 LDFLAGS  = -s ${LIBS} -static
     28 CC = cc