~james-page/ubuntu/saucy/openvswitch/1.12-snapshot

« back to all changes in this revision

Viewing changes to lib/automake.mk

  • Committer: James Page
  • Date: 2013-08-21 10:16:57 UTC
  • mfrom: (1.1.20)
  • Revision ID: james.page@canonical.com-20130821101657-3o0z0qeiv5zkwlzi
New upstream snapshot

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2009, 2010, 2011, 2012 Nicira, Inc.
 
1
# Copyright (C) 2009, 2010, 2011, 2012, 2013 Nicira, Inc.
2
2
#
3
3
# Copying and distribution of this file, with or without modification,
4
4
# are permitted in any medium without royalty provided the copyright
10
10
lib_libopenvswitch_a_SOURCES = \
11
11
        lib/aes128.c \
12
12
        lib/aes128.h \
13
 
        lib/autopath.c \
14
 
        lib/autopath.h \
 
13
        lib/async-append.h \
15
14
        lib/backtrace.c \
16
15
        lib/backtrace.h \
 
16
        lib/bfd.c \
 
17
        lib/bfd.h \
17
18
        lib/bitmap.c \
18
19
        lib/bitmap.h \
19
20
        lib/bond.c \
57
58
        lib/flow.h \
58
59
        lib/hash.c \
59
60
        lib/hash.h \
 
61
        lib/hindex.c \
 
62
        lib/hindex.h \
60
63
        lib/hmap.c \
61
64
        lib/hmap.h \
62
65
        lib/hmapx.c \
69
72
        lib/jsonrpc.h \
70
73
        lib/lacp.c \
71
74
        lib/lacp.h \
72
 
        lib/leak-checker.c \
73
 
        lib/leak-checker.h \
 
75
        lib/latch.c \
 
76
        lib/latch.h \
74
77
        lib/learn.c \
75
78
        lib/learn.h \
76
79
        lib/learning-switch.c \
100
103
        lib/netlink.h \
101
104
        lib/nx-match.c \
102
105
        lib/nx-match.h \
 
106
        lib/odp-execute.c \
 
107
        lib/odp-execute.h \
103
108
        lib/odp-util.c \
104
109
        lib/odp-util.h \
105
110
        lib/ofp-actions.c \
119
124
        lib/ofp-version-opt.c \
120
125
        lib/ofpbuf.c \
121
126
        lib/ofpbuf.h \
 
127
        lib/ovs-atomic-c11.h \
 
128
        lib/ovs-atomic-gcc4+.c \
 
129
        lib/ovs-atomic-gcc4+.h \
 
130
        lib/ovs-atomic-gcc4.7+.h \
 
131
        lib/ovs-atomic-pthreads.c \
 
132
        lib/ovs-atomic-pthreads.h \
 
133
        lib/ovs-atomic.h \
 
134
        lib/ovs-thread.c \
 
135
        lib/ovs-thread.h \
122
136
        lib/ovsdb-data.c \
123
137
        lib/ovsdb-data.h \
124
138
        lib/ovsdb-error.c \
132
146
        lib/ovsdb-types.h \
133
147
        lib/packets.c \
134
148
        lib/packets.h \
135
 
        lib/pcap.c \
136
 
        lib/pcap.h \
 
149
        lib/pcap-file.c \
 
150
        lib/pcap-file.h \
137
151
        lib/poll-loop.c \
138
152
        lib/poll-loop.h \
139
153
        lib/process.c \
171
185
        lib/stream-unix.c \
172
186
        lib/stream.c \
173
187
        lib/stream.h \
174
 
        lib/stress.c \
175
 
        lib/stress.h \
176
188
        lib/string.c \
177
189
        lib/string.h \
178
190
        lib/svec.c \
209
221
        lib/vlog.c \
210
222
        lib/vlog.h \
211
223
        lib/vswitch-idl.c \
212
 
        lib/vswitch-idl.h \
213
 
        lib/worker.c \
214
 
        lib/worker.h
 
224
        lib/vswitch-idl.h
215
225
 
216
226
nodist_lib_libopenvswitch_a_SOURCES = \
217
227
        lib/dirs.c
250
260
        lib/route-table.h
251
261
endif
252
262
 
 
263
if HAVE_POSIX_AIO
 
264
lib_libopenvswitch_a_SOURCES += lib/async-append-aio.c
 
265
else
 
266
lib_libopenvswitch_a_SOURCES += lib/async-append-sync.c
 
267
endif
 
268
 
253
269
if ESX
254
270
lib_libopenvswitch_a_SOURCES += \
255
271
        lib/route-table-stub.c
289
305
        lib/coverage-unixctl.man \
290
306
        lib/daemon.man \
291
307
        lib/daemon-syn.man \
292
 
        lib/leak-checker.man \
293
308
        lib/memory-unixctl.man \
294
309
        lib/ofp-version.man \
295
310
        lib/ovs.tmac \
298
313
        lib/ssl-peer-ca-cert.man \
299
314
        lib/ssl.man \
300
315
        lib/ssl-syn.man \
301
 
        lib/stress-unixctl.man \
302
316
        lib/table.man \
303
317
        lib/unixctl.man \
304
318
        lib/unixctl-syn.man \
335
349
        mv lib/dirs.c.tmp lib/dirs.c
336
350
 
337
351
$(srcdir)/lib/ofp-errors.inc: \
338
 
        lib/ofp-errors.h $(srcdir)/build-aux/extract-ofp-errors
 
352
        lib/ofp-errors.h include/openflow/openflow-common.h \
 
353
        $(srcdir)/build-aux/extract-ofp-errors
339
354
        $(run_python) $(srcdir)/build-aux/extract-ofp-errors \
340
 
                $(srcdir)/lib/ofp-errors.h > $@.tmp && mv $@.tmp $@
 
355
                $(srcdir)/lib/ofp-errors.h \
 
356
                $(srcdir)/include/openflow/openflow-common.h > $@.tmp
 
357
        mv $@.tmp $@
341
358
$(srcdir)/lib/ofp-errors.c: $(srcdir)/lib/ofp-errors.inc
342
359
EXTRA_DIST += build-aux/extract-ofp-errors lib/ofp-errors.inc
343
360
 
372
389
        sed -n 's|^COVERAGE_DEFINE(\([_a-zA-Z0-9]\{1,\}\)).*$$|COVERAGE_COUNTER(\1)|p' $(all_sources) | LC_ALL=C sort -u > $@
373
390
CLEANFILES += lib/coverage.def
374
391
 
375
 
lib/stress.$(OBJEXT): lib/stress.def
376
 
lib/stress.def: $(DIST_SOURCES)
377
 
        sed -n '/^STRESS_OPTION(/,/);$$/{s/);$$/)/;p}' $(all_sources) > $@
378
 
CLEANFILES += lib/stress.def
379
 
 
380
392
lib/vlog.$(OBJEXT): lib/vlog-modules.def
381
393
lib/vlog-modules.def: $(DIST_SOURCES)
382
394
        sed -n 's|^VLOG_DEFINE_\(THIS_\)\{0,1\}MODULE(\([_a-zA-Z0-9]\{1,\}\)).*$$|VLOG_MODULE(\2)|p' $(all_sources) | LC_ALL=C sort -u > $@