2023-02-16 20:04:38 +03:00
|
|
|
# Main configuration file.
|
|
|
|
|
|
|
|
MKINCDIR = $(MKINCDIR)
|
|
|
|
|
|
|
|
EXEDIR = $(HOME)/exe
|
2023-03-10 16:13:55 +03:00
|
|
|
APPDIR = `goblin paths -fr $HOME/app`
|
2023-02-16 20:04:38 +03:00
|
|
|
SHRDIR = $(HOME)/shr
|
|
|
|
INCDIR = $SHRDIR/inc
|
|
|
|
OBJDIR = $SHRDIR/obj
|
|
|
|
MANDIR = $SHRDIR/man
|
|
|
|
INSTALLDIRS = $OBJDIR $MANDIR $EXEDIR $INCDIR $APPDIR
|
|
|
|
|
|
|
|
USRDIR = /usr
|
|
|
|
USRINC = -I$USRDIR/include
|
|
|
|
USRLIB = -L$USRDIR/lib
|
|
|
|
X11 = $USRDIR/X11R6
|
|
|
|
X11INC = -I$X11/include
|
|
|
|
X11LIB = -L$X11/lib -lX11
|
|
|
|
XFTLIB = -lXft
|
|
|
|
FTINC = $USRINC/freetype2
|
|
|
|
FTLIB = -lfreetype
|
|
|
|
FCINC =
|
|
|
|
FCLIB = -lfontconfig
|
|
|
|
MLIB = -lm
|
|
|
|
CLIB = -lc
|
|
|
|
UTILLIB = -lutil
|
|
|
|
XINLIB = -lXinerama
|
|
|
|
XINCPP = -DXINERAMA
|
|
|
|
XTLIB = -lXt
|
|
|
|
XILIB = -lXi
|
|
|
|
XEXTLIB = -lXext
|
|
|
|
DOTINC = -I.
|
|
|
|
SECINC = -Isec
|
|
|
|
PATH9 = lib/9
|
|
|
|
SECINC9 = -I$PATH9/sec
|
|
|
|
CRYPTLIB = -lcrypt
|
|
|
|
XRLIB = -lXrandr
|
|
|
|
CURLIB = -lcurses
|
|
|
|
PNGLIB = -lpng
|
|
|
|
JPGLIB = -ljpeg
|
|
|
|
OBJ9 = $OBJDIR/9.a
|
|
|
|
INC9 = -I$INCDIR/9
|
|
|
|
FRAMEOBJ = $OBJDIR/frame.a
|
|
|
|
FRAMEINC = -I$INCDIR/frame
|
|
|
|
XGOBJ = $OBJDIR/Xg.a
|
|
|
|
XGINC = -I$INCDIR/Xg
|
|
|
|
SLINC = -I$INCDIR/sl
|
|
|
|
XMULIB = -lXmu
|
|
|
|
GCC = cc
|
|
|
|
CC = tcc
|
|
|
|
LD = $CC
|
|
|
|
STRIP = strip
|
|
|
|
AR = ar
|
|
|
|
YACC = 9yacc
|
|
|
|
LEX = lex
|
|
|
|
PKG_CONFIG_CFLAGS = pkg-config --cflags
|
|
|
|
PkG_CONFIG_LIBS = pkg-config --libs
|
|
|
|
|
|
|
|
<$(HOME)/env/mk/config
|