2005-11-18 18:54:58 +03:00
|
|
|
# Customize to fit your system
|
|
|
|
|
|
|
|
# paths
|
2006-04-03 18:54:45 +04:00
|
|
|
PREFIX = /usr/local
|
2005-11-18 18:54:58 +03:00
|
|
|
CONFPREFIX = ${PREFIX}/etc
|
|
|
|
MANPREFIX = ${PREFIX}/share/man
|
|
|
|
|
|
|
|
X11INC = /usr/X11R6/include
|
|
|
|
X11LIB = /usr/X11R6/lib
|
|
|
|
|
2006-05-09 19:30:41 +04:00
|
|
|
VERSION = 20060509-rc3-agnita
|
2005-12-15 04:45:12 +03:00
|
|
|
|
2005-11-18 18:54:58 +03:00
|
|
|
# includes and libs
|
2006-04-10 17:48:27 +04:00
|
|
|
LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11
|
2005-11-18 18:54:58 +03:00
|
|
|
|
2006-01-21 14:57:20 +03:00
|
|
|
# Linux/BSD
|
2006-04-10 17:48:27 +04:00
|
|
|
CFLAGS = -g -Wall -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
|
2005-12-17 14:46:05 +03:00
|
|
|
-DVERSION=\"${VERSION}\"
|
2006-04-10 17:49:13 +04:00
|
|
|
LDFLAGS = -g ${LIBS}
|
2005-11-18 18:54:58 +03:00
|
|
|
|
2006-01-21 14:57:20 +03:00
|
|
|
# Solaris
|
|
|
|
#CFLAGS = -fast -xtarget=ultra ${INCLUDES} -DVERSION=\"${VERSION}\"
|
2006-04-25 19:29:54 +04:00
|
|
|
#LIBS += -lnsl -lsocket
|
2006-01-21 14:57:20 +03:00
|
|
|
|
2005-11-18 18:54:58 +03:00
|
|
|
AR = ar cr
|
|
|
|
CC = cc
|
|
|
|
RANLIB = ranlib
|