recipes

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

standard_definitions.mk (548B)


      1 CC=cc
      2 COMPFLAGS=-pipe -Os -Wall -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_GNU_SOURCE -fno-strength-reduce -nodefaultlibs -fno-strict-aliasing  -I. -ffunction-sections -fdata-sections -fPIC
      3 COMMONDEFS=$(COMPFLAGS) -D_BSD_SOURCE -D_GNU_SOURCE -DUSECMS
      4 LDFLAGS=-Wl,--gc-sections,--sort-common,-s
      5 
      6 LINKDIR=-L/lib
      7 PREDIR=${PREFIX}
      8 LIBDIR=${PREDIR}/lib
      9 INCDIR=${PREDIR}/include
     10 
     11 #If you do not have setlocale, set this:
     12 #COMMONDEFS+= -DX_LOCALE -DXLOCALEDIR=\"/usr/share/locale\" 
     13 #KEYSYMDB=/usr/X11R7/lib/X11/XKeysymDB
     14 KEYSYMDB=${PREDIR}/share/X11/XKeysymDB