##############################################################################
# This file is part of a software distribution, which is furnished under the #
# terms of a license.  Use of this software  by any means is subject to this #
# license  and  signifies  the  acceptance of  the  licensing  terms  stated #
# therein. Please see  the file LICENSE in the  top-level directory  of this #
# software  distribution  for detailed copyright  disclaimers  and licensing #
# terms.                                                                     #
##############################################################################
# Copryight (c) by Andreas S. Wetzel - All rights reserved.                  #
##############################################################################

# $Id: Makefile.in,v 1.3 2001/10/28 00:58:42 mickey Exp $

SHELL		= @SHELL@
CC		= @CC@

prefix		= @prefix@
exec_prefix	= @exec_prefix@
bindir		= @bindir@
sbindir		= @sbindir@
libexecdir	= @libexecdir@
mandir		= @mandir@
man8dir		= ${mandir}/man8
includedir	= @includedir@
srcdir		= @srcdir@

CFLAGS		= @CFLAGS@
CPPFLAGS	= @CPPFLAGS@ -I./include -I../common/include
DEFS		= @DEFS@
LDFLAGS		= @LDFLAGS@
VDLIBS		= @LIBS@

DISTCLNFILES	= Makefile

MODE		= 111
MANMODE		= 444
INSTALL		= @INSTALL@
RM		= @RM@

VDCOMMON	= ../common/libvclient.a

VDSRCS		= vd_commands.c \
		  vd_genvldat.c \
		  vd_help.c \
		  vd_input.c \
		  vd_log.c \
		  vd_main.c \
		  vd_resize.c \
		  vd_subr.c \
		  vd_telopts.c \
		  vd_telproto.c \
		  vd_telsubr.c \
		  vd_usage.c

VDOBJS		= vd_commands.o \
		  vd_genvldat.o \
		  vd_help.o \
		  vd_input.o \
		  vd_log.o \
		  vd_main.o \
		  vd_resize.o \
		  vd_subr.o \
		  vd_telopts.o \
		  vd_telproto.o \
		  vd_telsubr.o \
		  vd_usage.o

.SUFFIXES:
.SUFFIXES:	.c .o


all:		depend vchatd

vchatd:		${VDOBJS}
		${CC} -o vchatd ${VDOBJS} ${VDCOMMON} ${LDFLAGS} ${VDLIBS}

depend:		${VDSRCS} Makefile
		${RM} -f .depend
		${CC} -M ${CPPFLAGS} ${VDSRCS} > .depend

clean:	
		${RM} -f ${VDOBJS} vchatd vchatd.core .depend

install:
		${INSTALL} -s -m ${MODE} vchatd ${libexecdir}
		${INSTALL} -m ${MANMODE} vchatd.8 ${man8dir}

uninstall:
		${RM} -f ${libexecdir}/vchatd ${man8dir}/vchatd.8

.c.o:
		${CC} ${CFLAGS} ${CPPFLAGS} ${DEFS} -c $<

Makefile:	Makefile.in ../../config.status
		(cd ../.. ; ./config.status)


syntax highlighted by Code2HTML, v. 0.9.1