~ubuntu-branches/ubuntu/vivid/cctools/vivid

« back to all changes in this revision

Viewing changes to ftp_lite/src/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Michael Hanke
  • Date: 2011-05-07 09:05:00 UTC
  • Revision ID: james.westby@ubuntu.com-20110507090500-lqpmdtwndor6e7os
Tags: upstream-3.3.2
ImportĀ upstreamĀ versionĀ 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include ../../Makefile.config
 
2
include ../../Makefile.rules
 
3
 
 
4
all: ftp_lite_test ftp_lite_copy libftp_lite.a
 
5
 
 
6
ftp_lite_test: ftp_lite_test.o libftp_lite.a
 
7
        ${CCTOOLS_LD} $^ -o $@ -ldttools ${CCTOOLS_INTERNAL_LDFLAGS}
 
8
 
 
9
ftp_lite_copy: ftp_lite_copy.o libftp_lite.a
 
10
        ${CCTOOLS_LD} $^ -o $@ -ldttools ${CCTOOLS_INTERNAL_LDFLAGS}
 
11
 
 
12
libftp_lite.a: ftp_lite.o error.o radix.o login.o stream.o network.o
 
13
        ${CCTOOLS_AR} rv $@ $^
 
14
        ranlib $@
 
15
 
 
16
test:
 
17
 
 
18
clean:
 
19
        rm -f ftp_lite_test ftp_lite_copy libftp_lite.a core *~ *.o *.so so_locations
 
20
 
 
21
install:
 
22
        install -d ${CCTOOLS_INSTALL_DIR}/bin
 
23
        install -d ${CCTOOLS_INSTALL_DIR}/lib
 
24
        install -d ${CCTOOLS_INSTALL_DIR}/include
 
25
        install libftp_lite.a ${CCTOOLS_INSTALL_DIR}/lib
 
26
        install ftp_lite.h ${CCTOOLS_INSTALL_DIR}/include/cctools