2005-11-18 18:54:58 +03:00
|
|
|
# Customize to fit your system
|
|
|
|
|
|
|
|
# paths
|
2006-05-31 21:48:44 +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-06-06 19:35:29 +04:00
|
|
|
VERSION = 4-current
|
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-05-19 15:35:48 +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-05-19 15:35:48 +04:00
|
|
|
LDFLAGS = -g ${LIBS}
|
|
|
|
|
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
|