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

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
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) -g"
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.