# Variables used in ALL the makefiles

# used for cross compiling
toolprefix=
CC	= $(toolprefix)gcc

CFLAGS	=
LIBS	=
# Enable crypt library if we are on a GNU LIBC based machine
LIBS	= -lcrypt

# Choose your machine type here:
#CFLAGS	+= -DSUNOS
#CFLAGS	+= -DAMIGAOS
CFLAGS	+= -DLINUX
#CFLAGS	+= -DSOLARIS
#CFLAGS	+= -DWIN32

# End of choices

# (Un)Comment as you wish...
CFLAGS	+= -Wall -Werror -g
CFLAGS	+= -ansi -pedantic
CFLAGS	+= -O2
CFLAGS	+= -Wstrict-prototypes

# Uncomment to enable debugging code
#CFLAGS	+= -DDEBUG_TALKER
CFLAGS	+= -DDEBUG_TELNET

# Uncomment to use TCP Wrappers
#CFLAGS	+= -DUSE_WRAPPER
#CFLAGS	+= -DPARANOID
#LIBS	+= -lwrap

LD	= $(toolprefix)ld -r -o
AR	= $(toolprefix)ar cr
RANLIB	= $(toolprefix)ranlib
MAKE	= make
STRIP	= $(toolprefix)strip
