2005-12-19 16:39:54 +03:00
|
|
|
# Customize to fit your system
|
|
|
|
|
|
|
|
# paths
|
|
|
|
PREFIX = /usr/local
|
2006-07-14 21:57:38 +04:00
|
|
|
BINDIR = ${PREFIX}/bin
|
2006-03-16 18:35:03 +03:00
|
|
|
MANDIR = ${PREFIX}/share/man
|
|
|
|
MAN1DIR = ${MANDIR}/man1
|
2007-02-03 15:09:13 +03:00
|
|
|
DOCDIR = ${PREFIX}/share/doc/ii
|
|
|
|
|
2006-03-16 18:35:03 +03:00
|
|
|
# Set the following to install to a different root
|
|
|
|
DESTDIR =
|
2005-12-19 16:39:54 +03:00
|
|
|
|
|
|
|
INCDIR = ${PREFIX}/include
|
|
|
|
LIBDIR = ${PREFIX}/lib
|
2011-01-31 23:47:00 +03:00
|
|
|
VERSION = 1.6
|
2005-12-19 16:39:54 +03:00
|
|
|
|
|
|
|
# includes and libs
|
|
|
|
INCLUDES = -I. -I${INCDIR} -I/usr/include
|
|
|
|
LIBS = -L${LIBDIR} -L/usr/lib -lc
|
2007-02-01 14:00:59 +03:00
|
|
|
# uncomment and comment other variables for compiling on Solaris
|
|
|
|
#LIBS = -L${LIBDIR} -L/usr/lib -lc -lsocket -lnsl
|
|
|
|
#CFLAGS = -g ${INCLUDES} -DVERSION=\"${VERSION}\"
|
2005-12-19 16:39:54 +03:00
|
|
|
|
|
|
|
# compiler
|
|
|
|
CC = cc
|
2007-07-14 15:12:01 +04:00
|
|
|
CFLAGS = -g -O0 -W -Wall ${INCLUDES} -DVERSION=\"${VERSION}\"
|
2005-12-19 16:39:54 +03:00
|
|
|
LDFLAGS = ${LIBS}
|