~ubuntu-branches/ubuntu/trusty/serf/trusty-security

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Peter Samuelson
  • Date: 2011-06-27 18:09:28 UTC
  • mfrom: (1.2.5 upstream)
  • mto: (3.3.1 sid)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: james.westby@ubuntu.com-20110627180928-ybwzd3hmx82nu3ir
Tags: 1.0.0~0+svn1514-1
* New upstream snapshot.
  - patches/abi-0.x: Remove as obsolete.
  - patches/kqueue: Forward-port.
  - Bump ABI: libserf0.7{,-dbg} -> libserf1{,-dbg}
  - patches/ip6-localhost: New patch: temporary (I hope) workaround for
    IPv4 / IPv6 confusion in testsuite.
* Implement Multi-Arch: same.
* libserf-dev Conflicts: libserf-0-0-dev, not Breaks.  Thanks, lintian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
          buckets/deflate_buckets.lo buckets/limit_buckets.lo \
16
16
          buckets/ssl_buckets.lo buckets/barrier_buckets.lo \
17
17
          buckets/chunk_buckets.lo buckets/bwtp_buckets.lo \
18
 
          incoming.lo outgoing.lo \
 
18
          buckets/iovec_buckets.lo \
 
19
          incoming.lo outgoing.lo ssltunnel.lo \
19
20
          auth/auth.lo auth/auth_basic.lo auth/auth_digest.lo \
20
21
          auth/auth_kerb.lo auth/auth_kerb_gss.lo
21
22
 
26
27
 
27
28
TEST_SUITE_OBJECTS = test/CuTest.lo test/test_all.lo test/test_util.lo \
28
29
                     test/test_buckets.lo test/test_context.lo \
29
 
                     test/test_ssl.lo 
 
30
                     test/test_ssl.lo test/server/test_server.lo
30
31
 
31
32
PROGRAMS = $(TEST_OBJECTS:.lo=) test/test_all
32
33
 
59
60
context.lo: context.c $(HEADERS)
60
61
incoming.lo: incoming.c $(HEADERS)
61
62
outgoing.lo: outgoing.c $(HEADERS)
 
63
ssltunnel.lo: ssltunnel.c $(HEADERS)
62
64
buckets/aggregate_buckets.lo: buckets/aggregate_buckets.c $(HEADERS)
63
65
buckets/request_buckets.lo: buckets/request_buckets.c $(HEADERS)
64
66
buckets/buckets.lo: buckets/buckets.c $(HEADERS)
76
78
buckets/barrier_buckets.lo: buckets/barrier_buckets.c $(HEADERS)
77
79
buckets/chunk_buckets.lo: buckets/chunk_buckets.c $(HEADERS)
78
80
buckets/bwtp_buckets.lo: buckets/bwtp_buckets.c $(HEADERS)
 
81
buckets/iovec_buckets.lo: buckets/iovec_buckets.c $(HEADERS)
79
82
 
80
83
test/serf_get.lo: test/serf_get.c $(HEADERS)
81
84
test/serf_response.lo: test/serf_response.c $(HEADERS)
92
95
test/test_ssl.lo: test/test_ssl.c $(HEADERS)
93
96
 
94
97
$(TARGET_LIB): $(OBJECTS)
95
 
        $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LDFLAGS) -rpath $(libdir) -o $@ $^ $(LIBS)
 
98
        $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LDFLAGS) -rpath $(libdir) -o $@ $(OBJECTS) $(LIBS)
96
99
 
97
100
test/serf_get: $(TARGET_LIB) test/serf_get.lo
98
 
        $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LDFLAGS) -static -o $@ $^ $(LIBS)
 
101
        $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LDFLAGS) -static -o $@ $(TARGET_LIB) test/serf_get.lo $(LIBS)
99
102
 
100
103
test/serf_response: $(TARGET_LIB) test/serf_response.lo
101
 
        $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LDFLAGS) -static -o $@ $^ $(LIBS)
 
104
        $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LDFLAGS) -static -o $@ $(TARGET_LIB) test/serf_response.lo $(LIBS)
102
105
 
103
106
test/serf_request: $(TARGET_LIB) test/serf_request.lo
104
 
        $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LDFLAGS) -static -o $@ $^ $(LIBS)
 
107
        $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LDFLAGS) -static -o $@ $(TARGET_LIB) test/serf_request.lo $(LIBS)
105
108
 
106
109
test/serf_server: $(TARGET_LIB) test/serf_server.lo
107
 
        $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LDFLAGS) -static -o $@ $^ $(LIBS)
 
110
        $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LDFLAGS) -static -o $@ $(TARGET_LIB) test/serf_server.lo $(LIBS)
108
111
 
109
112
test/serf_spider: $(TARGET_LIB) test/serf_spider.lo
110
 
        $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LDFLAGS) -static -o $@ $^ $(LIBS)
 
113
        $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LDFLAGS) -static -o $@ $(TARGET_LIB) test/serf_spider.lo $(LIBS)
111
114
 
112
115
test/serf_bwtp: $(TARGET_LIB) test/serf_bwtp.lo
113
 
        $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LDFLAGS) -static -o $@ $^ $(LIBS)
 
116
        $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LDFLAGS) -static -o $@ $(TARGET_LIB) test/serf_bwtp.lo $(LIBS)
114
117
 
115
118
test/test_all: $(TARGET_LIB) $(TEST_SUITE_OBJECTS)
116
 
        $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LDFLAGS) -static -o $@ $^ $(LIBS)
 
119
        $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LDFLAGS) -static -o $@ $(TARGET_LIB) $(TEST_SUITE_OBJECTS) $(LIBS)
117
120
 
118
121
check: test/serf_response test/test_all
119
122
        @for i in $(TESTCASES); \
151
154
        fi;
152
155
 
153
156
.c.lo:
154
 
        $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $< && touch $@
 
157
        $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< && touch $@