# $NetBSD: Makefile.in,v 1.6 2008/03/06 04:45:58 jlam Exp $ # srcdir = @srcdir@ VPATH = @srcdir@ SHELL = /bin/sh DESTDIR = 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 ${DESTDIR}${bindir} ${INSTALL} -m 555 ${PROG} ${DESTDIR}${bindir}/`echo ${PROG}|sed '$(transform)'` -mkdir -p ${DESTDIR}${mandircat1} ${INSTALL} -m 444 ${srcdir}/${PROG}.cat1 ${DESTDIR}${mandircat1}/`echo ${PROG}|sed '$(transform)'`.0 clean: rm -f core ${PROG} ${OBJS} distclean: clean rm -f Makefile