From 72344cfbe60485ed295cceb8464b92b08df3346b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Sun, 7 Oct 2007 21:38:06 +0000 Subject: [PATCH] delete controllers dir git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20830 a592a061-630c-0410-9148-cb99ea01b6c8 --- configure.ac | 9 ------ .../count_total_lines_of_compiled_code.sh | 1 + development/scons/scons_manifest.py | 12 ++++---- src/Makefile.am | 1 - src/frontends/Makefile.am | 10 ++----- src/frontends/controllers/Makefile.am | 30 ------------------- src/frontends/controllers/pch.h | 15 ---------- src/frontends/qt4/Makefile.am | 6 ++++ 8 files changed, 15 insertions(+), 69 deletions(-) delete mode 100644 src/frontends/controllers/Makefile.am delete mode 100644 src/frontends/controllers/pch.h diff --git a/configure.ac b/configure.ac index e010c8175d..f082e225e0 100644 --- a/configure.ac +++ b/configure.ac @@ -414,12 +414,6 @@ AC_ARG_ENABLE(monolithic-client, [enable_monolithic_client=no]) AM_CONDITIONAL(MONOLITHIC_CLIENT, test "$enable_monolithic_client" = "yes") -AC_ARG_ENABLE(monolithic-controllers, - AC_HELP_STRING([--enable-monolithic-controllers], - [Use monolithic controllers compilations]),, - [enable_monolithic_controllers=no]) -AM_CONDITIONAL(MONOLITHIC_CONTROLLERS, test "$enable_monolithic_controllers" = "yes") - AC_ARG_ENABLE(monolithic-insets, AC_HELP_STRING([--enable-monolithic-insets], [Use monolithic insets compilations]),, @@ -493,7 +487,6 @@ AC_CONFIG_FILES([Makefile src/tex2lyx/Makefile \ src/support/Makefile \ src/frontends/Makefile \ - src/frontends/controllers/Makefile \ src/frontends/qt4/Makefile ]) @@ -511,7 +504,6 @@ if test x$with_qmake = xyes ; then rm src/tex2lyx/Makefile rm src/support/Makefile rm src/frontends/Makefile - rm src/frontends/controllers/Makefile rm src/frontends/qt4/Makefile rm -rf boost/.deps rm -rf src/client/.deps @@ -519,7 +511,6 @@ if test x$with_qmake = xyes ; then rm -rf src/tex2lyx/.deps rm -rf src/support/.deps rm -rf src/frontends/.deps - rm -rf src/frontends/controllers/.deps rm -rf src/frontends/qt4/.deps ${srcdir}/development/qmake/doit fi diff --git a/development/misc/count_total_lines_of_compiled_code.sh b/development/misc/count_total_lines_of_compiled_code.sh index 2d5bebbd89..f772acff58 100755 --- a/development/misc/count_total_lines_of_compiled_code.sh +++ b/development/misc/count_total_lines_of_compiled_code.sh @@ -13,6 +13,7 @@ inc="$inc -I../../src/frontends/controllers" inc="$inc -I../../src/frontends/qt4" s=0 +#for i in `find ../../src/frontends/controllers -name *.cpp` ; do for i in `find ../.. -name *.cpp` ; do #echo $i #echo "g++ $inc -DQT_NO_STL -E $i" diff --git a/development/scons/scons_manifest.py b/development/scons/scons_manifest.py index 40a2aa7787..da5637f0ff 100644 --- a/development/scons/scons_manifest.py +++ b/development/scons/scons_manifest.py @@ -713,16 +713,10 @@ src_frontends_extra_files = Split(''' src_frontends_controllers_header_files = Split(''' - ButtonPolicy.h - Dialog.h - frontend_helpers.h ''') src_frontends_controllers_files = Split(''' - ButtonPolicy.cpp - Dialog.cpp - frontend_helpers.cpp ''') @@ -747,6 +741,9 @@ src_frontends_controllers_tests_regfiles_extra_files = Split(''' src_frontends_qt4_header_files = Split(''' + ../ButtonPolicy.h + ../Dialog.h + ../frontend_helpers.h Action.h BulletsModule.h ButtonController.h @@ -834,6 +831,9 @@ src_frontends_qt4_header_files = Split(''' src_frontends_qt4_files = Split(''' + ../ButtonPolicy.cpp + ../Dialog.cpp + ../frontend_helpers.cpp Action.cpp BulletsModule.cpp ButtonController.cpp diff --git a/src/Makefile.am b/src/Makefile.am index c5a2d6b38e..2a280a107b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -29,7 +29,6 @@ lyx_LDADD = \ liblyxinsets.la \ frontends/liblyxfrontends.la \ frontends/qt4/liblyxqt4.la \ - frontends/controllers/liblyxcontrollers.la \ liblyxgraphics.la \ support/liblyxsupport.la \ $(OTHERLIBS) \ diff --git a/src/frontends/Makefile.am b/src/frontends/Makefile.am index b18690c243..9cacd46995 100644 --- a/src/frontends/Makefile.am +++ b/src/frontends/Makefile.am @@ -1,8 +1,8 @@ include $(top_srcdir)/config/common.am -SUBDIRS = $(FRONTENDS_SUBDIRS) +SUBDIRS = $(FRONTENDS_SUBDIRS) . -DIST_SUBDIRS = qt4 +DIST_SUBDIRS = qt4 . EXTRA_DIST = pch.h @@ -13,12 +13,6 @@ noinst_LTLIBRARIES = liblyxfrontends.la AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES) liblyxfrontends_la_SOURCES = \ - ButtonPolicy.cpp \ - ButtonPolicy.h \ - Dialog.cpp \ - Dialog.h \ - frontend_helpers.cpp \ - frontend_helpers.h \ alert.cpp \ alert.h \ Alert_pimpl.h \ diff --git a/src/frontends/controllers/Makefile.am b/src/frontends/controllers/Makefile.am deleted file mode 100644 index 4dd8e30f53..0000000000 --- a/src/frontends/controllers/Makefile.am +++ /dev/null @@ -1,30 +0,0 @@ -include $(top_srcdir)/config/common.am - -AM_CPPFLAGS += -I$(top_srcdir)/src $(BOOST_INCLUDES) -I$(top_srcdir)/src/frontends - -EXTRA_DIST = tests/regfiles/biblio - -noinst_LTLIBRARIES = liblyxcontrollers.la - -SOURCEFILES = - -HEADERFILES = - -if MONOLITHIC_CONTROLLERS - -lyxcontrollers.cpp: - @echo -e '$(SOURCEFILES:%=\n#include "%")\n' > $@ - -BUILT_SOURCES = lyxcontrollers.cpp - -liblyxcontrollers_la_SOURCES = lyxcontrollers.cpp $(HEADERFILES) - -else - -EXTRA_DIST += pch.h -BUILT_SOURCES = $(PCH_FILE) -AM_CPPFLAGS += $(PCH_FLAGS) - -liblyxcontrollers_la_SOURCES = $(SOURCEFILES) $(HEADERFILES) - -endif diff --git a/src/frontends/controllers/pch.h b/src/frontends/controllers/pch.h deleted file mode 100644 index e464dc096e..0000000000 --- a/src/frontends/controllers/pch.h +++ /dev/null @@ -1,15 +0,0 @@ -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include diff --git a/src/frontends/qt4/Makefile.am b/src/frontends/qt4/Makefile.am index 8acf27ae8f..5e1eda8f6a 100644 --- a/src/frontends/qt4/Makefile.am +++ b/src/frontends/qt4/Makefile.am @@ -46,6 +46,12 @@ AM_CPPFLAGS += \ -I$(top_srcdir)/src/frontends/controllers SOURCEFILES = \ + ../ButtonPolicy.cpp \ + ../ButtonPolicy.h \ + ../Dialog.cpp \ + ../Dialog.h \ + ../frontend_helpers.cpp \ + ../frontend_helpers.h \ Resources.cpp \ Action.cpp \ alert_pimpl.cpp \ -- 2.39.5