Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/Makefile.in
Revision 1358,
1.7 KB
checked in by spascoe, 15 years ago
(diff) |
Overhalled the logging facility, packaging it so that it is
simmilar to bbftpd_private_auth. When compiling non-embedded bbftp
you can activate what is called "private-logging" with the
--enable-private-logging switch. As a result both the test_embedded.py
and test_bbftpd.py test scripts can be run without access to syslog.
|
Line | |
---|
1 | # |
---|
2 | # Makefile for bbftpd deamon |
---|
3 | # |
---|
4 | |
---|
5 | STDOBJS = 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 | |
---|
32 | OBJS = $(STDOBJS) @RFIOOBJS@ @CERTOBJS@ @PRIVOBJS@ @NDG_OBJS@ |
---|
33 | |
---|
34 | HEAD = ./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 | |
---|
45 | PROG = bbftpd |
---|
46 | |
---|
47 | # CPPFLAGS is ignored on ccdvrs01 |
---|
48 | CFLAGS = @CFLAGS@ @CPPFLAGS@ |
---|
49 | #CFLAGS = @CFLAGS@ |
---|
50 | #CPPFLAGS = @CPPFLAGS@ |
---|
51 | # |
---|
52 | LDFLAGS = @LDFLAGS@ |
---|
53 | LIBS = @LIBS@ |
---|
54 | GFWLIB = @GFWLIB@ |
---|
55 | |
---|
56 | CC = cc |
---|
57 | prefix = @prefix@ |
---|
58 | exec_prefix = @exec_prefix@ |
---|
59 | bindir = @bindir@ |
---|
60 | mandir = @mandir@ |
---|
61 | |
---|
62 | all: ${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 | |
---|
72 | clean: |
---|
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 | |
---|
79 | install:${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 | |
---|
86 | install-doc: |
---|
87 | mkdir -p ${mandir} |
---|
88 | mkdir -p ${mandir}/man1 |
---|
89 | @INSTALL@ ../doc/${PROG}.1 ${mandir}/man1/${PROG}.1 |
---|
90 | |
---|
91 | runtest: ${PROG} |
---|
92 | ./${PROG} -v |
---|
Note: See
TracBrowser
for help on using the repository browser.