Skip to content

Commit

Permalink
Merge pull request virtualsquare#25 from orbea/parallel
Browse files Browse the repository at this point in the history
build: Fix parallel make.
  • Loading branch information
danielinux authored Aug 31, 2021
2 parents 8c65ebc + 7dd9ed4 commit 617349c
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 10 deletions.
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,11 @@ AC_CONFIG_FILES(
[src/Makefile]
[src/lib/Makefile]
[src/lib/vdesnmp.pc]
[src/lib/vdemgmt.pc]
[src/lib/vdeplug.pc]
[src/lib/vdehist.pc]
[src/lib/python/Makefile]
[src/lib/vdemgmt/Makefile]
[src/lib/vdemgmt/vdemgmt.pc]
[src/vde_switch/Makefile]
[src/kvde_switch/Makefile]
[src/vde_over_ns/Makefile]
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ if ENABLE_PROFILE
AM_LDFLAGS = -pg --coverage
endif

vde_autolink_LDADD = $(LDADD) lib/libvdemgmt.la
vde_autolink_LDADD = $(LDADD) lib/vdemgmt/libvdemgmt.la
vde_plug2tap_LDADD = $(LDADD) lib/libvdeplug.la
if ENABLE_PCAP
vde_pcapplug_LDADD = $(LDADD) lib/libvdeplug.la -lpcap
Expand Down
11 changes: 3 additions & 8 deletions src/lib/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
AM_CPPFLAGS = -I$(top_srcdir)/include \
-DSYSCONFDIR="\"$(sysconfdir)\"" -DLOCALSTATEDIR="\"$(localstatedir)\""
LIBADD = $(top_builddir)/src/common/libvdecommon.la
SUBDIRS =
SUBDIRS = vdemgmt

if ENABLE_PROFILE
AM_CFLAGS = -pg --coverage
AM_LDFLAGS = -pg --coverage
endif

lib_LTLIBRARIES = \
libvdemgmt.la \
libvdesnmp.la \
libvdeplug.la \
libvdehist.la

# read before touching http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info

libvdemgmt_la_LIBADD = $(LIBADD)
libvdemgmt_la_LDFLAGS = $(AM_LDFLAGS) -version-number 0:0:1 -export-dynamic

libvdesnmp_la_LIBADD = $(LIBADD) $(top_builddir)/src/lib/libvdemgmt.la
libvdesnmp_la_LIBADD = $(LIBADD) $(top_builddir)/src/lib/vdemgmt/libvdemgmt.la
libvdesnmp_la_LDFLAGS = $(AM_LDFLAGS) -version-number 0:0:1 -export-dynamic

libvdeplug_la_LIBADD = $(LIBADD)
Expand All @@ -33,5 +29,4 @@ SUBDIRS += . python
endif

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = vdesnmp.pc vdemgmt.pc vdeplug.pc vdehist.pc

pkgconfig_DATA = vdesnmp.pc vdeplug.pc vdehist.pc
18 changes: 18 additions & 0 deletions src/lib/vdemgmt/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
AM_CPPFLAGS = -I$(top_srcdir)/include \
-DSYSCONFDIR="\"$(sysconfdir)\"" -DLOCALSTATEDIR="\"$(localstatedir)\""
LIBADD = $(top_builddir)/src/common/libvdecommon.la

if ENABLE_PROFILE
AM_CFLAGS = -pg --coverage
AM_LDFLAGS = -pg --coverage
endif

lib_LTLIBRARIES = libvdemgmt.la

# read before touching http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info

libvdemgmt_la_LIBADD = $(LIBADD)
libvdemgmt_la_LDFLAGS = $(AM_LDFLAGS) -version-number 0:0:1 -export-dynamic

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = vdemgmt.pc
File renamed without changes.
File renamed without changes.

0 comments on commit 617349c

Please sign in to comment.