-
-#
-# src/mathed
-#
-mathed = env.StaticLibrary(
- target = '$LOCALLIBPATH/mathed',
- source = ['$BUILDDIR/src/mathed/%s' % x for x in src_mathed_files]
-)
-Alias('mathed', mathed)
-
-
-#
-# src/insets
-#
-insets = env.StaticLibrary(
- target = '$LOCALLIBPATH/insets',
- source = ['$BUILDDIR/src/insets/%s' % x for x in src_insets_files]
-)
-Alias('insets', insets)
-
-
-#
-# src/frontends
-#
-frontends = env.StaticLibrary(
- target = '$LOCALLIBPATH/frontends',
- source = ['$BUILDDIR/src/frontends/%s' % x for x in src_frontends_files]
-)
-Alias('frontends', frontends)
-
-
-#
-# src/graphics
-#
-graphics = env.StaticLibrary(
- target = '$LOCALLIBPATH/graphics',
- source = ['$BUILDDIR/src/graphics/%s' % x for x in src_graphics_files]
-)
-Alias('graphics', graphics)
-
-
-#
-# src/frontend/qt4
-#
-# tells scons how to get these moced files, although not all moced files are needed
-# (or are actually generated).
-qt4_moced_files = [frontend_env.Moc4('$BUILDDIR/src/frontends/qt4/%s' % x)
- for x in src_frontends_qt4_header_files ]
-ui_files = [frontend_env.Uic4('$BUILDDIR/src/frontends/qt4/ui/%s' % x.split('.')[0])
- for x in src_frontends_qt4_ui_files]
-resource = frontend_env.Qrc(frontend_env.qtResource(
- '$BUILDDIR/src/frontends/qt4/Resource.qrc',
- ['$TOP_SRCDIR/lib/images/%s' % x for x in lib_images_files] +
- ['$TOP_SRCDIR/lib/images/math/%s' % x for x in lib_images_math_files] +
- ['$TOP_SRCDIR/lib/images/commands/%s' % x for x in lib_images_commands_files]))
-#
-# moc qt4_moc_files, the moced files are included in the original files
-#
-qt4 = frontend_env.StaticLibrary(
- target = '$LOCALLIBPATH/qt4',
- source = ['$BUILDDIR/src/frontends/qt4/%s' % x for x in src_frontends_qt4_files] + resource,
- CPPPATH = [
- '$CPPPATH',
- '$BUILDDIR/src',
- '$BUILDDIR/src/images',
- '$BUILDDIR/src/frontends',
- '$BUILDDIR/src/frontends/qt4',
- '$BUILDDIR/src/frontends/qt4/ui',
- ],
- CCFLAGS = [
- '$CCFLAGS',
- '-DHAVE_CONFIG_H',
- '-DQT_NO_STL',
- '-DQT_NO_KEYWORDS',
- ]
-)
-Alias('qt4', qt4)
-
-
-#
-# src/client