-# SECURE_FLAGS = -DREQ_SYSOPTIONS=1
-DEBUG_FLAGS = -DDEBUGALL
-COMPILE_FLAGS = -I.. -D_linux_=1 -DGIDSET_TYPE=gid_t
-COPTS = -g # -O2
-LOCKPREFIX = \"/usr/spool/uucp/LCK..\"
-VER = 0.2.8
+# DEBUG_FLAGS = -DDEBUGALL
+#
+COPTS = -O2 # -g
+VER = 2.3.0
+LIBS = -lbsd
+YACC = bison -y
+LEX = flex
+
+# The INCLUDE_DIRS must include the standard headers before the local
+# ones. If you just had -I.. then the order would be reversed. So, use
+# the default location for include files first before the .. location.
+#INCLUDE_DIRS= -I/usr/include -I..
+INCLUDE_DIRS=
+
+COMPILE_FLAGS= -D_linux_=1 -DHAVE_PATHS_H
+
+CFLAGS= $(COPTS) $(DEBUG_FLAGS) $(COMPILE_FLAGS) $(INCLUDE_DIRS)
+
+ifdef USE_MS_DNS
+CFLAGS += -DUSE_MS_DNS=1
+endif