From 5e08f27fac51e8f7261cd4484ab8878befac8fe1 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Fri, 08 Mar 2019 20:08:54 +0000 Subject: [PATCH] Constant area plugin done --- src/plugins/Makefile | 44 ++++++++++++++++++++++++++++++++++++-------- 1 files changed, 36 insertions(+), 8 deletions(-) diff --git a/src/plugins/Makefile b/src/plugins/Makefile index 08bbd37..9b25029 100644 --- a/src/plugins/Makefile +++ b/src/plugins/Makefile @@ -127,13 +127,27 @@ } am__installdirs = "$(DESTDIR)$(libdir)" LTLIBRARIES = $(lib_LTLIBRARIES) -demoplugin_la_LIBADD = -am_demoplugin_la_OBJECTS = demo_plugin.lo -demoplugin_la_OBJECTS = $(am_demoplugin_la_OBJECTS) +constant_area_la_LIBADD = +am_constant_area_la_OBJECTS = constant_area.lo +constant_area_la_OBJECTS = $(am_constant_area_la_OBJECTS) AM_V_lt = $(am__v_lt_$(V)) am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) am__v_lt_0 = --silent am__v_lt_1 = +constant_area_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(constant_area_la_LDFLAGS) $(LDFLAGS) \ + -o $@ +constant_volume_la_LIBADD = +am_constant_volume_la_OBJECTS = constant_volume.lo +constant_volume_la_OBJECTS = $(am_constant_volume_la_OBJECTS) +constant_volume_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(constant_volume_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +demoplugin_la_LIBADD = +am_demoplugin_la_OBJECTS = demo_plugin.lo +demoplugin_la_OBJECTS = $(am_demoplugin_la_OBJECTS) demoplugin_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(demoplugin_la_LDFLAGS) $(LDFLAGS) -o $@ @@ -198,12 +212,14 @@ am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = -SOURCES = $(demoplugin_la_SOURCES) $(nucleus_la_SOURCES) \ +SOURCES = $(constant_area_la_SOURCES) $(constant_volume_la_SOURCES) \ + $(demoplugin_la_SOURCES) $(nucleus_la_SOURCES) \ $(plane_confinement_la_SOURCES) $(pressure_la_SOURCES) \ $(vmdefaulthardconstraints_la_SOURCES) -DIST_SOURCES = $(demoplugin_la_SOURCES) $(nucleus_la_SOURCES) \ - $(plane_confinement_la_SOURCES) $(pressure_la_SOURCES) \ - $(vmdefaulthardconstraints_la_SOURCES) +DIST_SOURCES = $(constant_area_la_SOURCES) \ + $(constant_volume_la_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 \ n|no|NO) false;; \ @@ -352,7 +368,7 @@ top_builddir = ../.. top_srcdir = ../.. AM_CFLAGS = -Wall -Werror -DTS_VERSION=\"$(GITVERSION)\" -fgnu89-inline -Wno-error=date-time -I.. -lib_LTLIBRARIES = demoplugin.la vmdefaulthardconstraints.la nucleus.la plane_confinement.la pressure.la +lib_LTLIBRARIES = demoplugin.la vmdefaulthardconstraints.la nucleus.la plane_confinement.la pressure.la constant_volume.la constant_area.la demoplugin_la_SOURCES = demo_plugin.c demoplugin_la_LDFLAGS = -module -avoid-version -export-dynamic vmdefaulthardconstraints_la_SOURCES = default_hard_constraints.c @@ -363,6 +379,10 @@ plane_confinement_la_LDFLAGS = -module -avoid-version -export-dynamic pressure_la_SOURCES = pressure.c pressure_la_LDFLAGS = -module -avoid-version -export-dynamic +constant_volume_la_SOURCES = constant_volume.c +constant_volume_la_LDFLAGS = -module -avoid-version -export-dynamic +constant_area_la_SOURCES = constant_area.c +constant_area_la_LDFLAGS = -module -avoid-version -export-dynamic all: all-am .SUFFIXES: @@ -432,6 +452,12 @@ rm -f $${locs}; \ } +constant_area.la: $(constant_area_la_OBJECTS) $(constant_area_la_DEPENDENCIES) $(EXTRA_constant_area_la_DEPENDENCIES) + $(AM_V_CCLD)$(constant_area_la_LINK) -rpath $(libdir) $(constant_area_la_OBJECTS) $(constant_area_la_LIBADD) $(LIBS) + +constant_volume.la: $(constant_volume_la_OBJECTS) $(constant_volume_la_DEPENDENCIES) $(EXTRA_constant_volume_la_DEPENDENCIES) + $(AM_V_CCLD)$(constant_volume_la_LINK) -rpath $(libdir) $(constant_volume_la_OBJECTS) $(constant_volume_la_LIBADD) $(LIBS) + 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) @@ -453,6 +479,8 @@ distclean-compile: -rm -f *.tab.c +include ./$(DEPDIR)/constant_area.Plo +include ./$(DEPDIR)/constant_volume.Plo include ./$(DEPDIR)/default_hard_constraints.Plo include ./$(DEPDIR)/demo_plugin.Plo include ./$(DEPDIR)/nucleus.Plo -- Gitblit v1.9.3