# RE_SID: @(%)/tmp_mnt/vol/sha/qsilver_SCCS/unix/pop3/solaris2/SCCS/s.Makefile 1.3 93/03/19 18:11:50 SMI
#@(#)@(#)Makefile	2.5  2.5 4/3/91

CSRCS	=	pop_dele.c pop_dropcopy.c pop_dropinfo.c \
		pop_get_command.c pop_get_subcommand.c pop_init.c \
		pop_last.c pop_list.c pop_log.c pop_lower.c \
		pop_msg.c pop_parse.c pop_pass.c pop_quit.c \
		pop_rset.c pop_send.c pop_stat.c pop_updt.c \
		pop_user.c pop_xtnd.c pop_xmit.c popper.c

OBJS	=	pop_dele.o pop_dropcopy.o pop_dropinfo.o \
		pop_get_command.o pop_get_subcommand.o pop_init.o \
		pop_last.o pop_list.o pop_log.o pop_lower.o \
		pop_msg.o pop_parse.o pop_pass.o pop_quit.o \
		pop_rset.o pop_send.o pop_stat.o pop_updt.o \
		pop_user.o pop_xtnd.o pop_xmit.o popper.o

INCLUDES	= 	popper.h version.h

SRCS		=	${CSRCS} ${INCLUDES}

MAKEFILE	=	Makefile

#               Options are:
#               BIND43 - If you are using BSD 4.3 domain name service.
#		DEBUG	- Include the debugging code.  Note:  You
#					still have to use the -d or -t flag to
#					enable debugging.
#               HAVE_VSPRINTF -	If the vsprintf functions are available 
#					on your system.
#               SYSLOG42 -	For BSD 4.2 syslog (default is BSD 4.3 
#					syslog).
#               STRNCASECMP - If you do not have strncasecmp()

CFLAGS		=	-O -DHAVE_VSPRINTF -DDEBUG
PROGRAM		=	popper
MANPAGE	=	popper.8
CATPAGE	=	popper.0
LDFLAGS	=	-lnsl -lsocket

all: ${PROGRAM}

${PROGRAM}: ${OBJS}
	${CC} ${OBJS} $(LDFLAGS) -o ${PROGRAM}

${OBJS}:   ${INCLUDES} 

clean: 
	rm -f $(PROGRAM) *.o *.tar *.Z




