source: TI05-delivery/trunk/src/Makefile @ 1077

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/trunk/src/Makefile@1077
Revision 1077, 866 bytes checked in by spascoe, 13 years ago (diff)

Implemented full client-server handshake. A version message is now
exchanged client->server then server->client. These messages are logged
in debug mode. Message passing is implemented in Python on the server (at the
moment this is only implemented within test/test_embedded.py).

Line 
1#
2# Makefile for building bbftp client & server stand alone (without Python API)
3#
4
5PREFIX=$(HOME)/opt/bbftp
6# Grab the DeliveryService version from the parent directory.
7VERSION:=$(shell cat ../VERSION)
8
9DEFS="-DNDG_AUTH -DLOCAL_SYSLOG_FACILITY -DNDG_DELIVERY_VERSION=$(VERSION)"
10CONFIG_OPTS=--prefix=$(PREFIX) --without-gzip --without-rfio --enable-authentication=private \
11                CFLAGS=$(DEFS)
12
13BBFTPD=bbftp-server-3.2.0/bbftpd
14BBFTPC=bbftp-client-3.2.0/bbftpc
15
16all: server client
17
18server:
19        make -C $(BBFTPD)
20
21client:
22        make -C $(BBFTPC)
23
24# Configure and build bbftp
25config:
26        ( cd $(BBFTPC) ; ./configure $(CONFIG_OPTS) ) 
27        ( cd $(BBFTPD) ; ./configure $(CONFIG_OPTS) )
28
29install:
30        make -C $(BBFTPC) install
31        make -C $(BBFTPD) install
32
33clean: clean_server clean_client
34
35clean_server:
36        -rm $(BBFTPD)/*.o $(BBFTPD)/bbftpd
37
38clean_client:
39        -rm $(BBFTPC)/*.o $(BBFTPC)/bbftp
Note: See TracBrowser for help on using the repository browser.