3 # 01/25/96 Initial Release Michael Temari, <Michael@TemWare.Com>
4 # 2005-02-25 version 2.00
6 CFLAGS
= -O
-D_MINIX
-D_POSIX_SOURCE
-m
14 OBJS
= ftpd.o access.o file.o net.o
19 $(CC
) $(LDFLAGS
) -o
$@
$(OBJS
)
25 install: $(BINDIR
)/$(PROG
) $(BINDIR
)/setup.anonftp
$(BINDIR
)/ftpdsh
27 $(BINDIR
)/$(PROG
): $(PROG
)
28 install -cs
-o bin
$?
$@
30 $(BINDIR
)/setup.anonftp
: setup.anonftp
31 install -c
-o bin
$?
$@
33 $(BINDIR
)/ftpdsh
: ftpdsh
34 install -m
755 -c
-o bin
$?
$@
36 ftpd.o
: ftpd.c ftpd.h access.h file.h net.h
37 access.o
: access.c ftpd.h access.h
38 file.o
: file.c ftpd.h access.h file.h net.h
39 net.o
: net.c ftpd.h net.h
41 installman
: $(MANDIR
)/$(MANPAGE
)
42 cp
$(MANPAGE
) $(MANDIR
)
43 echo
"You may need to run makewhatis to update man page index"