Makefile.in.orig   [plain text]


#	$NetBSD: Makefile.in,v 1.6 2007/05/09 04:44:36 lukem Exp $
#

srcdir	= @srcdir@
VPATH	= @srcdir@
SHELL	= /bin/sh

prefix	= @prefix@
exec_prefix = @exec_prefix@
bindir	= @bindir@
datarootdir = @datarootdir@
mandir	= @mandir@
transform = @program_transform_name@

mandircat1 = ${mandir}/cat1

CC	= @CC@
CFLAGS	= @CFLAGS@
CPPFLAGS= -I${srcdir} -I${srcdir}/.. -I. -I.. @INCLUDES@ @CPPFLAGS@
LIBS	= @LIBS@
LDFLAGS	= @LDFLAGS@

INSTALL	= @INSTALL@

PROG	= ftp
SRCS	= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
	  progressbar.c ruserpass.c util.c
OBJS	= ${SRCS:.c=.o}


all:	${PROG}

${PROG}: ${OBJS} @LIBDEPENDS@
	${CC} ${CFLAGS} ${LDFLAGS} -o ${PROG} ${OBJS} ${LIBS}

${OBJS}: ${srcdir}/../tnftp.h ../config.h

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

install: all
	-mkdir -p ${bindir}
	${INSTALL} -m 555 ${PROG} ${bindir}/`echo ${PROG}|sed '$(transform)'`
	-mkdir -p ${mandircat1}
	${INSTALL} -m 444 ${srcdir}/${PROG}.cat1 ${mandircat1}/`echo ${PROG}|sed '$(transform)'`.1

clean:
	rm -f core ${PROG} ${OBJS}

distclean: clean
	rm -f Makefile