# Edit this file to reflect information specific to your installation.
# Then run 'make makefiles' to propagate the information to all the makefiles,

#
# Definitions for the library:
#
# You must define *either* -DBIG_ENDIAN *or* -DLITTLE_ENDIAN depending
#	on which way your machine's bytes go for the benefit of the
#	DES routine.  Most things sold by DEC, the NS32x32 and the 80386
#	deserve a -DLITTLE_ENDIAN.  Most of the rest of the world does it
#	the other way.  If in doubt, pick one, compile everything and run
#	authstuff/authcert < authstuff/certdata.  If everything fails,
#	do it the other way.
#
# Use a -DRS6000 for IBM RS/6000 workstations.
#
LIBDEFS=	-DBIG_ENDIAN -DRS6000

#
# Definitions for programs:
# 
# If your compiler doesn't understand the declaration `signed char',
#       add -DNO_SIGNED_CHAR_DECL.  Your `char' data type had better be
#	signed.  If you don't know what the compiler knows, try it
#	without the flag.  If you get a syntax error on line 13 of
#	ntp.h, add it.  Note that `signed char' is an ANSIism.  Most
#	older, pcc-derived compilers will need this flag.
#
# For SunOS 3.x, add -DSUN_3_3_STINKS (otherwise it will complain
#	about broadaddr and will hang if you run without a -d flag
#	on the command line.  I actually can't believe the latter
#	bug.  If it hangs on your system with the flag defined, peruse
#	xntpd/ntp_io.c for some rude comments about SunOS 3.5 and try it
#	the other way).  This flag affects xntpd only.
#
# For Ultrix 2.0, add -DULT_2_0_SUCKS.  This OS has the same hanging
#	bug as SunOS 3.5 (is this an original 4.2 bug?) and in addition
#	has some strangeness concerning signal masks.  Ultrix 2.3 doesn't
#	have these problems.  If you're running something in between
#	you're on your own.  This flag affects xntpd only.
#
# If your gethostbyname() routine isn't based on the DNS resolver (and,
#	in particular, h_errno doesn't exist) add a -DNODNS.  There
#	doesn't seem to be a good way to detect this automatically which
#	works in all cases.  This flag affects xntpres only.
#
# The flag -DDEBUG includes some debugging code.
#
# The flag -DREFCLOCK causes the basic reference clock support to be
#	compiled into the daemon.  If you set this you will also want
#	to configure the particular clock drivers you want in the
#	CLOCKDEFS= line below.  This flag affects xntpd only.
#
# The flag -DRS6000 should be used for IBM RS/6000s.
#
# The flag -DBIGTIMESTEP allows the clock to be stepped any arbitrary
#       amount.  This is helpful for machines whose batteries are
#       too low to maintain the clock when the power is off.
#
# There is an occurance of a call to rindex() in the daemon.  You may
#	have to include a -Drindex=strrchr to get this to load right.
#
# To change the location of the configuration file, use a
#	-DCONFIG_FILE=\\"/local/etc/ntp.conf\\" or something similar.
#
DEFS= -DBIGTIMESTEP -DRS6000

#
# Clock support definitions (these only make sense if -DREFCLOCK used):
#
# Define -DLOCAL_CLOCK to include local pseudo-clock support
#
# Define -DPST to include support for the PST 1020 WWV/H receiver.
#
# Define -DWWVB to include support for the Spectracom 8170 WWVB receiver.
#
# Define -DCHU to include support for a driver to receive the CHU
#	timecode.  Note that to compile in CHU support you must
#	previously have installed the CHU serial line discipline in
#	the kernel of the machine you are doing the compile on.
#
CLOCKDEFS=

#
# For MIPS 4.3BSD or RISCos 4.0, include a -lmld to get the nlist() routine
#
DAEMONLIBS= # -lmld

#
# Name resolver library.  Included when loading xntpres, which calls
# gethostbyname().  Define this if you would rather use a different
# version of the routine than the one in libc.a
#
RESLIB=

#
# Option flags for the C compiler.  A -g if you are uncomfortable
#
COPTS= -O

#
# C compiler to use.  gcc will work, but avoid the -fstrength-reduce option
# if the version is 1.35 or earlier (using this option caused incorrect
# code to be generated in the DES key permutation code, and perhaps
# elsewhere).  For the RS6000, this should be "bsdcc".
#
COMPILER= bsdcc

#
# Directory into which binaries should be installed
#
BINDIR=	/local/etc
