Conversion to the cmake building system. #2
Merged
SlavekB
merged 2 commits from feat/cmakeConv
into master
2 years ago
47 changed files with 31067 additions and 653 deletions
@ -0,0 +1,78 @@
|
||||
############################################ |
||||
# # |
||||
# Improvements and feedbacks are welcome # |
||||
# # |
||||
# This file is released under GPL >= 3 # |
||||
# # |
||||
############################################ |
||||
|
||||
|
||||
cmake_minimum_required( VERSION 2.8 ) |
||||
|
||||
|
||||
#### general package setup |
||||
|
||||
project( ksystemlog ) |
||||
set( VERSION R14.1.0 ) |
||||
|
||||
|
||||
#### include essential cmake modules |
||||
|
||||
include( FindPkgConfig ) |
||||
include( CheckFunctionExists ) |
||||
include( CheckSymbolExists ) |
||||
include( CheckIncludeFile ) |
||||
include( CheckLibraryExists ) |
||||
include( CheckCSourceCompiles ) |
||||
include( CheckCXXSourceCompiles ) |
||||
|
||||
|
||||
#### include our cmake modules |
||||
|
||||
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" ) |
||||
include( TDEMacros ) |
||||
|
||||
|
||||
##### setup install paths |
||||
|
||||
include( TDESetupPaths ) |
||||
tde_setup_paths( ) |
||||
|
||||
|
||||
##### optional stuff |
||||
|
||||
option( WITH_ALL_OPTIONS "Enable all optional support" OFF ) |
||||
option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} ) |
||||
|
||||
|
||||
##### user requested modules |
||||
|
||||
option( BUILD_ALL "Build all" ON ) |
||||
option( BUILD_DOC "Build documentation" ${BUILD_ALL} ) |
||||
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} ) |
||||
|
||||
|
||||
##### configure checks |
||||
|
||||
include( ConfigureChecks.cmake ) |
||||
|
||||
|
||||
###### global compiler settings |
||||
|
||||
add_definitions( -DHAVE_CONFIG_H ) |
||||
|
||||
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" ) |
||||
set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" ) |
||||
set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" ) |
||||
|
||||
|
||||
##### directories |
||||
|
||||
add_subdirectory( ${PROJECT_NAME} ) |
||||
tde_conditional_add_subdirectory( BUILD_DOC doc ) |
||||
tde_conditional_add_subdirectory( BUILD_TRANSLATIONS translations ) |
||||
|
||||
|
||||
##### write configure files |
||||
|
||||
configure_file( config.h.cmake config.h @ONLY ) |
@ -0,0 +1,28 @@
|
||||
################################################# |
||||
# |
||||
# (C) 2010 Serghei Amelian |
||||
# serghei (DOT) amelian (AT) gmail.com |
||||
# |
||||
# Improvements and feedback are welcome |
||||
# |
||||
# This file is released under GPL >= 2 |
||||
# |
||||
################################################# |
||||
|
||||
# required stuff |
||||
find_package( TQt ) |
||||
find_package( TDE ) |
||||
|
||||
tde_setup_architecture_flags( ) |
||||
|
||||
include(TestBigEndian) |
||||
test_big_endian(WORDS_BIGENDIAN) |
||||
|
||||
tde_setup_largefiles( ) |
||||
|
||||
|
||||
##### check for gcc visibility support |
||||
|
||||
if( WITH_GCC_VISIBILITY ) |
||||
tde_setup_gcc_visibility( ) |
||||
endif( WITH_GCC_VISIBILITY ) |
@ -0,0 +1,8 @@
|
||||
#define VERSION "@VERSION@" |
||||
|
||||
// Defined if you have fvisibility and fvisibility-inlines-hidden support. |
||||
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1 |
||||
|
||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most |
||||
significant byte first (like Motorola and SPARC, unlike Intel). */ |
||||
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@ |
@ -0,0 +1,34 @@
|
||||
file( GLOB _dirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * ) |
||||
list( REMOVE_ITEM _dirs html man ) |
||||
|
||||
string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" ) |
||||
|
||||
foreach( _dir IN LISTS _dirs ) |
||||
if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_dir} |
||||
AND ( "${_dir}" STREQUAL "en" OR |
||||
"${_linguas}" MATCHES "^;*$" OR |
||||
";${_linguas};" MATCHES ";${_dir};" )) |
||||
file( GLOB _doc_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/${_dir} ${_dir}/*.docbook ) |
||||
if( _doc_files ) |
||||
list( FIND _doc_files "index.docbook" _find_index ) |
||||
if( -1 EQUAL _find_index ) |
||||
set( _noindex "NOINDEX" ) |
||||
else() |
||||
unset( _noindex ) |
||||
endif() |
||||
tde_create_handbook( |
||||
SOURCE_BASEDIR ${_dir} |
||||
${_noindex} |
||||
LANG ${_dir} |
||||
DESTINATION ${PROJECT_NAME} |
||||
) |
||||
endif() |
||||
endif() |
||||
endforeach() |
||||
|
||||
if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/html/CMakeLists.txt ) |
||||
add_subdirectory( html ) |
||||
endif() |
||||
if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/man/CMakeLists.txt ) |
||||
add_subdirectory( man ) |
||||
endif() |
@ -0,0 +1,5 @@
|
||||
INSTALL( |
||||
FILES ${PROJECT_NAME}.1 |
||||
DESTINATION ${MAN_INSTALL_DIR}/man1 |
||||
COMPONENT doc |
||||
) |
@ -0,0 +1,67 @@
|
||||
'\" -*- coding: us-ascii -*- |
||||
.if \n(.g .ds T< \\FC |
||||
.if \n(.g .ds T> \\F[\n[.fam]] |
||||
.de URL |
||||
\\$2 \(la\\$1\(ra\\$3 |
||||
.. |
||||
.if \n(.g .mso www.tmac |
||||
.TH ksystemlog 1 2005-07-28 "" "" |
||||
.SH NAME |
||||
ksystemlog \- A System Log Viewer |
||||
.SH SYNOPSIS |
||||
'nh |
||||
.fi |
||||
.ad l |
||||
\fBksystemlog\fR \kx |
||||
.if (\nx>(\n(.l/2)) .nr x (\n(.l/5) |
||||
'in \n(.iu+\nxu |
||||
[ |
||||
\fB\fIQt-options\fB\fR |
||||
] [ |
||||
\fB\fITDE-options\fB\fR |
||||
] |
||||
'in \n(.iu-\nxu |
||||
.ad b |
||||
'hy |
||||
.SH DESCRIPTION |
||||
KSystemLog is an application to view system logs. |
||||
.SH OPTIONS |
||||
All TDE and Qt |
||||
programs accept a some common command-line options. KSystemLog has no |
||||
application-specific options. |
||||
.PP |
||||
.TP |
||||
\*(T<\fB\-\-help\fR\*(T> |
||||
Show help about options |
||||
.TP |
||||
\*(T<\fB\-\-help\-qt\fR\*(T> |
||||
Show Qt specific options |
||||
.TP |
||||
\*(T<\fB\-\-help\-tde\fR\*(T> |
||||
Show TDE specific options |
||||
.TP |
||||
\*(T<\fB\-\-help\-all\fR\*(T> |
||||
Show all options |
||||
.TP |
||||
\*(T<\fB\-\-author\fR\*(T> |
||||
Show author information |
||||
.TP |
||||
\*(T<\fB\-v\fR\*(T>, \*(T<\fB\-\-version\fR\*(T> |
||||
Show version information |
||||
.TP |
||||
\*(T<\fB\-\-license\fR\*(T> |
||||
Show license information |
||||
.TP |
||||
\*(T<\fB\-\-\fR\*(T> |
||||
Indicates end of options |
||||
.SH COPYRIGHT |
||||
This manual page was written by Jonathan Riddell |
||||
<\*(T<jriddell@ubuntu.com\*(T>> for the |
||||
Ubuntu system (but may be used by others). |
||||
Permission is granted to copy, distribute and/or modify this document |
||||
under the terms of the GNU General Public License, |
||||
Version 2 or any later version published by the Free Software Foundation. |
||||
.PP |
||||
On Debian systems, the complete text of the GNU General Public |
||||
License can be found in |
||||
\*(T<\fI/usr/share/common\-licenses/GPL\fR\*(T>. |
@ -1,589 +0,0 @@
|
||||
# Makefile.in generated by automake 1.7.9 from Makefile.am.
|
||||
# KDE tags expanded automatically by am_edit - $Revision: 1.7 $
|
||||
# ksystemlog/po/Makefile. Generated from Makefile.in by config.pl.
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
||||
# Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
|
||||
srcdir = .
|
||||
top_srcdir = ../..
|
||||
VPATH = .
|
||||
pkgdatadir = $(datadir)/ksystemlog
|
||||
pkglibdir = $(libdir)/ksystemlog
|
||||
pkgincludedir = $(includedir)/ksystemlog
|
||||
top_builddir = ../..
|
||||
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = /usr/bin/install -c -p
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = i686-pc-linux-gnu
|
||||
host_triplet = i686-pc-linux-gnu
|
||||
target_triplet = i686-pc-linux-gnu
|
||||
ACLOCAL = ${SHELL} /root/ksystemlog/ksystemlog-0.3.2/admin/missing --run aclocal-1.7
|
||||
AMDEP_FALSE = #
|
||||
AMDEP_TRUE =
|
||||
AMTAR = ${SHELL} /root/ksystemlog/ksystemlog-0.3.2/admin/missing --run tar
|
||||
AR = ar
|
||||
ARTSCCONFIG = ${prefix}/bin/artsc-config
|
||||
AUTOCONF = $(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure
|
||||
AUTODIRS =
|
||||
AUTOHEADER = ${SHELL} /root/ksystemlog/ksystemlog-0.3.2/admin/missing --run autoheader
|
||||
AUTOMAKE = ${SHELL} /root/ksystemlog/ksystemlog-0.3.2/admin/missing --run automake-1.7
|
||||
AWK = gawk
|
||||
CC = gcc
|
||||
CCDEPMODE = depmode=gcc3
|
||||
CFLAGS = -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_DEFAULT_SOURCE -O2 -Wformat-security -Wmissing-format-attribute
|
||||
CONF_FILES = $(top_srcdir)/./admin/configure.in.min $(top_srcdir)/configure.in.in
|
||||
CPP = gcc -E
|
||||
CPPFLAGS = -DTQT_THREAD_SUPPORT -D_REENTRANT
|
||||
CXX = g++
|
||||
CXXCPP = g++ -E
|
||||
CXXDEPMODE = depmode=gcc3
|
||||
CXXFLAGS = -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_DEFAULT_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
|
||||
CYGPATH_W = echo
|
||||
DCOPIDL = ${prefix}/bin/dcopidl
|
||||
DCOPIDL2CPP = ${prefix}/bin/dcopidl2cpp
|
||||
DCOPIDLNG = ${prefix}/bin/dcopidlng
|
||||
DCOP_DEPENDENCIES = $(DCOPIDL) $(DCOPIDLNG)
|
||||
DEFS = -DHAVE_CONFIG_H
|
||||
DEPDIR = .deps
|
||||
ECHO = echo
|
||||
ECHO_C =
|
||||
ECHO_N = -n
|
||||
ECHO_T =
|
||||
EGREP = grep -E
|
||||
EXEEXT =
|
||||
F77 =
|
||||
FFLAGS =
|
||||
FRAMEWORK_COREAUDIO =
|
||||
GMSGFMT = /usr/bin/msgfmt
|
||||
INSTALL_DATA = ${INSTALL} -m 644
|
||||
INSTALL_PROGRAM = ${INSTALL} $(INSTALL_STRIP_FLAG)
|
||||
INSTALL_SCRIPT = ${INSTALL}
|
||||
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
|
||||
KCFG_DEPENDENCIES = $(KCONFIG_COMPILER)
|
||||
KCONFIG_COMPILER = ${prefix}/bin/tdeconfig_compiler
|
||||
KDECONFIG = ${prefix}/bin/tde-config
|
||||
KDE_EXTRA_RPATH =
|
||||
KDE_INCLUDES = -I/usr/include/tde
|
||||
KDE_LDFLAGS = -L/usr/lib
|
||||
KDE_MT_LDFLAGS =
|
||||
KDE_MT_LIBS = -lpthread
|
||||
KDE_NO_UNDEFINED = -Wl,--no-undefined -Wl,--allow-shlib-undefined
|
||||
KDE_PLUGIN = -avoid-version -module -no-undefined $(KDE_NO_UNDEFINED) $(KDE_RPATH) $(KDE_MT_LDFLAGS)
|
||||
KDE_RPATH = -R $(kde_libraries) -R $(qt_libraries) -R $(x_libraries)
|
||||
KDE_USE_CLOSURE_FALSE =
|
||||
KDE_USE_CLOSURE_TRUE = #
|
||||
KDE_USE_FINAL_FALSE =
|
||||
KDE_USE_FINAL_TRUE = #
|
||||
KDE_USE_NMCHECK_FALSE =
|
||||
KDE_USE_NMCHECK_TRUE = #
|
||||
KDE_XSL_STYLESHEET = /usr/share/apps/ksgmltools2/customization/tde-chunk.xsl
|
||||
LDFLAGS =
|
||||
LIBCOMPAT =
|
||||
LIBCRYPT = -lcrypt
|
||||
LIBDL = -ldl
|
||||
LIBJPEG = -ljpeg
|
||||
LIBOBJS =
|
||||
LIBPNG = -lpng -lz -lm
|
||||
LIBPTHREAD = -lpthread
|
||||
LIBRESOLV = -lresolv
|
||||
LIBS =
|
||||
LIBSM = -lSM -lICE
|
||||
LIBSOCKET =
|
||||
LIBTOOL = $(SHELL) $(top_builddir)/libtool --silent
|
||||
LIBUCB =
|
||||
LIBUTIL = -lutil
|
||||
LIBZ = -lz
|
||||
LIB_KAB = -lkab
|
||||
LIB_TDEABC = -ltdeabc
|
||||
LIB_TDECORE = -ltdecore
|
||||
LIB_TDEPIM = -ltdepim
|
||||
LIB_TDEPRINT = -ltdeprint
|
||||
LIB_TDEUI = -ltdeui
|
||||
LIB_TDEFILE = -ltdeio
|
||||
LIB_KFM =
|
||||
LIB_TDEHTML = -ltdehtml
|
||||
LIB_TDEIO = -ltdeio
|
||||
LIB_TDEPARTS = -ltdeparts
|
||||
LIB_TDESPELL = -ltdespell
|
||||
LIB_TDESYCOCA = -ltdeio
|
||||
LIB_TDEUTILS = -ltdeutils
|
||||
LIB_POLL =
|
||||
LIB_QPE =
|
||||
LIB_TQT = -lqt-mt $(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM) -lpthread
|
||||
LIB_SMB = -lsmb
|
||||
LIB_X11 = -lX11 $(LIBSOCKET)
|
||||
LIB_XEXT = -lXext
|
||||
LIB_XRENDER =
|
||||
LN_S = ln -s
|
||||
LTLIBOBJS =
|
||||
MAKEINFO = ${SHELL} /root/ksystemlog/ksystemlog-0.3.2/admin/missing --run makeinfo
|
||||
MCOPIDL = ${prefix}/bin/mcopidl
|
||||
MEINPROC = ${prefix}/bin/meinproc
|
||||
MOC = /usr/share/qt3/bin/moc
|
||||
MSGFMT = /usr/bin/msgfmt
|
||||
NOOPT_CFLAGS = -O0
|
||||
NOOPT_CXXFLAGS = -O0
|
||||
OBJEXT = o
|
||||
PACKAGE = ksystemlog
|
||||
PACKAGE_BUGREPORT =
|
||||
PACKAGE_NAME =
|
||||
PACKAGE_STRING =
|
||||
PACKAGE_TARNAME =
|
||||
PACKAGE_VERSION =
|
||||
PATH_SEPARATOR = :
|
||||
PERL = /usr/bin/perl
|
||||
QTE_NORTTI =
|
||||
TQT_INCLUDES = -I/usr/share/qt3/include
|
||||
QT_LDFLAGS = -L/usr/share/qt3/lib
|
||||
RANLIB = ranlib
|
||||
SET_MAKE =
|
||||
SHELL = /bin/sh
|
||||
STRIP = strip
|
||||
TOPSUBDIRS = ksystemlog
|
||||
UIC = /usr/share/qt3/bin/uic -L $(kde_widgetdir) -nounload
|
||||
UIC_TR = tr2i18n
|
||||
USER_INCLUDES =
|
||||
USER_LDFLAGS =
|
||||
USE_EXCEPTIONS = -fexceptions
|
||||
USE_RTTI =
|
||||
USE_THREADS =
|
||||
VERSION = 0.1
|
||||
WOVERLOADED_VIRTUAL =
|
||||
XGETTEXT = /usr/bin/xgettext
|
||||
XMLLINT = /usr/bin/xmllint
|
||||
X_EXTRA_LIBS =
|
||||
X_INCLUDES = -I.
|
||||
X_LDFLAGS = -L/usr/lib
|
||||
X_PRE_LIBS =
|
||||
X_RPATH = -R $(x_libraries)
|
||||
ac_ct_AR = ar
|
||||
ac_ct_CC = gcc
|
||||
ac_ct_CXX = g++
|
||||
ac_ct_F77 =
|
||||
ac_ct_RANLIB = ranlib
|
||||
ac_ct_STRIP = strip
|
||||
all_includes = -I/usr/include/tde -I/usr/share/qt3/include -I.
|
||||
all_libraries = -L/usr/lib -L/usr/share/qt3/lib
|
||||
am__fastdepCC_FALSE = #
|
||||
am__fastdepCC_TRUE =
|
||||
am__fastdepCXX_FALSE = #
|
||||
am__fastdepCXX_TRUE =
|
||||
am__include = include
|
||||
am__leading_dot = .
|
||||
am__quote =
|
||||
bindir = ${exec_prefix}/bin
|
||||
build = i686-pc-linux-gnu
|
||||
build_alias =
|
||||
build_cpu = i686
|
||||
build_os = linux-gnu
|
||||
build_vendor = pc
|
||||
datadir = ${prefix}/share
|
||||
exec_prefix = ${prefix}
|
||||
host = i686-pc-linux-gnu
|
||||
host_alias =
|
||||
host_cpu = i686
|
||||
host_os = linux-gnu
|
||||
host_vendor = pc
|
||||
include_ARTS_FALSE = #
|
||||
include_ARTS_TRUE =
|
||||
includedir = ${prefix}/include
|
||||
infodir = ${prefix}/info
|
||||
install_sh = /root/ksystemlog/ksystemlog-0.3.2/admin/install-sh
|
||||
kde_appsdir = ${datadir}/applnk
|
||||
kde_bindir = ${exec_prefix}/bin
|
||||
kde_confdir = ${datadir}/config
|
||||
kde_datadir = ${datadir}/apps
|
||||
kde_htmldir = ${datadir}/doc/tde/HTML
|
||||
kde_icondir = ${datadir}/icons
|
||||
kde_includes = /usr/include/tde
|
||||
kde_kcfgdir = ${datadir}/config.kcfg
|
||||
kde_libraries = /usr/lib
|
||||
kde_libs_htmldir = /usr/share/doc/tde/HTML
|
||||
kde_libs_prefix = /usr
|
||||
kde_locale = ${datadir}/locale
|
||||
kde_mimedir = ${datadir}/mimelnk
|
||||
kde_moduledir = ${libdir}/trinity
|
||||
kde_qtver = 3
|
||||
kde_servicesdir = ${datadir}/services
|
||||
kde_servicetypesdir = ${datadir}/servicetypes
|
||||
kde_sounddir = ${datadir}/sounds
|
||||
kde_styledir = ${libdir}/trinity/plugins/styles
|
||||
kde_templatesdir = ${datadir}/templates
|
||||
kde_wallpaperdir = ${datadir}/wallpapers
|
||||
kde_widgetdir = /usr/lib/trinity/plugins/designer
|
||||
tdeinitdir = $(kde_moduledir)
|
||||
libdir = ${exec_prefix}/lib
|
||||
libexecdir = ${exec_prefix}/libexec
|
||||
localstatedir = ${prefix}/var
|
||||
mandir = ${prefix}/man
|
||||
oldincludedir = /usr/include
|
||||
prefix = /usr
|
||||
program_transform_name = s,x,x,
|
||||
tqt_includes = /usr/share/qt3/include
|
||||
qt_libraries = /usr/share/qt3/lib
|
||||
sbindir = ${exec_prefix}/sbin
|
||||
sharedstatedir = ${prefix}/com
|
||||
sysconfdir = ${prefix}/etc
|
||||
target = i686-pc-linux-gnu
|
||||
target_alias =
|
||||
target_cpu = i686
|
||||
target_os = linux-gnu
|
||||
target_vendor = pc
|
||||
x_includes = .
|
||||
x_libraries = /usr/lib
|
||||
xdg_appsdir = ${datadir}/applications/tde
|
||||
xdg_directorydir = ${datadir}/desktop-directories
|
||||
xdg_menudir = ${sysconfdir}/xdg/menus
|
||||
#>- POFILES = AUTO
|
||||
#>+ 2
|
||||
POFILES = br.po da.po de.po el.po et.po ga.po fr.po it.po pa.po pl.po rw.po sv.po tr.po en_GB.po
|
||||
GMOFILES = br.gmo da.gmo de.gmo el.gmo et.gmo ga.gmo fr.gmo it.gmo pa.gmo pl.gmo rw.gmo sv.gmo tr.gmo en_GB.gmo
|
||||
subdir = ksystemlog/po
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
DIST_SOURCES =
|
||||
DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
|
||||
#>- all: all-am
|
||||
#>+ 1
|
||||
all: all-nls docs-am all-am |
||||
|
||||
.SUFFIXES: |
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
||||
#>- cd $(top_srcdir) && \
|
||||
#>- $(AUTOMAKE) --gnu ksystemlog/po/Makefile
|
||||
#>+ 3
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu ksystemlog/po/Makefile
|
||||
cd $(top_srcdir) && perl admin/am_edit ksystemlog/po/Makefile.in
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
||||
|
||||
mostlyclean-libtool: |
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool: |
||||
-rm -rf .libs _libs
|
||||
|
||||
distclean-libtool: |
||||
-rm -f libtool
|
||||
uninstall-info-am: |
||||
tags: TAGS |
||||
TAGS: |
||||
|
||||
ctags: CTAGS |
||||
CTAGS: |
||||
|
||||
#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
#>+ 1
|
||||
#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
|
||||
#>+ 1
|
||||
DISTFILES = $(GMOFILES) $(POFILES) $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
|
||||
|
||||
top_distdir = ../..
|
||||
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
#>- distdir: $(DISTFILES)
|
||||
#>+ 1
|
||||
distdir: distdir-nls $(DISTFILES) |
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(DISTFILES)'; for file in $$list; do \
|
||||
case $$file in \
|
||||
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
||||
esac; \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
dir="/$$dir"; \
|
||||
$(mkinstalldirs) "$(distdir)$$dir"; \
|
||||
else \
|
||||
dir=''; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am |
||||
check: check-am |
||||
all-am: Makefile |
||||
|
||||
installdirs: |
||||
install: install-am |
||||
install-exec: install-exec-am |
||||
install-data: install-data-am |
||||
#>- uninstall: uninstall-am
|
||||
#>+ 1
|
||||
uninstall: uninstall-nls uninstall-am |
||||
|
||||
install-am: all-am |
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am |
||||
install-strip: |
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic: |
||||
|
||||
clean-generic: |
||||
|
||||
distclean-generic: |
||||
-rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic: |
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
#>- clean: clean-am
|
||||
#>+ 1
|
||||
clean: kde-rpo-clean clean-am |
||||
|
||||
#>- clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
#>+ 1
|
||||
clean-am: clean-bcheck clean-generic clean-libtool mostlyclean-am |
||||
|
||||
distclean: distclean-am |
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-libtool |
||||
|
||||
dvi: dvi-am |
||||
|
||||
dvi-am: |
||||
|
||||
info: info-am |
||||
|
||||
info-am: |
||||
|
||||
#>- install-data-am:
|
||||
#>+ 1
|
||||
install-data-am: install-nls |
||||
|
||||
install-exec-am: |
||||
|
||||
install-info: install-info-am |
||||
|
||||
install-man: |
||||
|
||||
installcheck-am: |
||||
|
||||
#>- maintainer-clean: maintainer-clean-am
|
||||
#>+ 1
|
||||
maintainer-clean: clean-nls maintainer-clean-am |
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic |
||||
|
||||
mostlyclean: mostlyclean-am |
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool |
||||
|
||||
pdf: pdf-am |
||||
|
||||
pdf-am: |
||||
|
||||
ps: ps-am |
||||
|
||||
ps-am: |
||||
|
||||
uninstall-am: uninstall-info-am |
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
||||
distclean distclean-generic distclean-libtool distdir dvi \
|
||||
dvi-am info info-am install install-am install-data \
|
||||
install-data-am install-exec install-exec-am install-info \
|
||||
install-info-am install-man install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
||||
mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
|
||||
uninstall-info-am
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT: |
||||
|
||||
#>+ 2
|
||||
KDE_DIST=rw.po Makefile.in da.po sv.po ksystemlog.pot pl.po de.po br.po et.po en_GB.po it.po fr.po ga.po el.po tr.po pa.po
|
||||
|
||||
#>+ 43
|
||||
br.gmo: br.po |
||||
rm -f br.gmo; $(GMSGFMT) -o br.gmo $(srcdir)/br.po
|
||||
test ! -f br.gmo || touch br.gmo
|
||||
da.gmo: da.po |
||||
rm -f da.gmo; $(GMSGFMT) -o da.gmo $(srcdir)/da.po
|
||||
test ! -f da.gmo || touch da.gmo
|
||||
de.gmo: de.po |
||||
rm -f de.gmo; $(GMSGFMT) -o de.gmo $(srcdir)/de.po
|
||||
test ! -f de.gmo || touch de.gmo
|
||||
el.gmo: el.po |
||||
rm -f el.gmo; $(GMSGFMT) -o el.gmo $(srcdir)/el.po
|
||||
test ! -f el.gmo || touch el.gmo
|
||||
et.gmo: et.po |
||||
rm -f et.gmo; $(GMSGFMT) -o et.gmo $(srcdir)/et.po
|
||||
test ! -f et.gmo || touch et.gmo
|
||||
ga.gmo: ga.po |
||||
rm -f ga.gmo; $(GMSGFMT) -o ga.gmo $(srcdir)/ga.po
|
||||
test ! -f ga.gmo || touch ga.gmo
|
||||
fr.gmo: fr.po |
||||
rm -f fr.gmo; $(GMSGFMT) -o fr.gmo $(srcdir)/fr.po
|
||||
test ! -f fr.gmo || touch fr.gmo
|
||||
it.gmo: it.po |
||||
rm -f it.gmo; $(GMSGFMT) -o it.gmo $(srcdir)/it.po
|
||||
test ! -f it.gmo || touch it.gmo
|
||||
pa.gmo: pa.po |
||||
rm -f pa.gmo; $(GMSGFMT) -o pa.gmo $(srcdir)/pa.po
|
||||
test ! -f pa.gmo || touch pa.gmo
|
||||
pl.gmo: pl.po |
||||
rm -f pl.gmo; $(GMSGFMT) -o pl.gmo $(srcdir)/pl.po
|
||||
test ! -f pl.gmo || touch pl.gmo
|
||||
rw.gmo: rw.po |
||||
rm -f rw.gmo; $(GMSGFMT) -o rw.gmo $(srcdir)/rw.po
|
||||
test ! -f rw.gmo || touch rw.gmo
|
||||
sv.gmo: sv.po |
||||
rm -f sv.gmo; $(GMSGFMT) -o sv.gmo $(srcdir)/sv.po
|
||||
test ! -f sv.gmo || touch sv.gmo
|
||||
tr.gmo: tr.po |
||||
rm -f tr.gmo; $(GMSGFMT) -o tr.gmo $(srcdir)/tr.po
|
||||
test ! -f tr.gmo || touch tr.gmo
|
||||
en_GB.gmo: en_GB.po |
||||
rm -f en_GB.gmo; $(GMSGFMT) -o en_GB.gmo $(srcdir)/en_GB.po
|
||||
test ! -f en_GB.gmo || touch en_GB.gmo
|
||||
|
||||
#>+ 3
|
||||
clean-nls: |
||||
-rm -f br.gmo da.gmo de.gmo el.gmo et.gmo ga.gmo fr.gmo it.gmo pa.gmo pl.gmo rw.gmo sv.gmo tr.gmo en_GB.gmo
|
||||
|
||||
#>+ 10
|
||||
install-nls: |
||||
@for base in br da de el et ga fr it pa pl rw sv tr en_GB ; do \
|
||||
echo $(INSTALL_DATA) $$base.gmo $(DESTDIR)$(kde_locale)/$$base/LC_MESSAGES/$(PACKAGE).mo ;\
|
||||
$(mkinstalldirs) $(DESTDIR)$(kde_locale)/$$base/LC_MESSAGES ; \
|
||||
if test -f $$base.gmo; then $(INSTALL_DATA) $$base.gmo $(DESTDIR)$(kde_locale)/$$base/LC_MESSAGES/$(PACKAGE).mo ;\
|
||||
elif test -f $(srcdir)/$$base.gmo; then $(INSTALL_DATA) $(srcdir)/$$base.gmo $(DESTDIR)$(kde_locale)/$$base/LC_MESSAGES/$(PACKAGE).mo ;\
|
||||
fi ;\
|
||||
done
|
||||
|
||||
|
||||
#>+ 16
|
||||
uninstall-nls: |
||||
rm -f $(DESTDIR)$(kde_locale)/br/LC_MESSAGES/$(PACKAGE).mo
|
||||
rm -f $(DESTDIR)$(kde_locale)/da/LC_MESSAGES/$(PACKAGE).mo
|
||||
rm -f $(DESTDIR)$(kde_locale)/de/LC_MESSAGES/$(PACKAGE).mo
|
||||
rm -f $(DESTDIR)$(kde_locale)/el/LC_MESSAGES/$(PACKAGE).mo
|
||||
rm -f $(DESTDIR)$(kde_locale)/et/LC_MESSAGES/$(PACKAGE).mo
|
||||
rm -f $(DESTDIR)$(kde_locale)/ga/LC_MESSAGES/$(PACKAGE).mo
|
||||
rm -f $(DESTDIR)$(kde_locale)/fr/LC_MESSAGES/$(PACKAGE).mo
|
||||
rm -f $(DESTDIR)$(kde_locale)/it/LC_MESSAGES/$(PACKAGE).mo
|
||||
rm -f $(DESTDIR)$(kde_locale)/pa/LC_MESSAGES/$(PACKAGE).mo
|
||||
rm -f $(DESTDIR)$(kde_locale)/pl/LC_MESSAGES/$(PACKAGE).mo
|
||||
rm -f $(DESTDIR)$(kde_locale)/rw/LC_MESSAGES/$(PACKAGE).mo
|
||||
rm -f $(DESTDIR)$(kde_locale)/sv/LC_MESSAGES/$(PACKAGE).mo
|
||||
rm -f $(DESTDIR)$(kde_locale)/tr/LC_MESSAGES/$(PACKAGE).mo
|
||||
rm -f $(DESTDIR)$(kde_locale)/en_GB/LC_MESSAGES/$(PACKAGE).mo
|
||||
|
||||
#>+ 2
|
||||
all-nls: $(GMOFILES) |
||||
|
||||
#>+ 8
|
||||
distdir-nls:$(GMOFILES) |
||||
for file in $(POFILES); do \
|
||||
cp $(srcdir)/$$file $(distdir); \
|
||||
done
|
||||
for file in $(GMOFILES); do \
|
||||
cp $(srcdir)/$$file $(distdir); \
|
||||
done
|
||||
|
||||
#>+ 4
|
||||
merge: |
||||
$(MAKE) -f $(top_srcdir)/admin/Makefile.common package-merge POFILES="${POFILES}" PACKAGE=${PACKAGE}
|
||||
|
||||
|
||||
#>+ 2
|
||||
docs-am: |
||||
|
||||
#>+ 6
|
||||
force-reedit: |
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu ksystemlog/po/Makefile
|
||||
cd $(top_srcdir) && perl admin/am_edit ksystemlog/po/Makefile.in
|
||||
|
||||
|
||||
#>+ 21
|
||||
clean-bcheck: |
||||
rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
|
||||
|
||||
bcheck: bcheck-am |
||||
|
||||
bcheck-am: |
||||
@for i in ; do \
|
||||
if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
|
||||
echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
|
||||
echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
|
||||
echo "$$i"; \
|
||||
if ! $(CXX) $(DEFS) -I. -I$(srcdir) -I$(top_builddir) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(KDE_CXXFLAGS) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
|
||||
rm -f $$i.bchecktest.cc; exit 1; \
|
||||
fi ; \
|
||||
echo "" >> $$i.bchecktest.cc.class; \
|
||||
perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
|
||||
rm -f a.out; \
|
||||
fi ; \
|
||||
done
|
||||
|
||||
|
||||
#>+ 3
|
||||
final: |
||||
$(MAKE) all-am
|
||||
|
||||
#>+ 3
|
||||
final-install: |
||||
$(MAKE) install-am
|
||||
|
||||
#>+ 3
|
||||
no-final: |
||||
$(MAKE) all-am
|
||||
|
||||
#>+ 3
|
||||
no-final-install: |
||||
$(MAKE) install-am
|
||||
|
||||
#>+ 3
|
||||
cvs-clean: |
||||
$(MAKE) admindir=$(top_srcdir)/admin -f $(top_srcdir)/admin/Makefile.common cvs-clean
|
||||
|
||||
#>+ 3
|
||||
kde-rpo-clean: |
||||
-rm -f *.rpo
|
||||
|
||||
#>+ 3
|
||||
nmcheck: |
||||
nmcheck-am: nmcheck |
@ -1,6 +1,3 @@
|
||||
##### create translation templates ############## |
||||
|
||||
tde_l10n_create_template( |
||||
CATALOG "ksystemlog" |
||||
DESTINATION "../po" |
||||
) |
||||
tde_l10n_create_template( "messages/ksystemlog" ) |
||||
|
@ -0,0 +1,101 @@
|
||||
add_subdirectory( bootauth ) |
||||
add_subdirectory( acpid ) |
||||
add_subdirectory( apache ) |
||||
add_subdirectory( cron ) |
||||
add_subdirectory( system ) |
||||
add_subdirectory( xorg ) |
||||
add_subdirectory( mail ) |
||||
add_subdirectory( kernel ) |
||||
add_subdirectory( cups ) |
||||
add_subdirectory( daemon ) |
||||
add_subdirectory( samba ) |
||||
add_subdirectory( config ) |
||||
|
||||
|
||||
include_directories( |
||||
${CMAKE_BINARY_DIR} |
||||
${CMAKE_CURRENT_BINARY_DIR} |
||||
${CMAKE_CURRENT_SOURCE_DIR} |
||||
${TDE_INCLUDE_DIR} |
||||
${TQT_INCLUDE_DIRS} |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src/acpid |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src/apache |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src/bootauth |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src/cron |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src/cups |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src/daemon |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src/kernel |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src/mail |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src/samba |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src/system |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src/xorg |
||||
${CMAKE_BINARY_DIR}/ksystemlog/src/config |
||||
) |
||||
|
||||
link_directories( |
||||
${TQT_LIBRARY_DIRS} |
||||
${TDE_LIB_DIR} |
||||
) |
||||
|
||||
|
||||
##### ksystemlog (executable) |
||||
|
||||
tde_add_executable( ksystemlog AUTOMOC |
||||
|
||||
SOURCES |
||||
detailDialogBase.ui loggerDialogBase.ui |
||||
ksystemlogiface.skel |
||||
detailDialog.cpp fileList.cpp |
||||
generalOptions.cpp globals.cpp |
||||
ksystemlog.cpp logFile.cpp |
||||
logLevel.cpp logLine.cpp |
||||
logLineList.cpp logListItem.cpp |
||||
logViewColumn.cpp main.cpp |
||||
options.cpp reader.cpp |
||||
specificFileList.cpp view.cpp |
||||
viewToolTip.cpp logManager.cpp |
||||
defaultReader.cpp logMode.cpp |
||||
childLogLine.cpp parentLogLine.cpp |
||||
logLineTree.cpp readerFactory.cpp |
||||
itemFactory.cpp logViewColumns.cpp |
||||
loadingDialog.cpp slotLogAction.cpp |
||||
parsingHelper.cpp logLineFilter.cpp |
||||
loggerDialog.cpp findManager.cpp |
||||
LINK |
||||
tdecore-shared |
||||
tdeui-shared |
||||
tdeio-shared |
||||
tdeprint-shared |
||||
tdeutils-shared |
||||
ksystemlog_config-static |
||||
ksystemlog_bootauth-static |
||||
ksystemlog_acpid-static |
||||
ksystemlog_apache-static |
||||
ksystemlog_cron-static |
||||
ksystemlog_system-static |
||||
ksystemlog_xorg-static |
||||
ksystemlog_mail-static |
||||
ksystemlog_kernel-static |
||||
ksystemlog_cups-static |
||||
ksystemlog_daemon-static |
||||
ksystemlog_samba-static |
||||
|
||||
DESTINATION ${BIN_INSTALL_DIR} |
||||
) |
||||
|
||||
|
||||
##### icons |
||||
|
||||
tde_install_icons( ) |
||||
|
||||
|
||||
##### other data |
||||
|
||||
install( |
||||
FILES ksystemlogui.rc |
||||
DESTINATION ${DATA_INSTALL_DIR}/ksystemlog |
||||
) |
||||
|
||||
|
||||
tde_create_translated_desktop( ${PROJECT_NAME}.desktop ) |
@ -0,0 +1,26 @@
|
||||
include_directories( |
||||
${CMAKE_BINARY_DIR} |
||||
${CMAKE_CURRENT_BINARY_DIR} |
||||
${CMAKE_CURRENT_SOURCE_DIR} |
||||
${TDE_INCLUDE_DIR} |
||||
${TQT_INCLUDE_DIRS} |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src |
||||
${CMAKE_BINARY_DIR}/ksystemlog/src/config |
||||
) |
||||
|
||||
link_directories( |
||||
${TQT_LIBRARY_DIRS} |
||||
${TDE_LIB_DIR} |
||||
) |
||||
|
||||
|
||||
##### ksystemlog_acpid (static) |
||||
|
||||
tde_add_library( ksystemlog_acpid STATIC_PIC AUTOMOC |
||||
|
||||
SOURCES |
||||
acpidOptions.cpp |
||||
acpidReader.cpp |
||||
|
||||
DEPENDENCIES ksystemlog_config-static |
||||
) |
@ -0,0 +1,27 @@
|
||||
include_directories( |
||||
${CMAKE_BINARY_DIR} |
||||
${CMAKE_CURRENT_BINARY_DIR} |
||||
${CMAKE_CURRENT_SOURCE_DIR} |
||||
${TDE_INCLUDE_DIR} |
||||
${TQT_INCLUDE_DIRS} |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src |
||||
${CMAKE_BINARY_DIR}/ksystemlog/src/config |
||||
) |
||||
|
||||
link_directories( |
||||
${TQT_LIBRARY_DIRS} |
||||
${TDE_LIB_DIR} |
||||
) |
||||
|
||||
|
||||
##### ksystemlog_apache (static) |
||||
|
||||
tde_add_library( ksystemlog_apache STATIC_PIC AUTOMOC |
||||
|
||||
SOURCES |
||||
apacheAccessReader.cpp |
||||
apacheOptions.cpp |
||||
apacheReader.cpp |
||||
|
||||
DEPENDENCIES ksystemlog_config-static |
||||
) |
@ -0,0 +1,25 @@
|
||||
include_directories( |
||||
${CMAKE_BINARY_DIR} |
||||
${CMAKE_CURRENT_BINARY_DIR} |
||||
${CMAKE_CURRENT_SOURCE_DIR} |
||||
${TDE_INCLUDE_DIR} |
||||
${TQT_INCLUDE_DIRS} |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src |
||||
${CMAKE_BINARY_DIR}/ksystemlog/src/config |
||||
) |
||||
|
||||
link_directories( |
||||
${TQT_LIBRARY_DIRS} |
||||
${TDE_LIB_DIR} |
||||
) |
||||
|
||||
|
||||
##### ksystemlog_bootauth (static) |
||||
|
||||
tde_add_library( ksystemlog_bootauth STATIC_PIC AUTOMOC |
||||
|
||||
SOURCES |
||||
bootAuthenticationOptions.cpp |
||||
|
||||
DEPENDENCIES ksystemlog_config-static |
||||
) |
@ -0,0 +1,30 @@
|
||||
include_directories( |
||||
${CMAKE_BINARY_DIR} |
||||
${CMAKE_CURRENT_BINARY_DIR} |
||||
${CMAKE_CURRENT_SOURCE_DIR} |
||||
${TDE_INCLUDE_DIR} |
||||
${TQT_INCLUDE_DIRS} |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src |
||||
) |
||||
|
||||
link_directories( |
||||
${TQT_LIBRARY_DIRS} |
||||
${TDE_LIB_DIR} |
||||
) |
||||
|
||||
|
||||
##### ksystemlog_config (static) |
||||
|
||||
tde_add_library( ksystemlog_config STATIC_PIC AUTOMOC |
||||
|
||||
SOURCES |
||||
ksystemlogConfig.kcfgc |
||||
) |
||||
|
||||
|
||||
##### other data |
||||
|
||||
install( |
||||
FILES ksystemlog.kcfg |
||||
DESTINATION ${KCFG_INSTALL_DIR} |
||||
) |
@ -1,20 +0,0 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Nicolas Ternisien * |
||||
* nicolas.ternisien@gmail.com * |
||||
* * |
||||
* This program is free software; you can redistribute it and/or modify * |
||||
* it under the terms of the GNU General Public License as published by * |
||||
* the Free Software Foundation; either version 2 of the License, or * |
||||
* (at your option) any later version. * |
||||
* * |
||||
* This program is distributed in the hope that it will be useful, * |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of * |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
||||
* GNU General Public License for more details. * |
||||
* * |
||||
* You should have received a copy of the GNU General Public License * |
||||
* along with this program; if not, write to the * |
||||
* Free Software Foundation, Inc., * |
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * |
||||
***************************************************************************/ |
||||
|
@ -0,0 +1,26 @@
|
||||
include_directories( |
||||
${CMAKE_BINARY_DIR} |
||||
${CMAKE_CURRENT_BINARY_DIR} |
||||
${CMAKE_CURRENT_SOURCE_DIR} |
||||
${TDE_INCLUDE_DIR} |
||||
${TQT_INCLUDE_DIRS} |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src |
||||
${CMAKE_BINARY_DIR}/ksystemlog/src/config |
||||
) |
||||
|
||||
link_directories( |
||||
${TQT_LIBRARY_DIRS} |
||||
${TDE_LIB_DIR} |
||||
) |
||||
|
||||
|
||||
##### ksystemlog_cron (static) |
||||
|
||||
tde_add_library( ksystemlog_cron STATIC_PIC AUTOMOC |
||||
|
||||
SOURCES |
||||
cronOptions.cpp |
||||
cronReader.cpp |
||||
|
||||
DEPENDENCIES ksystemlog_config-static |
||||
) |
@ -0,0 +1,27 @@
|
||||
include_directories( |
||||
${CMAKE_BINARY_DIR} |
||||
${CMAKE_CURRENT_BINARY_DIR} |
||||
${CMAKE_CURRENT_SOURCE_DIR} |
||||
${TDE_INCLUDE_DIR} |
||||
${TQT_INCLUDE_DIRS} |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src |
||||
${CMAKE_BINARY_DIR}/ksystemlog/src/config |
||||
) |
||||
|
||||
link_directories( |
||||
${TQT_LIBRARY_DIRS} |
||||
${TDE_LIB_DIR} |
||||
) |
||||
|
||||
|
||||
##### ksystemlog_cups (static) |
||||
|
||||
tde_add_library( ksystemlog_cups STATIC_PIC AUTOMOC |
||||
|
||||
SOURCES |
||||
cupsAccessReader.cpp |
||||
cupsOptions.cpp |
||||
cupsReader.cpp |
||||
|
||||
DEPENDENCIES ksystemlog_config-static |
||||
) |
@ -0,0 +1,25 @@
|
||||
include_directories( |
||||
${CMAKE_BINARY_DIR} |
||||
${CMAKE_CURRENT_BINARY_DIR} |
||||
${CMAKE_CURRENT_SOURCE_DIR} |
||||
${TDE_INCLUDE_DIR} |
||||
${TQT_INCLUDE_DIRS} |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src |
||||
${CMAKE_BINARY_DIR}/ksystemlog/src/config |
||||
) |
||||
|
||||
link_directories( |
||||
${TQT_LIBRARY_DIRS} |
||||
${TDE_LIB_DIR} |
||||
) |
||||
|
||||
|
||||
##### ksystemlog_daemon (static) |
||||
|
||||
tde_add_library( ksystemlog_daemon STATIC_PIC AUTOMOC |
||||
|
||||
SOURCES |
||||
daemonOptions.cpp |
||||
|
||||
DEPENDENCIES ksystemlog_config-static |
||||
) |
@ -0,0 +1,25 @@
|
||||
include_directories( |
||||
${CMAKE_BINARY_DIR} |
||||
${CMAKE_CURRENT_BINARY_DIR} |
||||
${CMAKE_CURRENT_SOURCE_DIR} |
||||
${TDE_INCLUDE_DIR} |
||||
${TQT_INCLUDE_DIRS} |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src |
||||
${CMAKE_BINARY_DIR}/ksystemlog/src/config |
||||
) |
||||
|
||||
link_directories( |
||||
${TQT_LIBRARY_DIRS} |
||||
${TDE_LIB_DIR} |
||||
) |
||||
|
||||
|
||||
##### ksystemlog_kernel (static) |
||||
|
||||
tde_add_library( ksystemlog_kernel STATIC_PIC AUTOMOC |
||||
|
||||
SOURCES |
||||
kernelOptions.cpp |
||||
|
||||
DEPENDENCIES ksystemlog_config-static |
||||
) |
@ -0,0 +1,25 @@
|
||||
include_directories( |
||||
${CMAKE_BINARY_DIR} |
||||
${CMAKE_CURRENT_BINARY_DIR} |
||||
${CMAKE_CURRENT_SOURCE_DIR} |
||||
${TDE_INCLUDE_DIR} |
||||
${TQT_INCLUDE_DIRS} |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src |
||||
${CMAKE_BINARY_DIR}/ksystemlog/src/config |
||||
) |
||||
|
||||
link_directories( |
||||
${TQT_LIBRARY_DIRS} |
||||
${TDE_LIB_DIR} |
||||
) |
||||
|
||||
|
||||
##### ksystemlog_mail (static) |
||||
|
||||
tde_add_library( ksystemlog_mail STATIC_PIC AUTOMOC |
||||
|
||||
SOURCES |
||||
mailOptions.cpp |
||||
|
||||
DEPENDENCIES ksystemlog_config-static |
||||
) |
@ -0,0 +1,26 @@
|
||||
include_directories( |
||||
${CMAKE_BINARY_DIR} |
||||
${CMAKE_CURRENT_BINARY_DIR} |
||||
${CMAKE_CURRENT_SOURCE_DIR} |
||||
${TDE_INCLUDE_DIR} |
||||
${TQT_INCLUDE_DIRS} |
||||
${CMAKE_SOURCE_DIR}/ksystemlog/src |
||||
${CMAKE_BINARY_DIR}/ksystemlog/src/config |
||||
) |
||||
|
||||
link_directories( |
||||
${TQT_LIBRARY_DIRS} |
||||
${TDE_LIB_DIR} |
||||
) |
||||
|
||||
|
||||
##### ksystemlog_samba (static) |
||||
|
||||
tde_add_library( ksystemlog_samba STATIC_PIC AUTOMOC |
||||
|
||||
SOURCES |
||||
sambaOptions.cpp |
||||
sambaReader.cpp |
||||
|
||||
DEPENDENCIES ksystemlog_config-static |
||||
) |