summaryrefslogtreecommitdiff
path: root/net/tnftp/files/src/Makefile.in
blob: b9d6d7df58314075186015f56a4864f9527a2610 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
#	$Id: Makefile.in,v 1.1 2004/03/11 13:01:01 grant Exp $
#

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

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

mandircat1 = ${mandir}/cat1

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

INSTALL	= @INSTALL@

PROG	= ftp
OBJS	= cmds.o cmdtab.o complete.o domacro.o fetch.o ftp.o main.o \
	  progressbar.o ruserpass.o util.o

all:	${PROG}

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

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

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

distclean: clean
	rm -f Makefile