Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/trunk/src/Makefile@1104
Revision 1078,
869 bytes
checked in by spascoe, 14 years ago
(diff) |
Implemented higher level auth message passing (the receiver doesn't
need to know the message length). The client will use this mechanism to
send the private string. This is working with stand alone bbftp client/server.
Embedded bbftpd is broken until I make corresponding
changes to the python API.
|
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 | CFLAGS=$(DEFS) |
---|
12 | |
---|
13 | BBFTPD=bbftp-server-3.2.0/bbftpd |
---|
14 | BBFTPC=bbftp-client-3.2.0/bbftpc |
---|
15 | |
---|
16 | all: server client |
---|
17 | |
---|
18 | server: |
---|
19 | make -C $(BBFTPD) |
---|
20 | |
---|
21 | client: |
---|
22 | make -C $(BBFTPC) |
---|
23 | |
---|
24 | # Configure and build bbftp |
---|
25 | config: |
---|
26 | ( cd $(BBFTPC) ; ./configure $(CONFIG_OPTS) ) |
---|
27 | ( cd $(BBFTPD) ; ./configure $(CONFIG_OPTS) ) |
---|
28 | |
---|
29 | install: |
---|
30 | make -C $(BBFTPC) install |
---|
31 | make -C $(BBFTPD) install |
---|
32 | |
---|
33 | clean: clean_server clean_client |
---|
34 | |
---|
35 | clean_server: |
---|
36 | -rm $(BBFTPD)/*.o $(BBFTPD)/bbftpd |
---|
37 | |
---|
38 | clean_client: |
---|
39 | -rm $(BBFTPC)/*.o $(BBFTPC)/bbftp |
---|
Note: See
TracBrowser
for help on using the repository browser.