]>
Commit | Line | Data |
---|---|---|
8a988976 | 1 | # Copyright (C) 2007-2016 Nicira, Inc. |
a14bc59f BP |
2 | # |
3 | # Copying and distribution of this file, with or without modification, | |
4 | # are permitted in any medium without royalty provided the copyright | |
5 | # notice and this notice are preserved. This file is offered as-is, | |
6 | # without warranty of any kind. | |
7 | ||
064af421 BP |
8 | AUTOMAKE_OPTIONS = foreign subdir-objects |
9 | ACLOCAL_AMFLAGS = -I m4 | |
10 | SUBDIRS = datapath | |
11 | ||
064af421 | 12 | AM_CPPFLAGS = $(SSL_CFLAGS) |
cf06c2e9 | 13 | AM_LDFLAGS = $(SSL_LDFLAGS) |
95626395 | 14 | AM_LDFLAGS += $(OVS_LDFLAGS) |
e42dfc72 AS |
15 | |
16 | if WIN32 | |
17 | AM_CPPFLAGS += -I $(top_srcdir)/include/windows | |
c803536e | 18 | AM_CPPFLAGS += -I $(top_srcdir)/datapath-windows/include |
94887cf4 | 19 | AM_CPPFLAGS += $(PTHREAD_INCLUDES) |
b0e1bce5 | 20 | AM_CPPFLAGS += $(MSVC_CFLAGS) |
94887cf4 | 21 | AM_LDFLAGS += $(PTHREAD_LDFLAGS) |
1cb3649c | 22 | AM_LDFLAGS += $(MSVC64_LDFLAGS) |
e42dfc72 AS |
23 | endif |
24 | ||
064af421 | 25 | AM_CPPFLAGS += -I $(top_srcdir)/include |
837eefc7 | 26 | AM_CPPFLAGS += -I $(top_builddir)/include |
064af421 | 27 | AM_CPPFLAGS += -I $(top_srcdir)/lib |
611d30ce | 28 | AM_CPPFLAGS += -I $(top_builddir)/lib |
064af421 | 29 | |
8605a29b PK |
30 | AM_CPPFLAGS += $(SSL_INCLUDES) |
31 | ||
064af421 | 32 | AM_CFLAGS = -Wstrict-prototypes |
d161c099 | 33 | AM_CFLAGS += $(WARNING_FLAGS) |
95626395 | 34 | AM_CFLAGS += $(OVS_CFLAGS) |
064af421 | 35 | |
58397e6c KT |
36 | if DPDK_NETDEV |
37 | AM_CFLAGS += -D_FILE_OFFSET_BITS=64 | |
38 | endif | |
39 | ||
064af421 BP |
40 | if NDEBUG |
41 | AM_CPPFLAGS += -DNDEBUG | |
42 | AM_CFLAGS += -fomit-frame-pointer | |
064af421 BP |
43 | endif |
44 | ||
b02e1154 GS |
45 | if WIN32 |
46 | psep=";" | |
47 | else | |
48 | psep=":" | |
49 | endif | |
853d1083 BP |
50 | # PYTHONDONTWRITEBYTECODE=yes keeps Python from creating .pyc and .pyo |
51 | # files. Creating .py[co] works OK for any given version of Open | |
52 | # vSwitch, but it causes trouble if you switch from a version with | |
53 | # foo/__init__.py into an (older) version with plain foo.py, since | |
54 | # foo/__init__.pyc will cause Python to ignore foo.py. | |
e23812fc BP |
55 | run_python = \ |
56 | PYTHONPATH=$(top_srcdir)/python$(psep)$$PYTHONPATH \ | |
57 | PYTHONDONTWRITEBYTECODE=yes $(PYTHON) | |
853d1083 | 58 | |
22c79496 | 59 | ALL_LOCAL = |
d879a707 | 60 | BUILT_SOURCES = |
064af421 | 61 | CLEANFILES = |
15b619e2 | 62 | CLEAN_LOCAL = |
064af421 | 63 | DISTCLEANFILES = |
79982e90 | 64 | PYCOV_CLEAN_FILES = build-aux/check-structs,cover |
4441a01c BP |
65 | |
66 | # A list of Markdown-formatted documentation that will automatically be | |
67 | # included in the "make dist-docs" output. | |
68 | docs = \ | |
542cc9bb TG |
69 | CONTRIBUTING.md \ |
70 | CodingStyle.md \ | |
71 | DESIGN.md \ | |
72 | FAQ.md \ | |
73 | INSTALL.md \ | |
74 | INSTALL.Debian.md \ | |
75 | INSTALL.Docker.md \ | |
e5bac8f7 | 76 | INSTALL.DPDK-ADVANCED.md \ |
542cc9bb TG |
77 | INSTALL.DPDK.md \ |
78 | INSTALL.Fedora.md \ | |
79 | INSTALL.KVM.md \ | |
80 | INSTALL.Libvirt.md \ | |
81 | INSTALL.NetBSD.md \ | |
82 | INSTALL.RHEL.md \ | |
9b897c91 | 83 | INSTALL.SELinux.md \ |
542cc9bb TG |
84 | INSTALL.SSL.md \ |
85 | INSTALL.XenServer.md \ | |
86 | INSTALL.userspace.md \ | |
87 | INSTALL.Windows.md \ | |
88 | IntegrationGuide.md \ | |
13ad56a0 | 89 | MAINTAINERS.md \ |
542cc9bb TG |
90 | OPENFLOW-1.1+.md \ |
91 | PORTING.md \ | |
d25e2f57 | 92 | README.md \ |
542cc9bb | 93 | README-lisp.md \ |
a36de779 | 94 | README-native-tunneling.md \ |
542cc9bb | 95 | REPORTING-BUGS.md \ |
f0664242 | 96 | SECURITY.md \ |
542cc9bb | 97 | TODO.md \ |
4441a01c BP |
98 | WHY-OVS.md |
99 | EXTRA_DIST = \ | |
100 | $(docs) \ | |
101 | NOTICE \ | |
826bc7b6 | 102 | .travis.yml \ |
40a75bbf LR |
103 | .travis/linux-build.sh \ |
104 | .travis/linux-prepare.sh \ | |
105 | .travis/osx-build.sh \ | |
106 | .travis/osx-prepare.sh \ | |
12c96b8a | 107 | appveyor.yml \ |
0027492d | 108 | boot.sh \ |
c9b94429 | 109 | build-aux/cccl \ |
abc67c1e | 110 | build-aux/cksum-schema-check \ |
39916858 | 111 | build-aux/calculate-schema-cksum \ |
4441a01c | 112 | build-aux/dist-docs \ |
6ca37677 | 113 | build-aux/sodepends.pl \ |
94512c4a | 114 | build-aux/soexpand.pl \ |
a4e3c495 | 115 | build-aux/xml2nroff \ |
6ca37677 | 116 | $(MAN_FRAGMENTS) \ |
1ce96d2a | 117 | $(MAN_ROOTS) \ |
ef9c432c WT |
118 | Vagrantfile \ |
119 | Vagrantfile-FreeBSD | |
064af421 BP |
120 | bin_PROGRAMS = |
121 | sbin_PROGRAMS = | |
122 | bin_SCRIPTS = | |
87103e1f | 123 | DIST_HOOKS = |
064af421 | 124 | dist_man_MANS = |
3b12adda | 125 | dist_pkgdata_DATA = |
064af421 BP |
126 | dist_pkgdata_SCRIPTS = |
127 | dist_sbin_SCRIPTS = | |
b2df0225 | 128 | dist_scripts_SCRIPTS = |
429ebf21 | 129 | dist_scripts_DATA = |
b2df0225 | 130 | INSTALL_DATA_LOCAL = |
44852fdf | 131 | UNINSTALL_LOCAL = |
064af421 | 132 | man_MANS = |
0027492d | 133 | MAN_FRAGMENTS = |
6ca37677 | 134 | MAN_ROOTS = |
c3bb4bd7 | 135 | noinst_DATA = |
064af421 | 136 | noinst_HEADERS = |
38b7a52b | 137 | lib_LTLIBRARIES = |
045b2e5c | 138 | noinst_man_MANS = |
064af421 BP |
139 | noinst_PROGRAMS = |
140 | noinst_SCRIPTS = | |
00732bf5 | 141 | OVSIDL_BUILT = |
9c16ed64 | 142 | pkgdata_DATA = |
b2df0225 | 143 | sbin_SCRIPTS = |
43bb5f82 | 144 | scripts_SCRIPTS = |
2c9907cd | 145 | completion_SCRIPTS = |
429ebf21 | 146 | scripts_DATA = |
c3bb4bd7 | 147 | SUFFIXES = |
15b619e2 | 148 | check_DATA = |
08d42548 | 149 | check_SCRIPTS = |
81696de0 | 150 | pkgconfig_DATA = |
115d8719 | 151 | FLAKE8_PYFILES = |
064af421 | 152 | |
43bb5f82 | 153 | scriptsdir = $(pkgdatadir)/scripts |
2c9907cd | 154 | completiondir = $(sysconfdir)/bash_completion.d |
81696de0 | 155 | pkgconfigdir = $(libdir)/pkgconfig |
43bb5f82 | 156 | |
9741af79 BP |
157 | # This ensures that files added to EXTRA_DIST are always distributed, |
158 | # even if they are inside an Automake if...endif conditional block that is | |
159 | # disabled by some particular "configure" run. For more information, see: | |
160 | # http://article.gmane.org/gmane.comp.sysutils.automake.general/10891 | |
161 | noinst_HEADERS += $(EXTRA_DIST) | |
162 | ||
064af421 | 163 | ro_c = echo '/* -*- mode: c; buffer-read-only: t -*- */' |
cbaa4ffe | 164 | ro_shell = printf '\043 Generated automatically -- do not modify! -*- buffer-read-only: t -*-\n' |
064af421 | 165 | |
c3bb4bd7 | 166 | SUFFIXES += .in |
064af421 | 167 | .in: |
ef44aa50 | 168 | $(AM_V_GEN)$(PERL) $(srcdir)/build-aux/soexpand.pl -I$(srcdir) < $< | \ |
3b135da3 | 169 | sed \ |
064af421 | 170 | -e 's,[@]PKIDIR[@],$(PKIDIR),g' \ |
3b135da3 | 171 | -e 's,[@]LOGDIR[@],$(LOGDIR),g' \ |
f973f2af | 172 | -e 's,[@]DBDIR[@],$(DBDIR),g' \ |
3b135da3 BP |
173 | -e 's,[@]PERL[@],$(PERL),g' \ |
174 | -e 's,[@]PYTHON[@],$(PYTHON),g' \ | |
064af421 | 175 | -e 's,[@]RUNDIR[@],$(RUNDIR),g' \ |
3b135da3 BP |
176 | -e 's,[@]VERSION[@],$(VERSION),g' \ |
177 | -e 's,[@]localstatedir[@],$(localstatedir),g' \ | |
064af421 | 178 | -e 's,[@]pkgdatadir[@],$(pkgdatadir),g' \ |
3b135da3 | 179 | -e 's,[@]sysconfdir[@],$(sysconfdir),g' \ |
43bb5f82 BP |
180 | -e 's,[@]bindir[@],$(bindir),g' \ |
181 | -e 's,[@]sbindir[@],$(sbindir),g' \ | |
6901639b | 182 | -e 's,[@]abs_builddir[@],$(abs_builddir),g' \ |
d879a707 | 183 | -e 's,[@]abs_top_srcdir[@],$(abs_top_srcdir),g' \ |
3b135da3 | 184 | > $@.tmp |
00961f7c | 185 | @if head -n 1 $@.tmp | grep '#!' > /dev/null; then \ |
3b135da3 BP |
186 | chmod +x $@.tmp; \ |
187 | fi | |
ef44aa50 | 188 | $(AM_V_at) mv $@.tmp $@ |
064af421 | 189 | |
99635791 BP |
190 | SUFFIXES += .xml |
191 | %: %.xml | |
192 | $(AM_V_GEN)$(run_python) $(srcdir)/build-aux/xml2nroff $< > $@.tmp \ | |
8a988976 | 193 | -I $(srcdir) \ |
99635791 BP |
194 | --version=$(VERSION) \ |
195 | PKIDIR='$(PKIDIR)' \ | |
196 | LOGDIR='$(LOGDIR)' \ | |
197 | DBDIR='$(DBDIR)' \ | |
198 | PERL='$(PERL)' \ | |
199 | PYTHON='$(PYTHON)' \ | |
200 | RUNDIR='$(RUNDIR)' \ | |
201 | VERSION='$(VERSION)' \ | |
202 | localstatedir='$(localstatedir)' \ | |
203 | pkgdatadir='$(pkgdatadir)' \ | |
204 | sysconfdir='$(sysconfdir)' \ | |
205 | bindir='$(bindir)' \ | |
206 | sbindir='$(sbindir)' | |
207 | $(AM_v_at)mv $@.tmp $@ | |
208 | ||
79982e90 EJ |
209 | .PHONY: clean-pycov |
210 | clean-pycov: | |
211 | cd $(srcdir) && rm -f $(PYCOV_CLEAN_FILES) | |
212 | CLEAN_LOCAL += clean-pycov | |
213 | ||
87103e1f BP |
214 | # If we're checked out from a Git repository, make sure that every |
215 | # file that is in Git is distributed. | |
b4e1bf8b BP |
216 | # |
217 | # We only enable this check when GNU make is in use because the | |
218 | # Makefile in datapath/linux, needed to get the list of files to | |
219 | # distribute, requires GNU make extensions. | |
220 | if GNU_MAKE | |
39376d06 BP |
221 | ALL_LOCAL += dist-hook-git |
222 | dist-hook-git: distfiles | |
223 | @if test -e $(srcdir)/.git && (git --version) >/dev/null 2>&1; then \ | |
224 | (cd datapath && $(MAKE) distfiles); \ | |
225 | (cat distfiles; sed 's|^|datapath/|' datapath/distfiles) | \ | |
a6da6967 | 226 | LC_ALL=C sort -u > all-distfiles; \ |
39376d06 | 227 | (cd $(srcdir) && git ls-files) | grep -v '\.gitignore$$' | \ |
a6da6967 BP |
228 | LC_ALL=C sort -u > all-gitfiles; \ |
229 | LC_ALL=C comm -1 -3 all-distfiles all-gitfiles > missing-distfiles; \ | |
39376d06 | 230 | if test -s missing-distfiles; then \ |
4207d631 | 231 | echo "The following files are in git but not the distribution:"; \ |
39376d06 BP |
232 | cat missing-distfiles; \ |
233 | exit 1; \ | |
234 | fi; \ | |
87103e1f | 235 | fi |
39376d06 BP |
236 | CLEANFILES += all-distfiles all-gitfiles missing-distfiles |
237 | # The following is based on commands for the Automake "distdir" target. | |
238 | distfiles: Makefile | |
239 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
240 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
241 | list='$(DISTFILES)'; \ | |
242 | for file in $$list; do echo $$file; done | \ | |
243 | sed -e "s|^$$srcdirstrip/||;t" \ | |
a6da6967 BP |
244 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t" | \ |
245 | LC_ALL=C sort -u > $@ | |
39376d06 | 246 | CLEANFILES += distfiles |
b4e1bf8b BP |
247 | endif |
248 | .PHONY: dist-hook-git | |
87103e1f | 249 | |
9e4ba008 BP |
250 | # Check that every .c file includes <config.h>. |
251 | ALL_LOCAL += config-h-check | |
252 | config-h-check: | |
253 | @cd $(srcdir); \ | |
254 | if test -e .git && (git --version) >/dev/null 2>&1 && \ | |
b411e5c3 | 255 | git --no-pager grep -L '#include <config\.h>' `git ls-files | grep '\.c$$' | \ |
c63b04d6 | 256 | grep -vE '^datapath|^lib/sflow|^third-party|^datapath-windows|^python'`; \ |
9e4ba008 BP |
257 | then \ |
258 | echo "See above for list of violations of the rule that"; \ | |
259 | echo "every C source file must #include <config.h>."; \ | |
260 | exit 1; \ | |
261 | fi | |
262 | .PHONY: config-h-check | |
263 | ||
34582733 AS |
264 | # Check for printf() type modifiers that MSVC doesn't support. |
265 | ALL_LOCAL += printf-check | |
266 | printf-check: | |
8faeab72 DDP |
267 | @cd $(srcdir); \ |
268 | if test -e .git && (git --version) >/dev/null 2>&1 && \ | |
269 | git --no-pager grep -n -E -e '%[-+ #0-9.*]*([ztj]|hh)' --and --not -e 'ovs_scan' `git ls-files | grep '\.[ch]$$' | \ | |
3b3f8857 | 270 | grep -vE '^datapath|^lib/sflow|^third-party'`; \ |
34582733 AS |
271 | then \ |
272 | echo "See above for list of violations of the rule that"; \ | |
273 | echo "'z', 't', 'j', 'hh' printf() type modifiers are"; \ | |
542cc9bb | 274 | echo "forbidden. See CodingStyle.md for replacements."; \ |
34582733 AS |
275 | exit 1; \ |
276 | fi | |
277 | .PHONY: printf-check | |
278 | ||
1514b275 BP |
279 | # Check that certain data structures are always declared "static". |
280 | ALL_LOCAL += static-check | |
281 | static-check: | |
db5ce514 | 282 | @if test -e $(srcdir)/.git && (git --version) >/dev/null 2>&1 && \ |
1514b275 | 283 | git --no-pager grep -n -E '^[ ]+(struct vlog_rate_limit|pthread_once_t|struct ovsthread_once).*=' $(srcdir); \ |
db5ce514 BP |
284 | then \ |
285 | echo "See above for list of violations of the rule that "; \ | |
1514b275 | 286 | echo "certain data structures must always be 'static'"; \ |
db5ce514 BP |
287 | exit 1; \ |
288 | fi | |
1514b275 | 289 | .PHONY: static-check |
db5ce514 | 290 | |
4958e3ee BP |
291 | # Check that assert.h is not used outside a whitelist of files. |
292 | ALL_LOCAL += check-assert-h-usage | |
293 | check-assert-h-usage: | |
294 | @if test -e $(srcdir)/.git && (git --version) >/dev/null 2>&1 && \ | |
295 | (cd $(srcdir) && git --no-pager grep -l -E '[<]assert.h[>]') | \ | |
92fa2e92 | 296 | $(EGREP) -v '^lib/(sflow_receiver|vlog).c$$|^tests/'; \ |
4958e3ee BP |
297 | then \ |
298 | echo "Files listed above unexpectedly #include <""assert.h"">."; \ | |
299 | echo "Please use ovs_assert (from util.h) instead of assert."; \ | |
300 | exit 1; \ | |
301 | fi | |
302 | .PHONY: check-assert-h-usage | |
303 | ||
64746850 BP |
304 | # Check that LITTLE_ENDIAN and BIG_ENDIAN are not used unless BYTE_ORDER is |
305 | # also mentioned. (<endian.h> always defines the former two constants. They | |
306 | # must be compared to BYTE_ORDER to get the machine's correct endianness. But | |
307 | # it is better to use WORDS_BIGENDIAN.) | |
308 | ALL_LOCAL += check-endian | |
309 | check-endian: | |
310 | @if test -e $(srcdir)/.git && (git --version) >/dev/null 2>&1 && \ | |
311 | (cd $(srcdir) && git --no-pager grep -l -E \ | |
312 | -e 'BIG_ENDIAN|LITTLE_ENDIAN' --and --not -e 'BYTE_ORDER' | \ | |
313 | $(EGREP) -v '^datapath/'); \ | |
314 | then \ | |
315 | echo "See above for list of files that misuse LITTLE""_ENDIAN"; \ | |
316 | echo "or BIG""_ENDIAN. Please use WORDS_BIGENDIAN instead."; \ | |
317 | exit 1; \ | |
318 | fi | |
319 | .PHONY: check-endian | |
320 | ||
6a3e30f3 BP |
321 | ALL_LOCAL += thread-safety-check |
322 | thread-safety-check: | |
8faeab72 DDP |
323 | @cd $(srcdir); \ |
324 | if test -e .git && (git --version) >/dev/null 2>&1 && \ | |
325 | grep -n -f build-aux/thread-safety-blacklist \ | |
326 | `git ls-files | grep '\.[ch]$$' \ | |
ca3d034b | 327 | | $(EGREP) -v '^datapath|^lib/sflow|^third-party'` /dev/null \ |
6a3e30f3 BP |
328 | | $(EGREP) -v ':[ ]*/?\*'; \ |
329 | then \ | |
330 | echo "See above for list of calls to functions that are"; \ | |
331 | echo "blacklisted due to thread safety issues"; \ | |
332 | exit 1; \ | |
333 | fi | |
334 | EXTRA_DIST += build-aux/thread-safety-blacklist | |
c9172561 | 335 | .PHONY: thread-safety-check |
6a3e30f3 | 336 | |
0027492d BP |
337 | if HAVE_GROFF |
338 | ALL_LOCAL += manpage-check | |
1261619f BP |
339 | manpage-check: $(man_MANS) $(dist_man_MANS) $(noinst_man_MANS) |
340 | @error=false; \ | |
341 | for manpage in $?; do \ | |
186ef5c1 | 342 | LANG=en_US.UTF-8 groff -w mac -w delim -w escape -w input -w missing -w tab -T utf8 -man -p -z $$manpage >$@.tmp 2>&1; \ |
1261619f BP |
343 | if grep warning: $@.tmp; then error=:; fi; \ |
344 | rm -f $@.tmp; \ | |
0027492d | 345 | done; \ |
be09aa10 EJ |
346 | if $$error; then exit 1; else touch $@; fi |
347 | $(AM_V_GEN) touch -c $@ | |
0027492d BP |
348 | CLEANFILES += manpage-check |
349 | endif | |
350 | ||
115d8719 RB |
351 | if HAVE_FLAKE8 |
352 | ALL_LOCAL += flake8-check | |
007ec24d | 353 | # http://flake8.readthedocs.org/en/latest/warnings.html |
f3068bff RB |
354 | # All warnings explicitly selected or ignored should be listed below. |
355 | # | |
356 | # E***, W*** -- warnings from pep8 | |
357 | # E121 continuation line under-indented for hanging indent (only from flake8 v2.0) | |
358 | # E123 closing bracket does not match indentation of opening bracket's line | |
359 | # E125 continuation line with same indent as next logical line (only from flake8 v2.0) | |
360 | # E126 continuation line over-indented for hanging indent | |
361 | # E127 continuation line over-indented for visual indent | |
362 | # E128 continuation line under-indented for visual indent | |
363 | # E129 visually indented line with same indent as next logical line | |
364 | # E131 continuation line unaligned for hanging indent | |
365 | # W503 line break before binary operator | |
366 | # F*** -- warnings native to flake8 | |
367 | # F811 redefinition of unused <name> from line <N> (only from flake8 v2.0) | |
007ec24d NS |
368 | # D*** -- warnings from flake8-docstrings plugin |
369 | # H*** -- warnings from flake8 hacking plugin (custom style checks beyond PEP8) | |
f3068bff | 370 | # H231 Python 3.x incompatible 'except x,y:' construct |
56ec0611 | 371 | # H232 Python 3.x incompatible octal 077 should be written as 0o77 |
8ea171ab | 372 | # H233 Python 3.x incompatible use of print operator |
03756304 | 373 | # H238 old style class declaration, use new style (inherit from `object`) |
115d8719 | 374 | flake8-check: $(FLAKE8_PYFILES) |
490bafe8 RB |
375 | $(AM_V_GEN) if flake8 $^ --select=H231,H232,H233,H238 ${FLAKE8_FLAGS} && \ |
376 | flake8 $^ --ignore=E121,E123,E125,E126,E127,E128,E129,E131,W503,F811,D,H ${FLAKE8_FLAGS}; then \ | |
377 | touch $@; else exit 1; fi | |
115d8719 | 378 | endif |
968eec59 | 379 | CLEANFILES += flake8-check |
115d8719 | 380 | |
6ca37677 BP |
381 | include $(srcdir)/manpages.mk |
382 | $(srcdir)/manpages.mk: $(MAN_ROOTS) build-aux/sodepends.pl | |
383 | @$(PERL) $(srcdir)/build-aux/sodepends.pl -I. -I$(srcdir) $(MAN_ROOTS) >$(@F).tmp | |
384 | @if cmp -s $(@F).tmp $@; then \ | |
385 | touch $@; \ | |
386 | rm -f $(@F).tmp; \ | |
387 | else \ | |
388 | mv $(@F).tmp $@; \ | |
389 | fi | |
390 | CLEANFILES += manpage-dep-check | |
391 | ||
bd9d7025 | 392 | if VSTUDIO_DDK |
e02b8fb0 AS |
393 | ALL_LOCAL += ovsext |
394 | ovsext: datapath-windows/ovsext.sln $(srcdir)/datapath-windows/include/OvsDpInterface.h | |
395 | MSBuild.exe //maxcpucount datapath-windows/ovsext.sln /target:Build /property:Configuration="Win8$(VSTUDIO_CONFIG)" | |
396 | MSBuild.exe //maxcpucount datapath-windows/ovsext.sln /target:Build /property:Configuration="Win8.1$(VSTUDIO_CONFIG)" | |
bd9d7025 AS |
397 | |
398 | CLEAN_LOCAL += ovsext_clean | |
399 | ovsext_clean: datapath-windows/ovsext.sln | |
e02b8fb0 AS |
400 | MSBuild.exe //maxcpucount datapath-windows/ovsext.sln /target:Clean /property:Configuration="Win8$(VSTUDIO_CONFIG)" |
401 | MSBuild.exe //maxcpucount datapath-windows/ovsext.sln /target:Clean /property:Configuration="Win8.1$(VSTUDIO_CONFIG)" | |
bd9d7025 | 402 | endif |
e02b8fb0 | 403 | .PHONY: ovsext |
bd9d7025 | 404 | |
87103e1f | 405 | dist-hook: $(DIST_HOOKS) |
22c79496 | 406 | all-local: $(ALL_LOCAL) |
15b619e2 | 407 | clean-local: $(CLEAN_LOCAL) |
b2df0225 | 408 | install-data-local: $(INSTALL_DATA_LOCAL) |
44852fdf BP |
409 | uninstall-local: $(UNINSTALL_LOCAL) |
410 | .PHONY: $(DIST_HOOKS) $(CLEAN_LOCAL) $(INSTALL_DATA_LOCAL) $(UNINSTALL_LOCAL) | |
87103e1f | 411 | |
3a14d239 BP |
412 | modules_install: |
413 | if LINUX_ENABLED | |
414 | cd datapath/linux && $(MAKE) modules_install | |
415 | endif | |
416 | ||
4441a01c | 417 | dist-docs: |
6b304335 | 418 | VERSION=$(VERSION) MAKE='$(MAKE)' $(srcdir)/build-aux/dist-docs $(srcdir) $(docs) |
4441a01c BP |
419 | .PHONY: dist-docs |
420 | ||
8c254406 | 421 | include Documentation/automake.mk |
ed1be787 | 422 | include m4/automake.mk |
064af421 | 423 | include lib/automake.mk |
8cd4882f | 424 | include ofproto/automake.mk |
064af421 BP |
425 | include utilities/automake.mk |
426 | include tests/automake.mk | |
427 | include include/automake.mk | |
428 | include third-party/automake.mk | |
429 | include debian/automake.mk | |
430 | include vswitchd/automake.mk | |
f85f8ebb | 431 | include ovsdb/automake.mk |
c434706a | 432 | include rhel/automake.mk |
064af421 | 433 | include xenserver/automake.mk |
0be6140a | 434 | include python/automake.mk |
eeecce05 | 435 | include tutorial/automake.mk |
add17b69 | 436 | include vtep/automake.mk |
c803536e | 437 | include datapath-windows/automake.mk |
c640e3ce | 438 | include datapath-windows/include/automake.mk |
d183efc2 | 439 | include windows/automake.mk |
fe36184b | 440 | include ovn/automake.mk |
9b897c91 | 441 | include selinux/automake.mk |