blob: 6ea18fb8b2e55f1984874e14e30e56bac8a63217 (
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
44
45
46
47
48
49
50
51
52
|
# $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
|