# Edit the following line for the default list file location:
LISTLOCATION = -DLIST_NAME='"/usr/doc/listserv.lists"'
 
# Edit the following line for the border character:
# (The +128 will cause the character to appear in inverse video with most
# curses implementations.)
BORDER = -DSQUARE="'_'+128"
 
# Edit the following line if you wish to use shell scripts to call the
# mail program instead of calling "mail" directly.  Keep in mind that you
# can only call mail directly if your implementation of mail allows you to
# specify a subject line with the -s switch.
# If you choose to send mail via shell scripts, you can specify the name
# of the subscribe and unsubscribe shell scripts.  You may include a
# path name, as well.
#BATCH = 
BATCH = -DBATCH -DBATCH_SUB='"sllsub \"%s\" \"%s\" \"%s\" \"%s\""' -DBATCH_USUB='"sllusub \"%s\" \"%s\" \"%s\""'

# Edit the following if you wish to install the files in a different location.
BINARY = /usr/local/bin
MAN = /usr/man/manl
 
sll: sll.c
	cc -O $(LISTLOCATION) $(BORDER) $(BATCH) -o sll sll.c -lcurses -ltermcap
 
install: sll sll.1
	cp sll.1 $(MAN)
	install sll $(BINARY)
	install sllsub $(BINARY)
	install sllusub $(BINARY)
clean:
	rm -f sll
