]> git.lyx.org Git - lyx.git/commitdiff
delete controllers dir
authorAndré Pönitz <poenitz@gmx.net>
Sun, 7 Oct 2007 21:38:06 +0000 (21:38 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Sun, 7 Oct 2007 21:38:06 +0000 (21:38 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20830 a592a061-630c-0410-9148-cb99ea01b6c8

configure.ac
development/misc/count_total_lines_of_compiled_code.sh
development/scons/scons_manifest.py
src/Makefile.am
src/frontends/Makefile.am
src/frontends/controllers/Makefile.am [deleted file]
src/frontends/controllers/pch.h [deleted file]
src/frontends/qt4/Makefile.am

index e010c8175dad6ef12f291a54d19436c84c2983e8..f082e225e0adf332c85cb88b714933c98c2c7531 100644 (file)
@@ -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
index 2d5bebbd892842593fb22a12fe00d982f13880d9..f772acff584795657c1be3f57d393512e32dff09 100755 (executable)
@@ -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"
index 40a2aa7787b85ec9d425df2e8580ba311f91ad37..da5637f0ff139dd8c6f4800645c4db3f39e76c47 100644 (file)
@@ -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
index c5a2d6b38e4beaad1fda1f7d5d952f0fdd36dd29..2a280a107baebfda9f021e95040e64d5d4b297b2 100644 (file)
@@ -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) \
index b18690c2435e915d79fe49ad5a7f97217f9f9061..9cacd469956c4f2a03771b8e796b32aee9836678 100644 (file)
@@ -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 (file)
index 4dd8e30..0000000
+++ /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 (file)
index e464dc0..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <config.h>
-
-#include <algorithm>
-#include <fstream>
-#include <iosfwd>
-#include <iostream>
-#include <istream>
-#include <iterator>
-#include <list>
-#include <map>
-#include <ostream>
-#include <sstream>
-#include <string>
-#include <utility>
-#include <vector>
index 8acf27ae8f8248df94ffb003b121f0a8d3dde2bc..5e1eda8f6a33ce13d14dfbd953bc634706c47d4b 100644 (file)
@@ -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 \