From 36dba86649e71d2a56657320ddf98a1af2055023 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Thu, 28 Feb 2019 20:04:16 +0000 Subject: [PATCH] Some changes to plugins to allow storage of data. Pressure is a plugin now --- src/plugins/Makefile | 45 ++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 42 insertions(+), 3 deletions(-) diff --git a/src/plugins/Makefile b/src/plugins/Makefile index b53b505..08bbd37 100644 --- a/src/plugins/Makefile +++ b/src/plugins/Makefile @@ -137,6 +137,25 @@ demoplugin_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(demoplugin_la_LDFLAGS) $(LDFLAGS) -o $@ +nucleus_la_LIBADD = +am_nucleus_la_OBJECTS = nucleus.lo +nucleus_la_OBJECTS = $(am_nucleus_la_OBJECTS) +nucleus_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(nucleus_la_LDFLAGS) $(LDFLAGS) -o $@ +plane_confinement_la_LIBADD = +am_plane_confinement_la_OBJECTS = plane_confinement.lo +plane_confinement_la_OBJECTS = $(am_plane_confinement_la_OBJECTS) +plane_confinement_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(plane_confinement_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +pressure_la_LIBADD = +am_pressure_la_OBJECTS = pressure.lo +pressure_la_OBJECTS = $(am_pressure_la_OBJECTS) +pressure_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(pressure_la_LDFLAGS) $(LDFLAGS) -o $@ vmdefaulthardconstraints_la_LIBADD = am_vmdefaulthardconstraints_la_OBJECTS = default_hard_constraints.lo vmdefaulthardconstraints_la_OBJECTS = \ @@ -179,9 +198,11 @@ am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = -SOURCES = $(demoplugin_la_SOURCES) \ +SOURCES = $(demoplugin_la_SOURCES) $(nucleus_la_SOURCES) \ + $(plane_confinement_la_SOURCES) $(pressure_la_SOURCES) \ $(vmdefaulthardconstraints_la_SOURCES) -DIST_SOURCES = $(demoplugin_la_SOURCES) \ +DIST_SOURCES = $(demoplugin_la_SOURCES) $(nucleus_la_SOURCES) \ + $(plane_confinement_la_SOURCES) $(pressure_la_SOURCES) \ $(vmdefaulthardconstraints_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ @@ -331,11 +352,17 @@ top_builddir = ../.. top_srcdir = ../.. AM_CFLAGS = -Wall -Werror -DTS_VERSION=\"$(GITVERSION)\" -fgnu89-inline -Wno-error=date-time -I.. -lib_LTLIBRARIES = demoplugin.la vmdefaulthardconstraints.la +lib_LTLIBRARIES = demoplugin.la vmdefaulthardconstraints.la nucleus.la plane_confinement.la pressure.la demoplugin_la_SOURCES = demo_plugin.c demoplugin_la_LDFLAGS = -module -avoid-version -export-dynamic vmdefaulthardconstraints_la_SOURCES = default_hard_constraints.c vmdefaulthardconstraints_la_LDFLAGS = -module -avoid-version -export-dynamic +nucleus_la_SOURCES = nucleus.c +nucleus_la_LDFLAGS = -module -avoid-version -export-dynamic +plane_confinement_la_SOURCES = plane_confinement.c +plane_confinement_la_LDFLAGS = -module -avoid-version -export-dynamic +pressure_la_SOURCES = pressure.c +pressure_la_LDFLAGS = -module -avoid-version -export-dynamic all: all-am .SUFFIXES: @@ -408,6 +435,15 @@ demoplugin.la: $(demoplugin_la_OBJECTS) $(demoplugin_la_DEPENDENCIES) $(EXTRA_demoplugin_la_DEPENDENCIES) $(AM_V_CCLD)$(demoplugin_la_LINK) -rpath $(libdir) $(demoplugin_la_OBJECTS) $(demoplugin_la_LIBADD) $(LIBS) +nucleus.la: $(nucleus_la_OBJECTS) $(nucleus_la_DEPENDENCIES) $(EXTRA_nucleus_la_DEPENDENCIES) + $(AM_V_CCLD)$(nucleus_la_LINK) -rpath $(libdir) $(nucleus_la_OBJECTS) $(nucleus_la_LIBADD) $(LIBS) + +plane_confinement.la: $(plane_confinement_la_OBJECTS) $(plane_confinement_la_DEPENDENCIES) $(EXTRA_plane_confinement_la_DEPENDENCIES) + $(AM_V_CCLD)$(plane_confinement_la_LINK) -rpath $(libdir) $(plane_confinement_la_OBJECTS) $(plane_confinement_la_LIBADD) $(LIBS) + +pressure.la: $(pressure_la_OBJECTS) $(pressure_la_DEPENDENCIES) $(EXTRA_pressure_la_DEPENDENCIES) + $(AM_V_CCLD)$(pressure_la_LINK) -rpath $(libdir) $(pressure_la_OBJECTS) $(pressure_la_LIBADD) $(LIBS) + vmdefaulthardconstraints.la: $(vmdefaulthardconstraints_la_OBJECTS) $(vmdefaulthardconstraints_la_DEPENDENCIES) $(EXTRA_vmdefaulthardconstraints_la_DEPENDENCIES) $(AM_V_CCLD)$(vmdefaulthardconstraints_la_LINK) -rpath $(libdir) $(vmdefaulthardconstraints_la_OBJECTS) $(vmdefaulthardconstraints_la_LIBADD) $(LIBS) @@ -419,6 +455,9 @@ include ./$(DEPDIR)/default_hard_constraints.Plo include ./$(DEPDIR)/demo_plugin.Plo +include ./$(DEPDIR)/nucleus.Plo +include ./$(DEPDIR)/plane_confinement.Plo +include ./$(DEPDIR)/pressure.Plo .c.o: $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -- Gitblit v1.9.3