From ef6dd558d24ac442cc38e8e7f926b5c311748a0e Mon Sep 17 00:00:00 2001 From: tchernobog Date: Sat, 21 Jan 2006 15:02:09 +0000 Subject: [PATCH] - Added separate directory for keeping builtin policies git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@181 3ecf2c5c-341e-0410-92b4-d18e462d057c --- configure.ac | 1 + src/Makefile.am | 5 +---- src/builtin-policies/Makefile.am | 30 ++++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 src/builtin-policies/Makefile.am diff --git a/configure.ac b/configure.ac index 7cff48a..5ee45c9 100644 --- a/configure.ac +++ b/configure.ac @@ -92,6 +92,7 @@ doc/Makefile m4/Makefile po/Makefile.in src/Makefile +src/builtin-policies/Makefile src/testsuite/Makefile ]) AC_OUTPUT diff --git a/src/Makefile.am b/src/Makefile.am index befd951..eec3a57 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -18,7 +18,7 @@ # along with SGPEMv2; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -SUBDIRS = testsuite +SUBDIRS = testsuite builtin-policies #additional rules: %_wrap.cc : %.i @@ -55,6 +55,3 @@ noinst_HEADERS = # main.hh ... # loadable python modules mod_PYTHON = # policy.py -# built-in policies -pyc_PYTHON = # fcfs.py rr.py rr-p.py ... - diff --git a/src/builtin-policies/Makefile.am b/src/builtin-policies/Makefile.am new file mode 100644 index 0000000..5798dbf --- /dev/null +++ b/src/builtin-policies/Makefile.am @@ -0,0 +1,30 @@ +# src/builtin-policies/Makefile.am - Copyright 2005, 2006, University +# 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 + +# Other directories +sharedir = @datadir@/sgpemv2 +pycdir = $(sharedir)/policies +moddir = $(sharedir)/modules + +# loadable python modules +mod_PYTHON = # policy.py + +# built-in policies +pyc_PYTHON = # fcfs.py rr.py rr-p.py ...