Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/trunk/src/Makefile@1358
Revision 1358,
1.1 KB
checked in by spascoe, 14 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 building bbftp client & server stand alone (without Python API) |
---|
3 | # |
---|
4 | |
---|
5 | PREFIX=$(HOME)/opt/bbftp |
---|
6 | # Grab the DeliveryService version from the parent directory. |
---|
7 | VERSION:=$(shell cat ../VERSION) |
---|
8 | |
---|
9 | DEFS="-DNDG_AUTH -DLOCAL_SYSLOG_FACILITY -DNDG_DELIVERY_VERSION=$(VERSION) -g" |
---|
10 | CONFIG_OPTS=--prefix=$(PREFIX) --without-gzip --without-rfio --enable-authentication=private \ |
---|
11 | --enable-private-logging \ |
---|
12 | CFLAGS=$(DEFS) |
---|
13 | |
---|
14 | BBFTPD=bbftp-server-3.2.0/bbftpd |
---|
15 | BBFTPC=bbftp-client-3.2.0/bbftpc |
---|
16 | |
---|
17 | all: server client |
---|
18 | |
---|
19 | server: $(BBFTPD)/bbftpd |
---|
20 | |
---|
21 | client: $(BBFTPC)/bbftpc |
---|
22 | |
---|
23 | |
---|
24 | |
---|
25 | install: |
---|
26 | make -C $(BBFTPC) install |
---|
27 | make -C $(BBFTPD) install |
---|
28 | |
---|
29 | clean: clean_server clean_client |
---|
30 | |
---|
31 | # |
---|
32 | # To force a reconfigure |
---|
33 | # |
---|
34 | distclean: clean |
---|
35 | -rm $(BBFTPD)/Makefile |
---|
36 | -rm $(BBFTPC)/Makefile |
---|
37 | |
---|
38 | clean_server: |
---|
39 | -rm $(BBFTPD)/*.o $(BBFTPD)/bbftpd |
---|
40 | |
---|
41 | clean_client: |
---|
42 | -rm $(BBFTPC)/*.o $(BBFTPC)/bbftp |
---|
43 | |
---|
44 | |
---|
45 | |
---|
46 | |
---|
47 | $(BBFTPC)/Makefile: $(BBFTPC)/configure |
---|
48 | ( cd $(BBFTPC) ; ./configure $(CONFIG_OPTS) ) |
---|
49 | |
---|
50 | $(BBFTPD)/Makefile: $(BBFTPD)/configure |
---|
51 | ( cd $(BBFTPD) ; ./configure $(CONFIG_OPTS) ) |
---|
52 | |
---|
53 | $(BBFTPD)/bbftpd: $(BBFTPD)/Makefile |
---|
54 | make -C $(BBFTPD) |
---|
55 | |
---|
56 | $(BBFTPC)/bbftpc: $(BBFTPC)/Makefile |
---|
57 | make -C $(BBFTPC) |
---|
Note: See
TracBrowser
for help on using the repository browser.