source: TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/Makefile.in @ 773

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/Makefile.in@983
Revision 773, 1.6 KB checked in by spascoe, 14 years ago (diff)

Initial import of bbftp source

Line 
1#
2# Makefile for bbftpd deamon
3#
4
5STDOBJS =       bbftpd.o\
6                bbftpd_cd.o\
7                bbftpd_check.o\
8                bbftpd_crypt.o\
9                bbftpd_daemon.o\
10                bbftpd_list.o\
11                bbftpd_login.o\
12                bbftpd_message.o\
13                bbftpd_mkdir.o\
14                bbftpd_rm.o\
15                bbftpd_stat.o\
16                bbftpd_statfs.o\
17                bbftpd_readcontrol.o\
18        bbftpd_retr.o\
19                bbftpd_signals.o\
20                bbftpd_socket.o\
21        bbftpd_store.o\
22                bbftpd_utils.o\
23                changetodir.o\
24                createadir.o\
25                createreceivesock.o\
26                readcontrol.o\
27                sendafile.o\
28                sendlist.o\
29                signals_routines.o\
30                storeafile.o
31
32OBJS = $(STDOBJS) @RFIOOBJS@ @CERTOBJS@ @PRIVOBJS@
33
34HEAD =  ./bbftpd.h \
35                ../includes/bbftpd_private.h \
36                ../includes/bbftpd_private_user.h \
37                ../includes/common.h \
38                ../includes/config.h \
39                ../includes/daemon.h \
40                ../includes/daemon_proto.h \
41                ../includes/status.h \
42                ../includes/structures.h\
43                ../includes/version.h
44
45PROG = bbftpd
46
47# CPPFLAGS is ignored on ccdvrs01
48CFLAGS = @CFLAGS@ @CPPFLAGS@
49#CFLAGS = @CFLAGS@
50#CPPFLAGS = @CPPFLAGS@
51#
52LDFLAGS = @LDFLAGS@
53LIBS = @LIBS@
54GFWLIB = @GFWLIB@
55
56CC = cc
57prefix = @prefix@
58exec_prefix = @exec_prefix@
59bindir = @bindir@
60mandir = @mandir@
61
62all: ${PROG}
63
64${OBJS} : ${HEAD}
65
66../gfw/libgfw.a:
67        (cd ../gfw; make clean; make)
68
69${PROG} : ${OBJS} ${GFWLIB}
70        ${CC} -o $@ ${OBJS} ${LDFLAGS} ${GFWLIB} ${LIBS}
71
72clean:
73        rm -f *.o
74        rm -rf obj.@host@
75        rm -f config.cache
76        rm -f config.log
77        (cd ../gfw; make clean)
78   
79install:${PROG}
80        mkdir -p ${prefix}
81        mkdir -p ${bindir}
82        @INSTALL@ ${PROG} ${bindir}/${PROG}
83        mkdir -p ${prefix}/etc
84        @INSTALL@ startup ${prefix}/etc/${PROG}
85
86install-doc:
87        mkdir -p ${mandir}
88        mkdir -p ${mandir}/man1
89        @INSTALL@ ../doc/${PROG}.1 ${mandir}/man1/${PROG}.1
90
91runtest: ${PROG}
92        ./${PROG} -v
Note: See TracBrowser for help on using the repository browser.