Corrected the spelling of "mentioned" in ii.in.1.
[iii.git] / config.mk
blob773a770c87068c7af5a466acf311e96d826d1f47
1 # Customize to fit your system.
3 # If an environment variable is available, the affected setting below is either
4 # skipped or (if the variable is holding flags) appended to the already defined
5 # string.
7 # File paths:
8 PREFIX ?= /usr/local
9 BINDIR ?= ${PREFIX}/bin
10 MANDIR ?= ${PREFIX}/share/man
11 MAN1DIR ?= ${MANDIR}/man1
12 DOCDIR ?= ${PREFIX}/share/doc/ii
14 # Set the following to install to a different root directory:
15 DESTDIR ?=
17 INCDIR ?= ${PREFIX}/include
18 LIBDIR ?= ${PREFIX}/lib
19 VERSION ?= 1.6
20 # The ii(1) executable that the wrapper(1) program will use:
21 EXECUTABLE ?= ii
22 # Amount of seconds that it (generally) takes for ii(1) to connect:
23 SSLEEP ?= 300
25 # Includes and libs:
26 INCLUDES += -I. -I${INCDIR} -I/usr/include
27 LIBS += -L${LIBDIR} -L/usr/lib -lc
28 # Uncomment and comment the two above variables for compiling on Solaris:
29 #LIBS += -L${LIBDIR} -L/usr/lib -lc -lsocket -lnsl
30 #CFLAGS += -g ${INCLUDES} -DVERSION=\"${VERSION}\" \
31 # -DEXECUTABLE=\"${EXECUTABLE}\" -DSSLEEP=${SSLEEP}
33 # Compiler flags:
34 CC ?= cc
35 CFLAGS += -g -O0 -W -Wall ${INCLUDES} -DVERSION=\"${VERSION}\" \
36 -DEXECUTABLE=\"${EXECUTABLE}\" -DSSLEEP=${SSLEEP}
37 LDFLAGS += ${LIBS}