2006-02-19 15:34:41 +01:00
|
|
|
# Makefile.am - Copyright 2005, 2006, University
|
2005-12-30 20:40:34 +01:00
|
|
|
# of Padova, dept. of Pure and Applied
|
|
|
|
# Mathematics
|
|
|
|
#
|
|
|
|
# This file is part of SGPEMv2.
|
|
|
|
#
|
|
|
|
# This is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# SGPEMv2 is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with SGPEMv2; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
|
2006-02-19 15:34:41 +01:00
|
|
|
|
|
|
|
# extra calls
|
2006-09-14 21:33:12 +02:00
|
|
|
.PHONY : apidox generate-extra-images
|
2006-01-26 21:32:06 +01:00
|
|
|
|
2006-04-07 21:57:58 +02:00
|
|
|
# this should be the only recursive call inside sgpemv2 main pkg
|
|
|
|
# please note the "." directory _has_ to come first, before plugins
|
|
|
|
SUBDIRS = . po
|
|
|
|
|
|
|
|
# ################################# #
|
|
|
|
# Additional directories building: #
|
|
|
|
# ################################# #
|
|
|
|
|
|
|
|
# allow building of provided plugins
|
|
|
|
# FIXME: how to make this dynamic? e.g. for plugins/* ?
|
2006-06-13 17:09:13 +02:00
|
|
|
SUBDIRS += \
|
|
|
|
plugins/pyloader \
|
|
|
|
plugins/xmlsave
|
2006-02-19 15:34:41 +01:00
|
|
|
|
2006-07-05 16:37:11 +02:00
|
|
|
datarootdir = @datarootdir@
|
2006-02-19 15:34:41 +01:00
|
|
|
sharedir = $(pkgdatadir)
|
2006-09-12 11:01:53 +02:00
|
|
|
examplesdir = $(sharedir)/examples
|
2006-03-03 22:04:42 +01:00
|
|
|
policiesdir = $(sharedir)/policies
|
|
|
|
plugindir = $(sharedir)/plugins
|
2006-07-05 16:37:11 +02:00
|
|
|
gladedir = $(sharedir)/glade
|
2006-09-15 01:34:12 +02:00
|
|
|
|
|
|
|
applicationsdir = @datadir@/applications
|
2006-09-15 02:12:37 +02:00
|
|
|
iconsdir = @datadir@/icons/hicolor/48x48/apps
|
2006-02-19 15:34:41 +01:00
|
|
|
localedir = @datadir@/locale
|
2006-04-07 21:57:58 +02:00
|
|
|
aclocaldir = @datadir@/aclocal
|
2006-02-19 15:34:41 +01:00
|
|
|
|
2006-09-07 02:43:00 +02:00
|
|
|
# used for installing templates include files
|
|
|
|
templatesdir = $(pkgincludedir)/templates
|
|
|
|
|
2006-02-24 17:42:54 +01:00
|
|
|
#define empty global variables
|
|
|
|
bin_PROGRAMS =
|
2006-06-23 15:06:39 +02:00
|
|
|
pkglib_LTLIBRARIES =
|
2006-03-03 22:04:42 +01:00
|
|
|
plugin_LTLIBRARIES =
|
2006-02-24 17:42:54 +01:00
|
|
|
noinst_HEADERS =
|
2006-08-18 01:30:49 +02:00
|
|
|
noinst_DATA =
|
2006-06-21 11:09:50 +02:00
|
|
|
pkginclude_HEADERS =
|
2006-09-07 02:43:00 +02:00
|
|
|
templates_HEADERS =
|
2006-02-24 17:42:54 +01:00
|
|
|
EXTRA_DIST =
|
|
|
|
MAINTAINERCLEANFILES =
|
|
|
|
MOSTLYCLEANFILES =
|
2006-03-06 00:06:48 +01:00
|
|
|
CLEANFILES =
|
2006-02-24 17:42:54 +01:00
|
|
|
|
2006-02-19 15:34:41 +01:00
|
|
|
# ############################################################
|
|
|
|
#
|
|
|
|
# extra dist, cleanup and automake/aclocal flags
|
|
|
|
#
|
|
|
|
# ############################################################
|
2005-12-30 20:40:34 +01:00
|
|
|
|
2006-01-13 16:52:22 +01:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2006-07-05 13:11:50 +02:00
|
|
|
install_macros = \
|
|
|
|
m4/sgpemv2-dirs.m4 \
|
|
|
|
m4/sgpemv2-visibility.m4
|
|
|
|
macros = \
|
|
|
|
m4/compilerflags.m4 \
|
2006-04-07 21:57:58 +02:00
|
|
|
m4/linkingflags.m4
|
2006-02-19 15:34:41 +01:00
|
|
|
|
2006-09-14 14:29:43 +02:00
|
|
|
distro_files = \
|
2006-09-15 13:57:31 +02:00
|
|
|
distro/deb/control-file-v1.0 \
|
2006-09-15 00:07:43 +02:00
|
|
|
distro/deb/build.sh \
|
|
|
|
distro/deb/readme.txt \
|
2006-09-15 13:57:31 +02:00
|
|
|
distro/ebuild/sgpemv2-1.0.ebuild \
|
|
|
|
distro/rpm/SPECS/sgpemv2-1.0.spec \
|
2006-09-15 00:07:43 +02:00
|
|
|
distro/rpm/readme.txt
|
2006-09-14 14:29:43 +02:00
|
|
|
|
2006-02-24 17:42:54 +01:00
|
|
|
EXTRA_DIST += \
|
2006-02-19 15:34:41 +01:00
|
|
|
config/config.rpath \
|
|
|
|
config/mkinstalldirs \
|
|
|
|
configure.ac \
|
|
|
|
gettext.h \
|
2006-04-07 21:57:58 +02:00
|
|
|
$(install_macros) \
|
2006-09-14 14:29:43 +02:00
|
|
|
$(macros) \
|
|
|
|
$(distro_files)
|
2006-02-24 17:42:54 +01:00
|
|
|
|
2006-04-07 21:57:58 +02:00
|
|
|
aclocal_DATA = $(install_macros)
|
|
|
|
|
2006-02-24 17:42:54 +01:00
|
|
|
MAINTAINERCLEANFILES += doc/API
|
2006-02-19 15:34:41 +01:00
|
|
|
|
|
|
|
# ############################################################
|
|
|
|
#
|
|
|
|
# desktop files and other distribution data
|
|
|
|
#
|
|
|
|
# ############################################################
|
|
|
|
|
2006-04-07 21:57:58 +02:00
|
|
|
pkgconfdir = $(libdir)/pkgconfig
|
|
|
|
pkgconf_DATA = config/sgpemv2.pc
|
2006-02-19 15:34:41 +01:00
|
|
|
|
2006-09-15 01:34:12 +02:00
|
|
|
applications_DATA = data/sgpemv2.desktop
|
2006-09-15 02:12:37 +02:00
|
|
|
icons_DATA = data/scc-sgpemv2.png
|
2006-09-15 01:34:12 +02:00
|
|
|
|
2006-09-15 02:12:37 +02:00
|
|
|
EXTRA_DIST += $(applications_DATA) $(icons_DATA)
|
2006-09-15 01:34:12 +02:00
|
|
|
|
2006-02-19 15:34:41 +01:00
|
|
|
# ############################################################
|
|
|
|
#
|
|
|
|
# documentation
|
|
|
|
#
|
|
|
|
# ############################################################
|
|
|
|
|
|
|
|
info_TEXINFOS = \
|
|
|
|
doc/sgpem2uman.texi \
|
|
|
|
doc/sgpem2dman.texi
|
|
|
|
|
|
|
|
sgpem2uman_TEXINFOS = $(licenses) doc/vers-uman.texi
|
|
|
|
sgpem2dman_TEXINFOS = $(licenses) doc/vers-dman.texi
|
2006-01-26 21:32:06 +01:00
|
|
|
|
2006-09-14 21:33:12 +02:00
|
|
|
licenses = doc/fdl.texi doc/gpl.texi
|
|
|
|
|
|
|
|
EXTRA_DIST += $(licenses)
|
|
|
|
|
|
|
|
|
|
|
|
# Images for the documentation
|
|
|
|
gif_images = \
|
|
|
|
doc/holt_circle.gif \
|
|
|
|
doc/main-window.gif \
|
|
|
|
doc/simulation_widget.gif
|
|
|
|
text_images = \
|
|
|
|
doc/main-window.txt
|
|
|
|
|
|
|
|
# Generate all kind of images needed by texinfo via convert
|
|
|
|
%.pdf : %.gif
|
|
|
|
convert "$<" "$(top_srcdir)/$@"
|
|
|
|
%.eps : %.gif
|
|
|
|
convert "$<" "$(top_srcdir)/$@"
|
|
|
|
|
|
|
|
EXTRA_DIST += $(gif_images:%.gif=%.eps) \
|
|
|
|
$(gif_images:%.gif=%.pdf) \
|
|
|
|
$(text_images)
|
|
|
|
|
2006-01-26 21:32:06 +01:00
|
|
|
apidox :
|
2006-02-20 01:12:24 +01:00
|
|
|
test -d 'doc/API' || mkdir -p -- 'doc/API'
|
2006-02-19 15:34:41 +01:00
|
|
|
if HAVE_DOXYGEN
|
|
|
|
doxygen config/Doxyfile
|
|
|
|
else
|
|
|
|
@echo "** Doxygen not installed. Skipping generating API docs."
|
|
|
|
endif
|
|
|
|
|
2006-09-14 21:33:12 +02:00
|
|
|
|
2006-02-19 15:34:41 +01:00
|
|
|
dist-hook : apidox
|
|
|
|
cp -Rp 'doc/API' '$(distdir)/doc/API'
|
|
|
|
|
|
|
|
distclean-local :
|
|
|
|
if test -d 'doc/API'; then rm -rf 'doc/API'; fi
|
|
|
|
|
|
|
|
# ############################################################
|
|
|
|
#
|
|
|
|
# source : libbackend.la
|
|
|
|
#
|
|
|
|
# ############################################################
|
|
|
|
|
|
|
|
# Program & library names
|
2006-02-20 01:12:24 +01:00
|
|
|
pkglib_LTLIBRARIES += src/backend/libbackend.la
|
2006-02-19 15:34:41 +01:00
|
|
|
|
|
|
|
src_backend_libbackend_la_CPPFLAGS = \
|
2006-02-19 23:25:23 +01:00
|
|
|
-I@top_srcdir@ \
|
2006-09-07 02:43:00 +02:00
|
|
|
-I@top_srcdir@/src/backend \
|
2006-03-03 22:04:42 +01:00
|
|
|
-DPOLDIR="\"$(policiesdir)\"" \
|
|
|
|
-DPLUGDIR="\"$(plugindir)\"" \
|
2006-02-19 15:34:41 +01:00
|
|
|
-DLOCALEDIR="\"$(localedir)\"" \
|
|
|
|
$(GLIBMM_CFLAGS)
|
2006-02-20 22:26:08 +01:00
|
|
|
src_backend_libbackend_la_CXXFLAGS = \
|
|
|
|
$(VISIB_HIDDEN)
|
2006-02-20 01:12:24 +01:00
|
|
|
src_backend_libbackend_la_LDFLAGS = \
|
|
|
|
$(GLIBMM_LDFLAGS) \
|
2006-02-22 21:36:33 +01:00
|
|
|
$(LT_LDFLAGS) \
|
2006-02-25 13:21:30 +01:00
|
|
|
-version-info 0:0:0 \
|
|
|
|
-export-dynamic
|
2006-08-18 11:15:45 +02:00
|
|
|
src_backend_libbackend_la_LIBADD = \
|
|
|
|
$(GLIBMM_LIBS)
|
2006-02-19 15:34:41 +01:00
|
|
|
|
|
|
|
# Please keep this in sorted order:
|
|
|
|
src_backend_libbackend_la_SOURCES = \
|
2006-07-02 02:52:01 +02:00
|
|
|
src/backend/concrete_environment.cc \
|
2006-07-02 17:27:30 +02:00
|
|
|
src/backend/concrete_history.cc \
|
2006-09-11 03:32:05 +02:00
|
|
|
src/backend/concrete_process_statistics.cc \
|
2006-07-16 15:35:39 +02:00
|
|
|
src/backend/concrete_simulation.cc \
|
2006-09-11 03:32:05 +02:00
|
|
|
src/backend/concrete_simulation_statistics.cc \
|
2006-09-07 20:05:40 +02:00
|
|
|
src/backend/concrete_statistics.cc \
|
2006-09-11 03:32:05 +02:00
|
|
|
src/backend/concrete_thread_statistics.cc \
|
2006-08-02 23:57:36 +02:00
|
|
|
src/backend/cpu_policies_gatekeeper.cc \
|
|
|
|
src/backend/cpu_policy.cc \
|
2006-08-10 02:42:17 +02:00
|
|
|
src/backend/cpu_policy_exception.cc \
|
2006-08-02 23:57:36 +02:00
|
|
|
src/backend/cpu_policy_manager.cc \
|
2006-08-29 00:40:08 +02:00
|
|
|
src/backend/default_resource_policy_manager.cc \
|
2006-06-15 01:31:31 +02:00
|
|
|
src/backend/dynamic_process.cc \
|
2006-06-23 00:48:33 +02:00
|
|
|
src/backend/dynamic_request.cc \
|
|
|
|
src/backend/dynamic_resource.cc \
|
2006-06-13 18:37:57 +02:00
|
|
|
src/backend/dynamic_schedulable.cc \
|
2006-06-23 00:48:33 +02:00
|
|
|
src/backend/dynamic_sub_request.cc \
|
2006-06-22 00:39:35 +02:00
|
|
|
src/backend/dynamic_thread.cc \
|
2006-07-02 02:52:01 +02:00
|
|
|
src/backend/environment.cc \
|
2006-06-12 16:04:06 +02:00
|
|
|
src/backend/global_preferences.cc \
|
2006-02-19 15:34:41 +01:00
|
|
|
src/backend/history.cc \
|
2006-07-02 17:27:30 +02:00
|
|
|
src/backend/history_observer.cc \
|
2006-08-02 02:28:31 +02:00
|
|
|
src/backend/holt_graph.cc \
|
2006-07-03 20:29:44 +02:00
|
|
|
src/backend/invalid_plugin_exception.cc \
|
2006-07-15 17:46:13 +02:00
|
|
|
src/backend/key_file.cc \
|
2006-08-08 02:20:56 +02:00
|
|
|
src/backend/malformed_policy_exception.cc \
|
2006-07-03 20:29:44 +02:00
|
|
|
src/backend/module.cc \
|
2006-07-24 00:27:33 +02:00
|
|
|
src/backend/null_policy_exception.cc \
|
2006-07-03 20:29:44 +02:00
|
|
|
src/backend/plugin_manager.cc \
|
2006-02-19 15:34:41 +01:00
|
|
|
src/backend/policy_parameters.cc \
|
2006-06-15 01:31:31 +02:00
|
|
|
src/backend/process.cc \
|
2006-09-09 18:04:35 +02:00
|
|
|
src/backend/process_statistics.cc \
|
2006-07-02 02:52:01 +02:00
|
|
|
src/backend/ready_queue.cc \
|
2006-06-23 00:48:33 +02:00
|
|
|
src/backend/request.cc \
|
|
|
|
src/backend/resource.cc \
|
2006-08-03 01:38:52 +02:00
|
|
|
src/backend/resource_policies_gatekeeper.cc \
|
2006-08-02 00:57:40 +02:00
|
|
|
src/backend/resource_policy.cc \
|
2006-09-07 21:22:38 +02:00
|
|
|
src/backend/resource_policy_fifo.cc \
|
2006-08-29 00:40:08 +02:00
|
|
|
src/backend/resource_policy_lifo.cc \
|
2006-08-03 01:38:52 +02:00
|
|
|
src/backend/resource_policy_manager.cc \
|
2006-09-07 21:22:38 +02:00
|
|
|
src/backend/resource_policy_priority.cc \
|
2006-09-13 03:27:03 +02:00
|
|
|
src/backend/resource_policy_priority_inheritance.cc \
|
2006-06-13 18:37:57 +02:00
|
|
|
src/backend/schedulable.cc \
|
2006-09-07 20:05:40 +02:00
|
|
|
src/backend/schedulable_statistics.cc \
|
2006-02-19 15:34:41 +01:00
|
|
|
src/backend/scheduler.cc \
|
2006-07-05 00:34:39 +02:00
|
|
|
src/backend/serialize_visitor.cc \
|
2006-08-07 17:16:27 +02:00
|
|
|
src/backend/serializer.cc \
|
|
|
|
src/backend/serializer_error.cc \
|
2006-08-07 02:54:43 +02:00
|
|
|
src/backend/serializers_gatekeeper.cc \
|
2006-07-16 15:35:39 +02:00
|
|
|
src/backend/simulation.cc \
|
2006-08-18 02:46:38 +02:00
|
|
|
src/backend/simulation_observer.cc \
|
2006-09-11 03:32:05 +02:00
|
|
|
src/backend/simulation_statistics.cc \
|
2006-06-13 18:37:57 +02:00
|
|
|
src/backend/static_process.cc \
|
2006-06-23 00:48:33 +02:00
|
|
|
src/backend/static_request.cc \
|
|
|
|
src/backend/static_resource.cc \
|
2006-06-13 18:37:57 +02:00
|
|
|
src/backend/static_schedulable.cc \
|
2006-06-23 00:48:33 +02:00
|
|
|
src/backend/static_sub_request.cc \
|
2006-06-15 01:31:31 +02:00
|
|
|
src/backend/static_thread.cc \
|
2006-09-07 20:05:40 +02:00
|
|
|
src/backend/statistics.cc \
|
2006-02-23 12:29:25 +01:00
|
|
|
src/backend/string_utils.cc \
|
2006-06-23 00:48:33 +02:00
|
|
|
src/backend/sub_request.cc \
|
2006-06-20 00:37:27 +02:00
|
|
|
src/backend/thread.cc \
|
2006-09-07 20:05:40 +02:00
|
|
|
src/backend/thread_statistics.cc \
|
2006-02-23 12:29:25 +01:00
|
|
|
src/backend/user_interrupt_exception.cc
|
2006-02-19 15:34:41 +01:00
|
|
|
|
2006-06-23 15:06:39 +02:00
|
|
|
# Put here header files that will be installed for the user
|
|
|
|
# For headers used internally by the backend, see below.
|
2006-06-21 11:09:50 +02:00
|
|
|
pkginclude_HEADERS += \
|
2006-02-25 13:31:46 +01:00
|
|
|
config.h \
|
2006-09-07 02:43:00 +02:00
|
|
|
src/backend/sgpemv2/cpu_policies_gatekeeper.hh \
|
|
|
|
src/backend/sgpemv2/cpu_policy.hh \
|
|
|
|
src/backend/sgpemv2/cpu_policy_exception.hh \
|
|
|
|
src/backend/sgpemv2/cpu_policy_manager.hh \
|
|
|
|
src/backend/sgpemv2/default_resource_policy_manager.hh \
|
|
|
|
src/backend/sgpemv2/environment.hh \
|
|
|
|
src/backend/sgpemv2/global_preferences.hh \
|
|
|
|
src/backend/sgpemv2/history.hh \
|
|
|
|
src/backend/sgpemv2/history_observer.hh \
|
|
|
|
src/backend/sgpemv2/holt_graph.hh \
|
|
|
|
src/backend/sgpemv2/invalid_plugin_exception.hh \
|
|
|
|
src/backend/sgpemv2/key_file.hh \
|
|
|
|
src/backend/sgpemv2/malformed_policy_exception.hh \
|
|
|
|
src/backend/sgpemv2/module.hh \
|
|
|
|
src/backend/sgpemv2/null_policy_exception.hh \
|
|
|
|
src/backend/sgpemv2/policy_parameters.hh \
|
|
|
|
src/backend/sgpemv2/plugin.hh \
|
|
|
|
src/backend/sgpemv2/plugin_manager.hh \
|
2006-09-11 03:32:05 +02:00
|
|
|
src/backend/sgpemv2/process_statistics.hh \
|
2006-09-07 02:43:00 +02:00
|
|
|
src/backend/sgpemv2/ready_queue.hh \
|
|
|
|
src/backend/sgpemv2/request.hh \
|
|
|
|
src/backend/sgpemv2/resource.hh \
|
|
|
|
src/backend/sgpemv2/resource_policies_gatekeeper.hh \
|
|
|
|
src/backend/sgpemv2/resource_policy.hh \
|
2006-09-07 21:22:38 +02:00
|
|
|
src/backend/sgpemv2/resource_policy_fifo.hh \
|
2006-09-07 02:43:00 +02:00
|
|
|
src/backend/sgpemv2/resource_policy_lifo.hh \
|
|
|
|
src/backend/sgpemv2/resource_policy_manager.hh \
|
2006-09-07 21:22:38 +02:00
|
|
|
src/backend/sgpemv2/resource_policy_priority.hh \
|
2006-09-13 03:27:03 +02:00
|
|
|
src/backend/sgpemv2/resource_policy_priority_inheritance.hh \
|
2006-09-07 02:43:00 +02:00
|
|
|
src/backend/sgpemv2/process.hh \
|
|
|
|
src/backend/sgpemv2/schedulable.hh \
|
2006-09-07 20:05:40 +02:00
|
|
|
src/backend/sgpemv2/schedulable_statistics.hh \
|
2006-09-07 23:26:41 +02:00
|
|
|
src/backend/sgpemv2/scheduler.hh \
|
2006-09-07 02:43:00 +02:00
|
|
|
src/backend/sgpemv2/serialize_visitor.hh \
|
|
|
|
src/backend/sgpemv2/serializer.hh \
|
|
|
|
src/backend/sgpemv2/serializer_error.hh \
|
|
|
|
src/backend/sgpemv2/serializers_gatekeeper.hh \
|
|
|
|
src/backend/sgpemv2/simulation.hh \
|
|
|
|
src/backend/sgpemv2/simulation_observer.hh \
|
2006-09-11 03:32:05 +02:00
|
|
|
src/backend/sgpemv2/simulation_statistics.hh \
|
2006-09-07 20:05:40 +02:00
|
|
|
src/backend/sgpemv2/statistics.hh \
|
2006-09-07 02:43:00 +02:00
|
|
|
src/backend/sgpemv2/string_utils.hh \
|
|
|
|
src/backend/sgpemv2/sub_request.hh \
|
|
|
|
src/backend/sgpemv2/thread.hh \
|
2006-09-11 03:32:05 +02:00
|
|
|
src/backend/sgpemv2/thread_statistics.hh \
|
2006-09-07 02:43:00 +02:00
|
|
|
src/backend/sgpemv2/user_interrupt_exception.hh
|
|
|
|
|
2006-06-23 15:06:39 +02:00
|
|
|
|
|
|
|
# Put here headers used internally by the backend
|
|
|
|
# They won't be installed for the end-user.
|
|
|
|
noinst_HEADERS += \
|
2006-07-02 02:52:01 +02:00
|
|
|
src/backend/concrete_environment.hh \
|
2006-07-02 17:27:30 +02:00
|
|
|
src/backend/concrete_history.hh \
|
2006-09-11 03:32:05 +02:00
|
|
|
src/backend/concrete_process_statistics.hh \
|
2006-07-16 15:35:39 +02:00
|
|
|
src/backend/concrete_simulation.hh \
|
2006-09-11 03:32:05 +02:00
|
|
|
src/backend/concrete_simulation_statistics.hh \
|
2006-09-07 20:05:40 +02:00
|
|
|
src/backend/concrete_statistics.hh \
|
2006-09-11 03:32:05 +02:00
|
|
|
src/backend/concrete_thread_statistics.hh \
|
2006-06-23 15:06:39 +02:00
|
|
|
src/backend/dynamic_process.hh \
|
|
|
|
src/backend/dynamic_request.hh \
|
|
|
|
src/backend/dynamic_resource.hh \
|
|
|
|
src/backend/dynamic_schedulable.hh \
|
|
|
|
src/backend/dynamic_sub_request.hh \
|
|
|
|
src/backend/dynamic_thread.hh \
|
2006-06-13 18:37:57 +02:00
|
|
|
src/backend/static_process.hh \
|
2006-06-23 00:48:33 +02:00
|
|
|
src/backend/static_request.hh \
|
|
|
|
src/backend/static_resource.hh \
|
2006-06-13 18:37:57 +02:00
|
|
|
src/backend/static_schedulable.hh \
|
2006-06-23 00:48:33 +02:00
|
|
|
src/backend/static_sub_request.hh \
|
2006-09-11 03:32:05 +02:00
|
|
|
src/backend/static_thread.hh
|
|
|
|
|
2006-06-23 15:06:39 +02:00
|
|
|
|
2006-02-19 15:34:41 +01:00
|
|
|
|
2006-02-20 01:12:24 +01:00
|
|
|
# ############################################################
|
|
|
|
#
|
|
|
|
# source : main executable
|
|
|
|
#
|
|
|
|
# ############################################################
|
|
|
|
|
|
|
|
# Program & library names
|
2006-02-24 17:42:54 +01:00
|
|
|
bin_PROGRAMS += sgpemv2
|
2006-02-20 01:12:24 +01:00
|
|
|
|
|
|
|
sgpemv2_CPPFLAGS = \
|
|
|
|
-I@top_srcdir@ \
|
2006-09-07 02:43:00 +02:00
|
|
|
-I@top_srcdir@/src/backend \
|
2006-02-20 01:12:24 +01:00
|
|
|
-DLOCALEDIR="\"$(localedir)\"" \
|
2006-07-05 16:37:11 +02:00
|
|
|
-DSHAREDIR="\"$(sharedir)\"" \
|
|
|
|
-DGLADEDIR="\"$(gladedir)\"" \
|
2006-02-20 01:12:24 +01:00
|
|
|
$(CAIRO_CFLAGS) \
|
|
|
|
$(GTKMM_CFLAGS) \
|
2006-07-05 16:37:11 +02:00
|
|
|
$(LIBGLADEMM_CFLAGS) \
|
2006-02-20 01:12:24 +01:00
|
|
|
$(GTHREAD_CFLAGS)
|
2006-09-16 02:42:10 +02:00
|
|
|
sgpemv2_CXXFLAGS = \
|
|
|
|
$(VISIB_HIDDEN)
|
|
|
|
sgpemv2_LDFLAGS = \
|
|
|
|
-Wl,-rpath -Wl,"$(pkglibdir)"
|
2006-02-20 01:12:24 +01:00
|
|
|
sgpemv2_LDADD = \
|
|
|
|
src/backend/libbackend.la \
|
|
|
|
$(CAIRO_LIBS) \
|
|
|
|
$(GTKMM_LIBS) \
|
2006-07-05 16:37:11 +02:00
|
|
|
$(LIBGLADEMM_LIBS) \
|
2006-02-20 01:12:24 +01:00
|
|
|
$(GTHREAD_LIBS)
|
|
|
|
|
|
|
|
# Please keep this in sorted order:
|
|
|
|
sgpemv2_SOURCES = \
|
2006-08-19 02:09:36 +02:00
|
|
|
src/add_request_dialog.cc \
|
2006-07-28 17:24:56 +02:00
|
|
|
src/cairo_elements.cc \
|
2006-08-04 22:08:55 +02:00
|
|
|
src/cairo_widget.cc \
|
2006-08-31 01:37:11 +02:00
|
|
|
src/configure_policy_dialog.cc \
|
2006-08-15 19:33:47 +02:00
|
|
|
src/graphical_preferences_editor.cc \
|
2006-07-06 14:36:05 +02:00
|
|
|
src/gui_builder.cc \
|
2006-09-06 01:54:16 +02:00
|
|
|
src/holt_container_window.cc \
|
2006-09-02 16:48:03 +02:00
|
|
|
src/holt_widget.cc \
|
2006-09-07 04:08:00 +02:00
|
|
|
src/jump_to_dialog.cc \
|
2006-02-20 01:12:24 +01:00
|
|
|
src/main.cc \
|
|
|
|
src/parse_opts.cc \
|
2006-09-06 16:51:53 +02:00
|
|
|
src/ready_queue_widget.cc \
|
2006-08-21 02:12:56 +02:00
|
|
|
src/resources_widget.cc \
|
|
|
|
src/schedulable_state_widget.cc \
|
2006-09-11 03:32:05 +02:00
|
|
|
src/schedulables_statistics_widget.cc \
|
2006-08-12 02:35:40 +02:00
|
|
|
src/schedulables_tree_widget.cc \
|
2006-09-14 20:39:52 +02:00
|
|
|
src/simulation_controller.cc \
|
|
|
|
src/simulation_statistics_widget.cc \
|
2006-08-12 17:49:37 +02:00
|
|
|
src/simulation_widget.cc \
|
2006-09-11 03:32:05 +02:00
|
|
|
src/statistics_container_window.cc \
|
2006-02-20 01:12:24 +01:00
|
|
|
src/text_simulation.cc
|
|
|
|
|
|
|
|
noinst_HEADERS += \
|
2006-08-19 02:09:36 +02:00
|
|
|
src/add_request_dialog.hh \
|
2006-07-28 17:24:56 +02:00
|
|
|
src/cairo_elements.hh \
|
2006-08-04 22:08:55 +02:00
|
|
|
src/cairo_widget.hh \
|
2006-08-31 01:37:11 +02:00
|
|
|
src/configure_policy_dialog.hh \
|
2006-08-15 19:33:47 +02:00
|
|
|
src/graphical_preferences_editor.hh \
|
2006-07-06 14:36:05 +02:00
|
|
|
src/gui_builder.hh \
|
2006-09-07 18:56:42 +02:00
|
|
|
src/holt_container_window.hh \
|
2006-09-02 16:48:03 +02:00
|
|
|
src/holt_widget.hh \
|
2006-09-07 04:08:00 +02:00
|
|
|
src/jump_to_dialog.hh \
|
2006-02-20 01:12:24 +01:00
|
|
|
src/main.hh \
|
|
|
|
src/parse_opts.hh \
|
2006-09-06 16:51:53 +02:00
|
|
|
src/ready_queue_widget.hh \
|
2006-08-21 02:12:56 +02:00
|
|
|
src/resources_widget.hh \
|
2006-08-20 21:19:30 +02:00
|
|
|
src/schedulable_state_widget.hh \
|
2006-09-11 03:32:05 +02:00
|
|
|
src/schedulables_statistics_widget.hh \
|
2006-08-12 02:35:40 +02:00
|
|
|
src/schedulables_tree_widget.hh \
|
2006-09-11 03:32:05 +02:00
|
|
|
src/schedulables_statistics_widget.hh \
|
2006-09-14 20:39:52 +02:00
|
|
|
src/simulation_controller.hh \
|
|
|
|
src/simulation_statistics_widget.hh \
|
2006-09-14 20:19:34 +02:00
|
|
|
src/simulation_widget.hh \
|
|
|
|
src/statistics_container_window.hh \
|
2006-02-20 01:12:24 +01:00
|
|
|
src/text_simulation.hh
|
2006-02-19 23:25:23 +01:00
|
|
|
|
2006-07-05 16:37:11 +02:00
|
|
|
# ---------- glade files -----------
|
|
|
|
|
|
|
|
glade_DATA = \
|
2006-08-21 00:15:02 +02:00
|
|
|
data/logo.png \
|
2006-08-01 00:29:42 +02:00
|
|
|
glade/add-process-dialog.glade \
|
|
|
|
glade/add-request-dialog.glade \
|
|
|
|
glade/add-resource-dialog.glade \
|
|
|
|
glade/add-thread-dialog.glade \
|
2006-08-15 19:33:47 +02:00
|
|
|
glade/configure-dialog.glade \
|
2006-09-07 04:08:00 +02:00
|
|
|
glade/jump-to-dialog.glade \
|
2006-09-14 12:58:54 +02:00
|
|
|
glade/main-window.glade \
|
|
|
|
glade/statistics-window.glade
|
2006-07-05 16:37:11 +02:00
|
|
|
|
2006-09-07 21:12:19 +02:00
|
|
|
EXTRA_DIST += $(glade_DATA)
|
|
|
|
|
2006-02-19 15:34:41 +01:00
|
|
|
# ############################################################
|
|
|
|
#
|
|
|
|
# source : templates
|
|
|
|
#
|
|
|
|
# ############################################################
|
|
|
|
|
2006-09-07 02:43:00 +02:00
|
|
|
templates_HEADERS += \
|
|
|
|
src/backend/sgpemv2/templates/deletor.tcc \
|
2006-09-16 13:21:06 +02:00
|
|
|
src/backend/sgpemv2/templates/down_cast.tcc \
|
2006-09-07 02:43:00 +02:00
|
|
|
src/backend/sgpemv2/templates/parameter.tcc \
|
|
|
|
src/backend/sgpemv2/templates/sequences.tcc \
|
|
|
|
src/backend/sgpemv2/templates/singleton.hh \
|
|
|
|
src/backend/sgpemv2/templates/singleton.tcc \
|
|
|
|
src/backend/sgpemv2/templates/smartp.hh \
|
|
|
|
src/backend/sgpemv2/templates/smartp.tcc
|
2006-02-19 15:34:41 +01:00
|
|
|
|
|
|
|
# ############################################################
|
|
|
|
#
|
|
|
|
# check : testsuite
|
|
|
|
#
|
|
|
|
# ############################################################
|
|
|
|
|
2006-03-09 22:02:43 +01:00
|
|
|
if COND_TESTS
|
|
|
|
|
2006-02-19 15:34:41 +01:00
|
|
|
# DEJATOOL = src/testsuite/example-test.exp
|
2006-02-20 01:12:24 +01:00
|
|
|
|
2006-03-09 12:37:09 +01:00
|
|
|
noinst_PROGRAMS = \
|
2006-08-20 05:49:17 +02:00
|
|
|
src/testsuite/test-cairo_widget \
|
2006-08-18 21:52:44 +02:00
|
|
|
src/testsuite/test-history \
|
2006-08-22 03:38:30 +02:00
|
|
|
src/testsuite/test-holt_widget \
|
2006-08-31 00:35:45 +02:00
|
|
|
src/testsuite/test-key_file \
|
|
|
|
src/testsuite/test-simulation_widget
|
2006-03-09 12:37:09 +01:00
|
|
|
|
|
|
|
# disable :
|
2006-09-15 23:31:31 +02:00
|
|
|
# src/testsuite/test-global_preferences_serialization
|
2006-03-09 12:37:09 +01:00
|
|
|
# src/testsuite/test-parse_command
|
2006-07-02 02:52:01 +02:00
|
|
|
# src/testsuite/test-stepforward
|
2006-03-09 12:37:09 +01:00
|
|
|
|
|
|
|
src_testsuite_test_history_CPPFLAGS = \
|
2006-09-07 02:43:00 +02:00
|
|
|
-I@top_srcdir@/src/backend \
|
2006-03-09 12:37:09 +01:00
|
|
|
$(GLIBMM_CFLAGS)
|
|
|
|
src_testsuite_test_history_LDFLAGS = \
|
2006-09-16 02:42:10 +02:00
|
|
|
-Wl,-rpath -Wl,"$(pkglibdir)" \
|
2006-03-09 12:37:09 +01:00
|
|
|
src/backend/libbackend.la \
|
|
|
|
$(GLIBMM_LIBS)
|
|
|
|
src_testsuite_test_history_SOURCES = \
|
2006-07-05 19:21:05 +02:00
|
|
|
src/backend/concrete_environment.cc \
|
|
|
|
src/backend/concrete_history.cc \
|
|
|
|
src/backend/dynamic_process.cc \
|
|
|
|
src/backend/dynamic_request.cc \
|
|
|
|
src/backend/dynamic_resource.cc \
|
|
|
|
src/backend/dynamic_schedulable.cc \
|
|
|
|
src/backend/dynamic_sub_request.cc \
|
|
|
|
src/backend/dynamic_thread.cc \
|
|
|
|
src/backend/static_process.cc \
|
|
|
|
src/backend/static_request.cc \
|
|
|
|
src/backend/static_resource.cc \
|
|
|
|
src/backend/static_schedulable.cc \
|
|
|
|
src/backend/static_sub_request.cc \
|
|
|
|
src/backend/static_thread.cc \
|
2006-08-31 00:35:45 +02:00
|
|
|
src/testsuite/test-history.cc
|
2006-09-07 18:56:42 +02:00
|
|
|
|
2006-09-15 23:31:31 +02:00
|
|
|
#src_testsuite_test_global_preferences_serialization_CPPFLAGS = \
|
|
|
|
# -I@top_srcdir@/src/backend \
|
|
|
|
# $(GLIBMM_CFLAGS)
|
|
|
|
#src_testsuite_test_global_preferences_serialization_LDFLAGS = \
|
|
|
|
# src/backend/libbackend.la \
|
2006-09-16 02:42:10 +02:00
|
|
|
# -Wl,-rpath -Wl,"$(pkglibdir)" \
|
2006-09-15 23:31:31 +02:00
|
|
|
# $(GLIBMM_LIBS)
|
|
|
|
#src_testsuite_test_global_preferences_serialization_SOURCES = \
|
|
|
|
# src/testsuite/test-global_preferences_serialization.cc
|
2006-08-31 00:35:45 +02:00
|
|
|
|
|
|
|
src_testsuite_test_key_file_CPPFLAGS = \
|
2006-09-07 02:43:00 +02:00
|
|
|
-I@top_srcdir@/src/backend \
|
2006-08-31 00:35:45 +02:00
|
|
|
$(GLIBMM_CFLAGS)
|
|
|
|
src_testsuite_test_key_file_LDFLAGS = \
|
2006-09-16 02:42:10 +02:00
|
|
|
-Wl,-rpath -Wl,"$(pkglibdir)" \
|
2006-08-31 00:35:45 +02:00
|
|
|
src/backend/libbackend.la \
|
|
|
|
$(GLIBMM_LIBS)
|
|
|
|
src_testsuite_test_key_file_SOURCES = \
|
|
|
|
src/testsuite/test-key_file.cc
|
2006-03-09 12:37:09 +01:00
|
|
|
|
2006-08-18 21:52:44 +02:00
|
|
|
src_testsuite_test_cairo_widget_CPPFLAGS = \
|
|
|
|
-I@top_srcdir@/src \
|
2006-09-07 02:43:00 +02:00
|
|
|
-I@top_srcdir@/src/backend \
|
2006-08-18 21:52:44 +02:00
|
|
|
$(CAIRO_CFLAGS) \
|
|
|
|
$(GTKMM_CFLAGS) \
|
|
|
|
$(GLIBMM_CFLAGS)
|
|
|
|
src_testsuite_test_cairo_widget_LDFLAGS = \
|
|
|
|
$(CAIRO_LIBS) \
|
|
|
|
$(GTKMM_LIBS) \
|
|
|
|
$(GLIBMM_LIBS)
|
|
|
|
src_testsuite_test_cairo_widget_SOURCES = \
|
|
|
|
src/cairo_elements.cc \
|
|
|
|
src/cairo_widget.cc \
|
|
|
|
src/testsuite/test-cairo_widget.cc
|
|
|
|
|
2006-08-20 05:49:17 +02:00
|
|
|
src_testsuite_test_simulation_widget_CPPFLAGS = \
|
|
|
|
-I@top_srcdir@/src \
|
2006-09-07 02:43:00 +02:00
|
|
|
-I@top_srcdir@/src/backend \
|
2006-08-20 05:49:17 +02:00
|
|
|
$(CAIRO_CFLAGS) \
|
|
|
|
$(GTKMM_CFLAGS) \
|
|
|
|
$(GLIBMM_CFLAGS) \
|
|
|
|
$(GTHREAD_CFLAGS)
|
|
|
|
src_testsuite_test_simulation_widget_LDFLAGS = \
|
|
|
|
src/backend/libbackend.la \
|
2006-09-16 02:42:10 +02:00
|
|
|
-Wl,-rpath -Wl,"$(pkglibdir)" \
|
2006-08-20 05:49:17 +02:00
|
|
|
$(CAIRO_LIBS) \
|
|
|
|
$(GTKMM_LIBS) \
|
|
|
|
$(GLIBMM_LIBS) \
|
|
|
|
$(GTHREAD_LIBS)
|
|
|
|
src_testsuite_test_simulation_widget_SOURCES = \
|
|
|
|
src/cairo_elements.cc \
|
|
|
|
src/cairo_widget.cc \
|
|
|
|
src/simulation_widget.cc \
|
|
|
|
src/testsuite/test-simulation_widget.cc
|
2006-08-18 21:52:44 +02:00
|
|
|
|
2006-08-22 03:38:30 +02:00
|
|
|
src_testsuite_test_holt_widget_CPPFLAGS = \
|
|
|
|
-I@top_srcdir@/src \
|
2006-09-07 02:43:00 +02:00
|
|
|
-I@top_srcdir@/src/backend \
|
2006-08-22 03:38:30 +02:00
|
|
|
$(CAIRO_CFLAGS) \
|
|
|
|
$(GTKMM_CFLAGS) \
|
|
|
|
$(GLIBMM_CFLAGS) \
|
|
|
|
$(GTHREAD_CFLAGS)
|
|
|
|
src_testsuite_test_holt_widget_LDFLAGS = \
|
|
|
|
src/backend/libbackend.la \
|
2006-09-16 02:42:10 +02:00
|
|
|
-Wl,-rpath -Wl,"$(pkglibdir)" \
|
2006-08-22 03:38:30 +02:00
|
|
|
$(CAIRO_LIBS) \
|
|
|
|
$(GTKMM_LIBS) \
|
|
|
|
$(GLIBMM_LIBS) \
|
|
|
|
$(GTHREAD_LIBS)
|
|
|
|
src_testsuite_test_holt_widget_SOURCES = \
|
|
|
|
src/cairo_elements.cc \
|
|
|
|
src/cairo_widget.cc \
|
|
|
|
src/simulation_widget.cc \
|
2006-09-06 01:54:16 +02:00
|
|
|
src/holt_container_window.cc \
|
2006-08-22 03:38:30 +02:00
|
|
|
src/holt_widget.cc \
|
|
|
|
src/testsuite/test-holt_widget.cc
|
|
|
|
|
2006-03-09 12:37:09 +01:00
|
|
|
#src_testsuite_test_parse_command_CPPFLAGS = \
|
|
|
|
# -I@top_srcdir@/src \
|
2006-06-21 11:09:50 +02:00
|
|
|
# -I@top_srcdir@/src/templates \
|
2006-03-09 12:37:09 +01:00
|
|
|
# $(GLIBMM_CFLAGS)
|
|
|
|
#src_testsuite_test_parse_command_LDFLAGS = \
|
|
|
|
# src/backend/libbackend.la \
|
2006-09-16 02:42:10 +02:00
|
|
|
# -Wl,-rpath -Wl,"$(pkglibdir)" \
|
2006-03-09 12:37:09 +01:00
|
|
|
# $(GLIBMM_LIBS)
|
|
|
|
#src_testsuite_test_parse_command_SOURCES = \
|
|
|
|
# src/testsuite/test-parse_command.cc
|
|
|
|
|
|
|
|
|
|
|
|
# advice: get dummy_policy from the somewhere in the repository, and compile it in.
|
|
|
|
#src_testsuite_test_stepforward_CPPFLAGS = \
|
|
|
|
# -I@top_srcdir@/src \
|
2006-06-21 11:09:50 +02:00
|
|
|
# -I@top_srcdir@/src/templates \
|
2006-03-09 12:37:09 +01:00
|
|
|
# $(GLIBMM_CFLAGS)
|
|
|
|
#src_testsuite_test_stepforward_LDFLAGS = \
|
|
|
|
# src/backend/libbackend.la \
|
2006-09-16 02:42:10 +02:00
|
|
|
# -Wl,-rpath -Wl,"$(pkglibdir)" \
|
2006-03-09 12:37:09 +01:00
|
|
|
# $(GLIBMM_LIBS)
|
|
|
|
#src_testsuite_test_stepforward_SOURCES = \
|
2006-07-02 02:52:01 +02:00
|
|
|
# src/testsuite/stubs/history.cc \
|
|
|
|
# src/testsuite/stubs/prrpolicy.cc \
|
|
|
|
# src/testsuite/stubs/policy_manager.cc \
|
|
|
|
# src/backend/scheduler.cc \
|
2006-03-09 12:37:09 +01:00
|
|
|
# src/testsuite/test-stepforward.cc
|
|
|
|
|
|
|
|
|
2006-03-06 00:06:48 +01:00
|
|
|
# Workaround an automake bug that leaves behind some files
|
|
|
|
# while it's finishing the distcheck target
|
2006-03-09 12:37:09 +01:00
|
|
|
CLEANFILES += \
|
2006-09-07 18:56:42 +02:00
|
|
|
src/testsuite/.libs/test-cairo_widget \
|
|
|
|
src/testsuite/.libs/test-history \
|
|
|
|
src/testsuite/.libs/test-holt_widget \
|
|
|
|
src/testsuite/.libs/test-key_file \
|
|
|
|
src/testsuite/.libs/test-simulation_widget
|
2006-09-15 23:31:31 +02:00
|
|
|
# disabled:
|
|
|
|
# src/testsuite/.libs/test-global_preferences_serialization
|
2006-03-09 22:02:43 +01:00
|
|
|
|
|
|
|
endif #~ if COND_TESTS
|
2006-04-07 21:57:58 +02:00
|
|
|
|
2006-08-18 01:30:49 +02:00
|
|
|
# ############################################################
|
|
|
|
#
|
|
|
|
# extra files to distribute
|
|
|
|
#
|
|
|
|
# ############################################################
|
|
|
|
|
|
|
|
noinst_DATA += \
|
|
|
|
src/testsuite/scheduling-wizards/wizard-deadlock-test \
|
|
|
|
src/testsuite/scheduling-wizards/wizard-gap-fail \
|
|
|
|
src/testsuite/scheduling-wizards/wizard-assert-fail \
|
|
|
|
src/testsuite/scheduling-wizards/wizard-unblock-test \
|
|
|
|
src/testsuite/scheduling-wizards/wizard-complex-test \
|
|
|
|
src/testsuite/scheduling-wizards/wizard-priority-inversion-porno \
|
2006-09-06 02:44:56 +02:00
|
|
|
src/testsuite/scheduling-wizards/wizard-priority-preemption-fail \
|
2006-09-12 11:01:53 +02:00
|
|
|
src/testsuite/scheduling-wizards/wizard-block-fail
|
|
|
|
|
|
|
|
examples_DATA = \
|
2006-09-13 13:59:44 +02:00
|
|
|
src/testsuite/scheduling-wizards/environments/Colori_rr_prio_1_2.xgp \
|
|
|
|
src/testsuite/scheduling-wizards/environments/DiscWorld_unblock.xgp \
|
2006-09-09 17:45:39 +02:00
|
|
|
src/testsuite/scheduling-wizards/environments/Ducks_rr_2.xgp \
|
2006-09-07 02:43:00 +02:00
|
|
|
src/testsuite/scheduling-wizards/environments/FruitsBasket_complex.xgp \
|
|
|
|
src/testsuite/scheduling-wizards/environments/Fantozzi_lifo_requests.xgp \
|
2006-09-16 10:10:06 +02:00
|
|
|
src/testsuite/scheduling-wizards/environments/Matteo_deadlock.xgp \
|
|
|
|
src/testsuite/scheduling-wizards/environments/Matteo_preemption_fail.xgp \
|
|
|
|
src/testsuite/scheduling-wizards/environments/Modernita_gap_terminated.xgp \
|
|
|
|
src/testsuite/scheduling-wizards/environments/MyAutoDeadlock.xgp \
|
2006-09-13 13:59:44 +02:00
|
|
|
src/testsuite/scheduling-wizards/environments/Pensieri_fcfs.xgp \
|
2006-09-16 10:10:06 +02:00
|
|
|
src/testsuite/scheduling-wizards/environments/Porno_priority_inversion.xgp \
|
2006-09-07 02:43:00 +02:00
|
|
|
src/testsuite/scheduling-wizards/environments/ScuolaDiMileto_block_fail.xgp \
|
|
|
|
src/testsuite/scheduling-wizards/environments/ScuolaDiMileto_gap_blocked.xgp \
|
|
|
|
src/testsuite/scheduling-wizards/environments/ScuolaDiMileto_assert_fail.xgp \
|
|
|
|
src/testsuite/scheduling-wizards/environments/ScuolaDiMileto_gap_fail.xgp \
|
2006-09-13 03:27:03 +02:00
|
|
|
src/testsuite/scheduling-wizards/environments/TheSecretOfMonkeyIsland.xgp
|
2006-09-07 21:12:19 +02:00
|
|
|
|
2006-09-12 11:01:53 +02:00
|
|
|
EXTRA_DIST += $(noinst_DATA) $(examples_DATA)
|
2006-09-07 21:12:19 +02:00
|
|
|
|