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