- Reorder pyloader plugin a little so that sources go in a separate

directory


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@605 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-06-03 23:24:59 +00:00
parent da39407173
commit fbe718b69a
17 changed files with 27 additions and 27 deletions

View File

@ -89,18 +89,18 @@ libpyloader_la_LDFLAGS = \
# Please keep this in sorted order: # Please keep this in sorted order:
libpyloader_la_SOURCES = \ libpyloader_la_SOURCES = \
python_policy.cc \ src/python_policy.cc \
python_policy_manager.cc \ src/python_policy_manager.cc \
hook.cc src/hook.cc
noinst_HEADERS += \ noinst_HEADERS += \
python_policy.hh \ src/python_policy.hh \
python_policy_manager.hh src/python_policy_manager.hh
share_PYTHON = \ share_PYTHON = \
Abstract.py \ src/Abstract.py \
Policy.py \ src/Policy.py \
ScriptAdapter.py src/ScriptAdapter.py
# ############################################################ # ############################################################
# #
@ -108,18 +108,18 @@ share_PYTHON = \
# #
# ############################################################ # ############################################################
proxies = sgpem.py proxies = src/sgpem.py
wrappers = sgpem_wrap.cc wrappers = src/sgpem_wrap.cc
share_LTLIBRARIES = _sgpem.la share_LTLIBRARIES = _sgpem.la
share_PYTHON += $(proxies) share_PYTHON += $(proxies)
# static pattern rule # static pattern rule
$(proxies) $(wrappers) : sgpem.i $(proxies) $(wrappers) : src/sgpem.i
test -d "$(@D)" || mkdir -p -- "$(@D)" test -d "$(@D)" || mkdir -p -- "$(@D)"
$(SWIG) $(SWIG_PYTHON_OPT) -o $@ $< $(SWIG) $(SWIG_PYTHON_OPT) -o $@ $<
_sgpem_la_INTERFACES = sgpem.i _sgpem_la_INTERFACES = src/sgpem.i
_sgpem_la_CPPFLAGS = \ _sgpem_la_CPPFLAGS = \
-I@top_srcdir@ \ -I@top_srcdir@ \
@ -143,8 +143,8 @@ MOSTLYCLEANFILES += $(proxies) $(wrappers)
# built-in policies # built-in policies
policies_PYTHON = \ policies_PYTHON = \
builtin-policies/fcfs.py \ src/builtin-policies/fcfs.py \
builtin-policies/sjf.py src/builtin-policies/sjf.py
# ############################################################ # ############################################################
@ -158,39 +158,39 @@ if COND_TESTS
# DEJATOOL = src/testsuite/example-test.exp # DEJATOOL = src/testsuite/example-test.exp
noinst_PROGRAMS = \ noinst_PROGRAMS = \
testsuite/test-pyloader src/testsuite/test-pyloader
testsuite_test_pyloader_CPPFLAGS = \ src_testsuite_test_pyloader_CPPFLAGS = \
-I@top_srcdir@ \ -I@top_srcdir@ \
-DSHAREDIR="\"$(sharedir)\"" \ -DSHAREDIR="\"$(sharedir)\"" \
$(PYTHON_CPPFLAGS) \ $(PYTHON_CPPFLAGS) \
$(GLIBMM_CFLAGS) \ $(GLIBMM_CFLAGS) \
$(GTHREAD_CFLAGS) \ $(GTHREAD_CFLAGS) \
$(SGPEMV2_CFLAGS) $(SGPEMV2_CFLAGS)
testsuite_test_pyloader_DEPENDENCIES = \ src_testsuite_test_pyloader_DEPENDENCIES = \
libpyloader.la libpyloader.la
testsuite_test_pyloader_LDFLAGS = \ src_testsuite_test_pyloader_LDFLAGS = \
$(SGPEMV2_LIBS) \ $(SGPEMV2_LIBS) \
$(GLIBMM_LIBS) \ $(GLIBMM_LIBS) \
$(GTHREAD_LIBS) \ $(GTHREAD_LIBS) \
$(PYTHON_LDFLAGS) \ $(PYTHON_LDFLAGS) \
$(PYTHON_EXTRA_LIBS) \ $(PYTHON_EXTRA_LIBS) \
$(PYTHON_EXTRA_LDFLAGS) $(PYTHON_EXTRA_LDFLAGS)
testsuite_test_pyloader_SOURCES = \ src_testsuite_test_pyloader_SOURCES = \
testsuite/test-python_loader.cc \ src/testsuite/test-python_loader.cc \
python_policy.cc \ src/python_policy.cc \
python_policy_manager.cc src/python_policy_manager.cc
noinst_PYTHON += testsuite/python_loader_configure.py \ noinst_PYTHON += src/testsuite/python_loader_configure.py \
testsuite/python_loader_sort_queue.py \ src/testsuite/python_loader_sort_queue.py \
testsuite/python_loader_is_preemptive.py \ src/testsuite/python_loader_is_preemptive.py \
testsuite/python_loader_get_time_slice.py src/testsuite/python_loader_get_time_slice.py
# Workaround an automake bug that leaves behind some files # Workaround an automake bug that leaves behind some files
# while it's finishing the distcheck target # while it's finishing the distcheck target
CLEANFILES += \ CLEANFILES += \
testsuite/.libs/test-pyloader src/testsuite/.libs/test-pyloader
endif #~ if COND_TESTS endif #~ if COND_TESTS