recipes

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

config.mk (913B)


      1 # st version
      2 VERSION = 0.7
      3 
      4 # Customize below to fit your system
      5 
      6 # paths
      7 PREFIX = /usr/local
      8 MANPREFIX = ${PREFIX}/share/man
      9 
     10 X11INC = /usr/X11R6/include
     11 X11LIB = /usr/X11R6/lib
     12 
     13 INCS = \
     14 	-I$(libtinyx11)/include \
     15 	-I$(libXft)/include \
     16 	-I$(libfreetype)/include \
     17 	-I$(libfontconfig)/include
     18 
     19 # Mind that the order has an imporance
     20 LIBS = \
     21 	-L$(libfontconfig)/lib -lfontconfig \
     22 	-L$(libXft)/lib -lXft \
     23 	-L$(libfreetype)/lib -lfreetype \
     24 	-L$(libtinyx11)/lib \
     25 	-lfontconfig \
     26 		-lXrender -lX11 -lICE -lSM -lX11 -lXau -lXaw -lXcursor \
     27 		-lXdmcp -lXext -lXfixes -lXfont -lXi -lXinerama -lXmu \
     28 		-lXmuu -lXpm -lXss -lXt -lXtst -lXv \
     29 	-L$(libexpat)/lib -lexpat \
     30 	-L$(libuuid)/lib -luuid \
     31 	-lm -lutil
     32 
     33 # flags
     34 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600
     35 CFLAGS += -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os ${INCS} ${CPPFLAGS}
     36 LDFLAGS  = -g ${LIBS} -static
     37 
     38 # compiler and linker
     39 CC = cc