# Generated automatically from Makefile.in by configure.
#
# Copyright(c) 1997-2000 - All Rights Reserved
#
# See the COPYRIGHT file.
#
# $Id: Makefile.in,v 1.23 2000/09/03 19:08:58 kalt Exp $
#

PROG	=	sic
VERSION	=	0.23a

SHELL	=	/bin/sh
INSTALL =	/usr/bin/install -c -o root -g wheel
CC	=	cc
CFLAGS	=	-fno-common -pedantic -Wall -Wshadow -Wno-parentheses \
		
LDFLAGS	=	
LIBS	=	-lpthread -ltermcap 

prefix	=	/usr/local
exec_prefix =	${prefix}
bindir	=	${exec_prefix}/bin
mandir	=	${prefix}/man

OBJS	=	adns.o commands.o config.o counter.o ctcp.o display.o \
		format.o input.o option.o sic.o server.o tabkey.o \
		term.o url.o utils.o window.o yow.o
SRCS	=	$(OBJS:%.o=%.c)

all	: sic

sic	: $(OBJS)
	$(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) $(LIBS) -o sic

install	: all
	${INSTALL} -d -m 0755 $(bindir)
	${INSTALL} -m 0755 sic $(bindir)/sic-$(VERSION)
	if test -f $(bindir)/sic.old; then rm -f $(bindir)/sic.old; fi
	if test -f $(bindir)/sic; then mv $(bindir)/sic $(bindir)/sic.old; fi
	@rm -f $(bindir)/sic
	ln -s $(bindir)/sic-$(VERSION) $(bindir)/sic
	${INSTALL} -d -m 0755 $(mandir)/man1
	${INSTALL} -d -m 0755 $(mandir)/man5
	${INSTALL} -m 0644 man/sic.man $(mandir)/man1/sic.1
	${INSTALL} -m 0644 man/sic-alias.man $(mandir)/man5/sic-alias.5
	${INSTALL} -m 0644 man/sic-server.man $(mandir)/man5/sic-server.5

man: man/sic.man man/sic-alias.man man/sic-server.man

man/sic.man: man/sic.yo
	yodl2man $<

man/sic-alias.man: man/sic-alias.yo
	yodl2man $<

man/sic-server.man: man/sic-server.yo
	yodl2man $<

depend  : $(SRCS)
	makedepend -- $(CFLAGS) -- $(SRCS)
	touch depend

clean:
	/bin/rm -f *.o depend core sic.core sdns.core

distclean: clean
	/bin/rm -f config.cache config.status config.log setup.h Makefile \
		sic sdns

# DO NOT DELETE THIS LINE -- make depend depends on it.

adns.o		: setup.h struct.h server.h window.h utils.h
commands.o	: setup.h struct.h server.h window.h format.h option.h term.h \
		  utils.h input.h adns.h
config.o	: setup.h struct.h window.h server.h
counter.o	: setup.h struct.h option.h term.h utils.h window.h
ctcp.o		: setup.h server.h utils.h patchlevel.h
display.o	: setup.h struct.h term.h window.h format.h option.h server.h \
		  utils.h
format.o	: setup.h struct.h term.h format.h utils.h
input.o		: setup.h struct.h server.h window.h term.h config.h
option.o	: setup.h struct.h window.h format.h option.h config.h \
		  counter.h
sic.o		: setup.h struct.h window.h server.h input.h term.h option.h \
		  config.h counter.h adns.h
server.o	: setup.h struct.h term.h window.h option.h config.h utils.h \
		  adns.h
tabkey.o	: setup.h struct.h
term.o		: setup.h term.h
url.o		: setup.h struct.h utils.h window.h
utils.o		: setup.h
window.o	: setup.h struct.h window.h utils.h


syntax highlighted by Code2HTML, v. 0.9.1