buildworld depends on hw.machine exported from the kernel being correct.
[dragonfly.git] / contrib / lukemftpd / src / Makefile.in
CommitLineData
984263bc
MD
1# $Id: Makefile.in,v 1.5 2001/03/29 05:29:07 lukem Exp $
2#
3
4srcdir = @srcdir@
5VPATH = @srcdir@
6SHELL = /bin/sh
7
8prefix = @prefix@
9exec_prefix = @exec_prefix@
10bindir = @bindir@
11mandir = @mandir@
12sbindir = @sbindir@
13
14mandircat5 = ${mandir}/cat5
15mandircat8 = ${mandir}/cat8
16
17CC = @CC@
18CFLAGS = -I${srcdir} -I${srcdir}/.. -I. -I.. @INCLUDES@ @CFLAGS@
19LIBS = @LIBS@
20LDFLAGS = @LDFLAGS@
21
22INSTALL = @INSTALL@
23
24PROG = ftpd
25OBJS = cmds.o conf.o ftpd.o ftpcmd.o popen.o @LSOBJS@
26# removed: logutmp.o logwtmp.o
27
28all: ${PROG}
29
30cmp.o: ${srcdir}/../ls/cmp.c
31 ${CC} ${CFLAGS} -c -o cmp.o ${srcdir}/../ls/cmp.c
32
33ls.o: ${srcdir}/../ls/ls.c
34 ${CC} ${CFLAGS} -c -o ls.o ${srcdir}/../ls/ls.c
35
36print.o: ${srcdir}/../ls/print.c
37 ${CC} ${CFLAGS} -c -o print.o ${srcdir}/../ls/print.c
38
39stat_flags.o: ${srcdir}/../ls/stat_flags.c
40 ${CC} ${CFLAGS} -c -o stat_flags.o ${srcdir}/../ls/stat_flags.c
41
42util.o: ${srcdir}/../ls/util.c
43 ${CC} ${CFLAGS} -c -o util.o ${srcdir}/../ls/util.c
44
45install: all
46 -mkdir -p ${sbindir}
47 ${INSTALL} -m 555 ${PROG} ${sbindir}
48 -mkdir -p ${mandircat5}
49 ${INSTALL} -m 444 ${srcdir}/ftpd.conf.cat5 ${mandircat5}/ftpd.conf.5
50 ${INSTALL} -m 444 ${srcdir}/ftpusers.cat5 ${mandircat5}/ftpusers.5
51 -mkdir -p ${mandircat8}
52 ${INSTALL} -m 444 ${srcdir}/${PROG}.cat8 ${mandircat8}/${PROG}.8
53
54${PROG}: ${OBJS} @LIBDEPENDS@
55 ${CC} ${CFLAGS} ${LDFLAGS} -o ${PROG} ${OBJS} ${LIBS}
56
57clean:
58 rm -f core ${PROG} ${OBJS}
59
60distclean: clean
61 rm -f Makefile