#
# Makefile for PROS named pipe printer daemon.
#
# (C) Copyright 1992, Axis Communications AB, LUND, SWEDEN
#
# Ver 1.4, Jul 20, 1993, RW
#
# 1. If your system does not include BSD networking support routines
#    automatically, you may have to change the Lx_OPTIONS.
#    For instance, some System V machines require -lsocket, sometimes in
#    conjunction with -lnsl, to work properly.
#    Note! You may have to change L1_OPTIONS or L2_OPTIONS, depending on
#          where in the command line your compiler wants the link options.
#          You never have to set both L1_OPTIONS and L2_OPTIONS.
#
L1_OPTIONS=
L2_OPTIONS=
#L2_OPTIONS=-lsocket
#
# 2. On some systems, such as the HP9000 running EaseSpool, the named pipe 
#    must be left open between print jobs. In this case, define ALWAYS_OPEN
#    by commenting out the first line below instead of the second one.
#
LEAVE_PIPE_OPEN=
#LEAVE_PIPE_OPEN=-DALWAYS_OPEN
#
# --- End of instructions ---
prosd : prosd.c
	cc -o prosd -DTRY_FOREVER ${LEAVE_PIPE_OPEN} ${L1_OPTIONS} prosd.c ${L2_OPTIONS}
