From: mrjohnson <mrj...@us...> - 2005-02-25 03:27:00
|
Update of /cvsroot/tora/tora In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26355 Added Files: AUTHORS ChangeLog Makefile.am acinclude.m4 aclocal.m4 autogen.sh configure.in ltmain.sh qtkde.m4 Log Message: what i have so far of an autotools build. doesn't fully detect everything yet. --- NEW FILE: qtkde.m4 --- ## -*- autoconf -*- dnl mrjohnson0: nicked this from a kdevelop-started package dnl it didn't work without KDE, so i fixed that. dnl then it didn't work on the mac, so i removed the libtool stuff. dnl This file is part of the KDE libraries/packages dnl Copyright (C) 1997 Janos Farkas (ch...@sh...) dnl (C) 1997,98,99 Stephan Kulow (co...@kd...) dnl This file is free software; you can redistribute it and/or dnl modify it under the terms of the GNU Library General Public dnl License as published by the Free Software Foundation; either dnl version 2 of the License, or (at your option) any later version. dnl This library is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU dnl Library General Public License for more details. [...5322 lines suppressed...] while true; do cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" mv "$tmp/sed.tmp" "$tmp/sed.in" cp "$tmp/sed.in" "$tmp/sed.nl" echo >>"$tmp/sed.nl" ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break # 10000 chars as input seems more than enough test $_count -gt 10 && break _count=`expr $_count + 1` if test $_count -gt $_max; then _max=$_count lt_cv_path_SED=$_sed fi done done rm -rf "$tmp" ]) AC_MSG_RESULT([$SED]) ]) --- NEW FILE: acinclude.m4 --- ## -*- autoconf -*- m4_include([qtkde.m4]) dnl mrj: set default prefix for tora AC_DEFUN(mrj_SET_PREFIX, [ AC_PREFIX_DEFAULT(/usr/local/tora) ]) #serial 3 dnl From Jim Meyering dnl Define HAVE_STRUCT_UTIMBUF if `struct utimbuf' is declared -- dnl usually in <utime.h>. dnl Some systems have utime.h but don't declare the struct anywhere. AC_DEFUN(jm_CHECK_TYPE_STRUCT_UTIMBUF, [ AC_CHECK_HEADERS(utime.h) AC_REQUIRE([AC_HEADER_TIME]) AC_CACHE_CHECK([for struct utimbuf], fu_cv_sys_struct_utimbuf, [AC_TRY_COMPILE( [ #ifdef TIME_WITH_SYS_TIME # include <sys/time.h> # include <time.h> #else # ifdef HAVE_SYS_TIME_H # include <sys/time.h> # else # include <time.h> # endif #endif #ifdef HAVE_UTIME_H # include <utime.h> #endif ], [static struct utimbuf x; x.actime = x.modtime;], fu_cv_sys_struct_utimbuf=yes, fu_cv_sys_struct_utimbuf=no) ]) if test $fu_cv_sys_struct_utimbuf = yes; then AC_DEFINE_UNQUOTED(HAVE_STRUCT_UTIMBUF, 1, [Define if struct utimbuf is declared -- usually in <utime.h>. Some systems have utime.h but don't declare the struct anywhere. ]) fi ]) dnl mrj dnl check if we have oracle then test it. otherwise, RESULT no. AC_DEFUN(MRJ_CHECK_ORACLE, [ AC_MSG_CHECKING([for oracle]) have_oracle=yes AC_ARG_WITH(oracle, [ --with-oracle=dir enable support for Oracle (default ORACLE_HOME)], [ if test $withval = no; then have_oracle=no elif test $withval != yes; then ORACLE_HOME=$withval fi ], ) if test $have_oracle = no || test "x$ORACLE_HOME" = "x"; then AC_MSG_WARN(ORACLE_HOME not set.) dnl yeah, this is backwards. AC_DEFINE(TO_NO_ORACLE, 1, [Define if you do *not* have Oracle.]) else AC_MSG_RESULT($ORACLE_HOME) AC_MSG_CHECKING([oci works]) cflags_ora_save=$CFLAGS ora_cflags="-I$ORACLE_HOME/rdbms/demo -I$ORACLE_HOME/plsql/public -I$ORACLE_HOME/rdbms/public -I$ORACLE_HOME/network/public" CFLAGS="$CFLAGS $ora_cflags" ldflags_ora_save=$LDFLAGS ora_ldflags="-L$ORACLE_HOME/lib -lclntsh" LDFLAGS="$LDFLAGS $ora_ldflags" # i pulled this from one of the examples in the demo dir. AC_RUN_IFELSE([[ #include <oci.h> Lda_Def lda; ub4 hda [HDA_SIZE/(sizeof(ub4))]; int main(int c, char **v) { return 0; } ]], [found_oracle=yes], [found_oracle=no], ) if test $found_oracle = no; then AC_MSG_ERROR([Couldn't compile and run a simpile OCI app. Try setting ORACLE_HOME or check config.log. Otherwise, make sure ORACLE_HOME/lib is in /etc/ld.so.conf or LD_LIBRARY_PATH]) fi sqlplus= if test -x "$ORACLE_HOME/bin/sqlplus"; then sqlplus="$ORACLE_HOME/bin/sqlplus" fi if test "x${sqlplus}" = "x"; then if test -x "$ORACLE_HOME/bin/sqlplusO"; then sqlplus="$ORACLE_HOME/bin/sqlplusO" fi fi if test "x${sqlplus}" = "x"; then AC_MSG_WARN([Couldn't find sqlplus. Set the Oracle version manually.]) else # get oracle oci version. know a better way? sqlplus_ver=`$sqlplus -? | $AWK '/Release/ {print @S|@3}'` if expr $sqlplus_ver \> 9 >/dev/null; then otl_ver=9I elif expr $sqlplus_ver \< 8.1 >/dev/null; then otl_ver=8 else otl_ver=8I fi ora_cflags="$ora_cflags -DOTL_ORA${otl_ver} -DOTL_ORA_TIMESTAMP -DOTL_ANSI_CPP" fi # don't change flags for all targets, just export ORA variables. CFLAGS=$cflags_ora_save AC_SUBST(ORACLE_CXXFLAGS, $ora_cflags) LDFLAGS=$ldflags_ora_save AC_SUBST(ORACLE_LDFLAGS, $ora_ldflags) # AM_CONDITIONAL in configure.in uses this variable to enable oracle # targets. enable_oracle=yes AC_MSG_RESULT(yes) fi ]) dnl http://autoconf-archive.cryp.to/ax_path_lib_pcre.html AC_DEFUN([AX_PATH_LIB_PCRE],[dnl AC_MSG_CHECKING([lib pcre]) AC_ARG_WITH(pcre, [ --with-pcre[[=prefix]] compile xmlpcre part (via libpcre check)],, with_pcre="yes") if test ".$with_pcre" = ".no" ; then AC_MSG_RESULT([disabled]) m4_ifval($2,$2) else AC_MSG_RESULT([(testing)]) AC_CHECK_LIB(pcre, pcre_study) if test "$ac_cv_lib_pcre_pcre_study" = "yes" ; then PCRE_LIBS="-lpcre" AC_MSG_CHECKING([lib pcre]) AC_MSG_RESULT([$PCRE_LIBS]) m4_ifval($1,$1) else OLDLDFLAGS="$LDFLAGS" ; LDFLAGS="$LDFLAGS -L$with_pcre/lib" OLDCPPFLAGS="$CPPFLAGS" ; CPPFLAGS="$CPPFLAGS -I$with_pcre/include" AC_CHECK_LIB(pcre, pcre_compile) CPPFLAGS="$OLDCPPFLAGS" LDFLAGS="$OLDLDFLAGS" if test "$ac_cv_lib_pcre_pcre_compile" = "yes" ; then AC_MSG_RESULT(.setting PCRE_LIBS -L$with_pcre/lib -lpcre) PCRE_LIBS="-L$with_pcre/lib -lpcre" test -d "$with_pcre/include" && PCRE_CFLAGS="-I$with_pcre/include" AC_MSG_CHECKING([lib pcre]) AC_MSG_RESULT([$PCRE_LIBS]) m4_ifval($1,$1) else AC_MSG_CHECKING([lib pcre]) AC_MSG_RESULT([no, (WARNING)]) m4_ifval($2,$2) fi fi fi AC_SUBST([PCRE_LIBS]) AC_SUBST([PCRE_CFLAGS]) ]) --- NEW FILE: AUTHORS --- Intrepid hackers. automake wants this file. --- NEW FILE: Makefile.am --- # require version or better AUTOMAKE_OPTIONS = 1.6.1 bin_PROGRAMS=tora tora_SOURCES=main.cpp aclocal.m4 \ toabout.cpp toabout.h \ toaboutui.cpp toaboutui.h \ tobackground.cpp tobackground.h \ toconnection.cpp toconnection.h \ todatabasesettingui.cpp todatabasesettingui.h \ toeditwidget.cpp toeditwidget.h \ toglobalsetting.cpp toglobalsetting.h \ toglobalsettingui.cpp toglobalsettingui.h \ tohelp.cpp tohelp.h \ tohelpaddfileui.cpp tohelpaddfileui.h \ tohelpsetupui.cpp tohelpsetupui.h \ tohelpbrowser.h \ tohighlightedtext.cpp tohighlightedtext.h \ tohtml.cpp tohtml.h \ tomain.cpp tomain.h \ tomarkedtext.cpp tomarkedtext.h \ tomemoeditor.cpp tomemoeditor.h \ tomessageui.cpp tomessageui.h \ tonewconnection.cpp tonewconnection.h \ tonewconnectionui.cpp tonewconnectionui.h \ tonoblockquery.cpp tonoblockquery.h \ toparamget.cpp toparamget.h \ topreferences.cpp topreferences.h \ topreferencesui.cpp topreferencesui.h \ toresult.cpp toresult.h \ toresultfield.cpp toresultfield.h \ toresultitem.cpp toresultitem.h \ toresultlistformatui.cpp toresultlistformatui.h \ toresultstats.cpp toresultstats.h \ toresultview.cpp toresultview.h \ tosearchreplace.cpp tosearchreplace.h \ tosearchreplaceui.cpp tosearchreplaceui.h \ tosmtp.cpp tosmtp.h \ tosql.cpp tosql.h \ tosqlparse.cpp tosqlparse.h \ tosyntaxsetup.cpp tosyntaxsetup.h \ tosyntaxsetupui.cpp tosyntaxsetupui.h \ totabwidget.cpp totabwidget.h \ totemplateprovider.cpp \ totextview.cpp totextview.h \ tothread.cpp tothread.h \ totool.cpp totool.h \ totoolsettingui.cpp totoolsettingui.h \ utils.cpp utils.h EXTRA_DIST = debian \ help \ icons \ otl \ qtlegacy \ rpm \ templates \ windows # this is a hack (but it *is* mentioned in the automake manual, of all # places). EXTRA_DIST includes all files, even things like CVS # folders. so we delete them here. but specifying all the files in # those subdirs would suck more because many of them are generated # (help api for one). dist-hook: rm -rf `find $(distdir) -name CVS` # mrj: this sorta sucks. there's a lot of generated source files... # the old build system distributed the .depends folder in the source # tarball, which is the old way of handling the dependencies. that's # not fully portable. using BUILT_SOURCES is the (relatively speaking) # new work around. this is mainly why i've required automake >= 1.6. # files listed in BUILT_SOURCES are built before anything else. BUILT_SOURCES = \ qtlegacy/qtmultilineedit.moc \ qtlegacy/qttableview.moc \ toabout.moc \ toaboutui.moc \ toalert.moc \ toanalyze.moc \ tobackup.moc \ tobarchart.moc \ tobrowser.moc \ tobrowserconstraint.moc \ tobrowserconstraintui.moc \ tobrowserfilterui.moc \ tobrowserindex.moc \ tobrowserindexui.moc \ tobrowsertable.moc \ tobrowsertableui.moc \ tochangeconnection.moc \ tochartalarmui.moc \ tochartmanager.moc \ tochartsetupui.moc \ tocurrent.moc \ todatabasesettingui.moc \ todatatype.moc \ todebug.moc \ todebugchangeui.moc \ todebugwatch.moc \ toeditextensiongotoui.moc \ toeditextensions.moc \ toeditextensionsetupui.moc \ tofilesize.moc \ toglobalsettingui.moc \ tohelp.moc \ tohelpbrowser.moc \ tohelpaddfileui.moc \ tohelpbrowser.moc \ tohelpsetupui.moc \ tohighlightedtext.moc \ toinvalid.moc \ tolegendchart.moc \ tolinechart.moc \ tolinechartsetupui.moc \ tomain.moc \ tomainwindow.kde.moc \ tomainwindow.moc \ tomarkedtext.2.moc \ tomarkedtext.3.moc \ tomarkedtext.moc \ tomemoeditor.moc \ tomessageui.moc \ tonewconnection.moc \ tonewconnectionui.moc \ tooraclesettingui.moc \ tooutput.moc \ toparamget.moc \ topiechart.moc \ topreferences.moc \ topreferencesui.moc \ toprofiler.moc \ toproject.moc \ toresult.moc \ toresultbar.moc \ toresultcols.moc \ toresultcombo.moc \ toresultconstraint.moc \ toresultcontent.moc \ toresultcontentfilterui.moc \ toresultdepend.moc \ toresultextract.moc \ toresultfield.moc \ toresultindexes.moc \ toresultitem.moc \ toresultlabel.moc \ toresultline.moc \ toresultlistformatui.moc \ toresultlock.moc \ toresultlong.moc \ toresultparam.moc \ toresultpie.moc \ toresultplan.moc \ toresultreferences.moc \ toresultstats.moc \ toresultstorage.moc \ toresultview.moc \ torollback.moc \ torollbackdialogui.moc \ toscript.moc \ toscriptui.moc \ tosearchreplace.moc \ tosearchreplaceui.moc \ tosecurity.moc \ tosecurityquotaui.moc \ tosecurityroleui.moc \ tosecurityuserui.moc \ tosession.moc \ tosgastatement.moc \ tosgatrace.moc \ tosmtp.moc \ tosqledit.moc \ tostorage.moc \ tostoragedatafileui.moc \ tostoragedefinitionui.moc \ tostoragedialogui.moc \ tostorageprefsui.moc \ tostoragetablespaceui.moc \ tosyntaxsetup.moc \ tosyntaxsetupui.moc \ totableselect.moc \ totabwidget.moc \ totemplate.moc \ totemplateaddfileui.moc \ totemplateeditui.moc \ totemplatesetupui.moc \ totemporary.moc \ totool.moc \ totoolsettingui.moc \ totuning.moc \ totuningoverviewui.moc \ totuningsettingui.moc \ tovisualize.moc \ towaitevents.moc \ toworksheet.moc \ toworksheetsetupui.moc \ toworksheetstatistic.moc \ utils.moc \ toaboutui.cpp \ tobrowserconstraintui.cpp \ tobrowserfilterui.cpp \ tobrowserindexui.cpp \ tobrowsertableui.cpp \ tochartalarmui.cpp \ tochartsetupui.cpp \ todatabasesettingui.cpp \ todebugchangeui.cpp \ todebugwatch.cpp \ toaboutui.h \ tobrowserconstraintui.h \ tobrowserfilterui.h \ tobrowserindexui.h \ tobrowsertableui.h \ tochartalarmui.h \ tochartsetupui.h \ todatabasesettingui.h \ todebugchangeui.h \ todebugwatch.h \ toeditextensiongotoui.h \ toeditextensionsetupui.h \ toglobalsettingui.h \ tohelpaddfileui.h \ tohelpsetupui.h \ tolinechartsetupui.h \ tomessageui.h \ tonewconnectionui.h \ tooraclesettingui.h \ topreferencesui.h \ toresultcontentfilterui.h \ toresultlistformatui.h \ torollbackdialogui.h \ toscriptui.h \ tosearchreplaceui.h \ tosecurityquotaui.h \ tosecurityroleui.h \ tosecurityuserui.h \ tostoragedatafileui.h \ tostoragedefinitionui.h \ tostoragedialogui.h \ tostorageprefsui.h \ tostoragetablespaceui.h \ tosyntaxsetupui.h \ totemplateaddfileui.h \ totemplateeditui.h \ totemplatesetupui.h \ totoolsettingui.h \ totuningoverviewui.h \ totuningsettingui.h \ toworksheetsetupui.h \ toaboutui.cpp \ tobrowserconstraintui.cpp \ tobrowserfilterui.cpp \ tobrowserindexui.cpp \ tobrowsertableui.cpp \ tochartalarmui.cpp \ tochartsetupui.cpp \ todatabasesettingui.cpp \ todebugchangeui.cpp \ todebugwatch.cpp \ toeditextensiongotoui.cpp \ toeditextensionsetupui.cpp \ toglobalsettingui.cpp \ tohelpaddfileui.cpp \ tohelpsetupui.cpp \ tolinechartsetupui.cpp \ tomessageui.cpp \ tonewconnectionui.cpp \ tooraclesettingui.cpp \ topreferencesui.cpp \ toresultcontentfilterui.cpp \ toresultlistformatui.cpp \ torollbackdialogui.cpp \ toscriptui.cpp \ tosearchreplaceui.cpp \ tosecurityquotaui.cpp \ tosecurityroleui.cpp \ tosecurityuserui.cpp \ tostoragedatafileui.cpp \ tostoragedefinitionui.cpp \ tostoragedialogui.cpp \ tostorageprefsui.cpp \ tostoragetablespaceui.cpp \ tosyntaxsetupui.cpp \ totemplateaddfileui.cpp \ totemplateeditui.cpp \ totemplatesetupui.cpp \ totoolsettingui.cpp \ totuningoverviewui.cpp \ totuningsettingui.cpp \ toworksheetsetupui.cpp # have_oracle conditional. these libraries are not built if oracle is # not present. if HAVE_ORACLE OPTLIB_ORA = tooracleconnection.la tooraclepreload.la else OPTlIB_ORA = endif # plugins lib_LTLIBRARIES = toalert.la \ toanalyze.la \ tobackup.la \ tobrowser.la \ tochart.la \ tocurrent.la \ todebug.la \ toeditextensions.la \ toextract.la \ toinvalid.la \ tooutput.la \ topassword.la \ toprofiler.la \ toproject.la \ toqsqlconnection.la \ toresult.la \ torollback.la \ toscript.la \ tosecurity.la \ tosession.la \ tosgatrace.la \ tosqledit.la \ tostorage.la \ tostoragedefinition.la \ totemplate.la \ totemporary.la \ totuning.la \ towidget.la \ toworksheet.la \ $(OPTLIB_ORA) METASOURCES = AUTO # these are for all targets. #LDADD = $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KFILE) $(LIBSOCKET) INCLUDES = @KDE_INCLUDES@ @QT_INCLUDES@ # these aren't autoconf'ed yet: CPPFLAGS = @PCRE_CFLAGS@ -DDEFAULT_PLUGIN_DIR=\"${exec_prefix}/lib\" LDFLAGS = @PCRE_LIBS@ \ @KDE_LDFLAGS@ \ @X_LDFLAGS@ \ @QT_LDFLAGS@ \ @LIB_KPARTS@ \ @LIB_KDEPRINT@ \ @LIB_KDECORE@ \ @LIB_KDEUI@ \ @LIB_KIO@ \ @LIB_KFILE@ \ @LIB_DCOP@ \ @LIB_KHTML@ \ -lstdc++ # just tora. must --export-dynamic on linux in order to dlopen(). tora_LDFLAGS = -Wl,-export-dynamic # uncomment the following if tora requires the math library #tora_LDADD=-lm #EXTRA_DIST=tora.lsm.in NAME.texinfo tora.spec.in PFLAGS = -module -shared -version-info 1:0:0 toalert_la_LDFLAGS = $(PFLAGS) toalert_la_SOURCES = toalert.cpp toalert.h toanalyze_la_LDFLAGS = $(PFLAGS) toanalyze_la_SOURCES = toanalyze.cpp toanalyze.h \ toworksheetstatistic.cpp toworksheetstatistic.h tobackup_la_LDFLAGS = $(PFLAGS) tobackup_la_SOURCES = tobackup.cpp tobackup.h tobrowser_la_LDFLAGS = $(PFLAGS) tobrowser_la_SOURCES = tobrowser.cpp tobrowser.h \ tobrowserconstraint.cpp tobrowserconstraint.h \ tobrowserconstraintui.cpp tobrowserconstraintui.h \ tobrowserfilterui.cpp tobrowserfilterui.h \ tobrowserindex.cpp tobrowserindex.h \ tobrowserindexui.cpp tobrowserindexui.h \ tobrowsertable.cpp tobrowsertable.h \ tobrowsertableui.cpp tobrowsertableui.h tochart_la_LDFLAGS = $(PFLAGS) tochart_la_SOURCES = tobarchart.cpp tobarchart.h \ tochartalarmui.cpp tochartalarmui.h \ tochartmanager.cpp tochartmanager.h \ tochartsetupui.cpp tochartsetupui.h \ tolegendchart.cpp tolegendchart.h \ tolinechart.cpp tolinechart.h \ tolinechartsetupui.cpp tolinechartsetupui.h \ topiechart.cpp topiechart.h \ toresultbar.cpp toresultbar.h \ toresultline.cpp toresultline.h \ toresultpie.cpp toresultpie.h tocurrent_la_LDFLAGS = $(PFLAGS) tocurrent_la_SOURCES = tocurrent.cpp tocurrent.h todebug_la_LDFLAGS = $(PFLAGS) todebug_la_SOURCES = todebug.cpp todebug.h \ todebugwatch.cpp todebugwatch.h \ todebugtext.cpp todebugtext.h \ todebugchangeui.cpp todebugchangeui.h toeditextensions_la_LDFLAGS = $(PFLAGS) toeditextensions_la_SOURCES = toeditextensions.cpp toeditextensions.h \ toeditextensiongotoui.cpp toeditextensiongotoui.h \ toeditextensionsetupui.cpp toeditextensionsetupui.h toextract_la_LDFLAGS = $(PFLAGS) toextract_la_SOURCES = todatatype.cpp todatatype.h \ toextract.cpp toextract.h \ toreport.cpp toreport.h \ toresultconstraint.cpp toresultconstraint.h \ toresultextract.cpp toresultextract.h toinvalid_la_LDFLAGS = $(PFLAGS) toinvalid_la_SOURCES = toinvalid.cpp toinvalid.h if HAVE_ORACLE tooracleconnection_la_CXXFLAGS = $(ORACLE_CXXFLAGS) tooracleconnection_la_LDFLAGS = $(PFLAGS) $(ORACLE_LDFLAGS) tooracleconnection_la_SOURCES = tooracleconnection.cpp \ tooracleextract.cpp \ tooraclesettingui.cpp tooraclesettingui.h tooraclepreload_la_CXXFLAGS = $(ORACLE_CXXFLAGS) tooraclepreload_la_LDFLAGS = $(PFLAGS) $(ORACLE_LDFLAGS) tooraclepreload_la_SOURCES = tooraclepreload.cpp endif tooutput_la_LDFLAGS = $(PFLAGS) tooutput_la_SOURCES = tooutput.cpp tooutput.h topassword_la_LDFLAGS = $(PFLAGS) topassword_la_SOURCES = topassword.cpp toprofiler_la_LDFLAGS = $(PFLAGS) toprofiler_la_SOURCES = toprofiler.cpp toprofiler.h toproject_la_LDFLAGS = $(PFLAGS) toproject_la_SOURCES = toproject.cpp toproject.h toqsqlconnection_la_LDFLAGS = $(PFLAGS) toqsqlconnection_la_SOURCES = toqsqlconnection.cpp toresult_la_LDFLAGS = $(PFLAGS) toresult_la_SOURCES = \ toresultcols.cpp toresultcols.h \ toresultcombo.cpp toresultcombo.h \ toresultcontent.cpp toresultcontent.h \ toresultcontentfilterui.cpp toresultcontentfilterui.h \ toresultdepend.cpp toresultdepend.h \ toresultindexes.cpp toresultindexes.h \ toresultlabel.cpp toresultlabel.h \ toresultlock.cpp toresultlock.h \ toresultlong.cpp toresultlong.h \ toresultplan.cpp toresultplan.h \ toresultparam.cpp toresultparam.h \ toresultreferences.cpp toresultreferences.h \ toresultstorage.cpp toresultstorage.h torollback_la_LDFLAGS = $(PFLAGS) torollback_la_SOURCES = torollback.cpp torollback.h \ torollbackdialogui.cpp torollbackdialogui.h toscript_la_LDFLAGS = $(PFLAGS) toscript_la_SOURCES = toscript.cpp toscript.h \ toscriptui.cpp toscriptui.h tosecurity_la_LDFLAGS = $(PFLAGS) tosecurity_la_SOURCES = tosecurity.cpp tosecurity.h \ tosecurityquotaui.cpp tosecurityquotaui.h \ tosecurityroleui.cpp tosecurityroleui.h \ tosecurityuserui.cpp tosecurityuserui.h tosession_la_LDFLAGS = $(PFLAGS) tosession_la_SOURCES = tosession.cpp tosession.h tosgatrace_la_LDFLAGS = $(PFLAGS) tosgatrace_la_SOURCES = tosgatrace.cpp tosgatrace.h tosqledit_la_LDFLAGS = $(PFLAGS) tosqledit_la_SOURCES = tosqledit.cpp tosqledit.h tostorage_la_LDFLAGS = $(PFLAGS) tostorage_la_SOURCES = tostorage.cpp tostorage.h \ tostoragedatafileui.cpp tostoragedatafileui.h \ tostoragedialogui.cpp tostoragedialogui.h \ tostorageprefsui.cpp tostorageprefsui.h \ tostoragetablespaceui.cpp tostoragetablespaceui.h tostoragedefinition_la_LDFLAGS = $(PFLAGS) tostoragedefinition_la_SOURCES = tostoragedefinition.cpp tostoragedefinition.h \ tostoragedefinitionui.cpp tostoragedefinitionui.h totemplate_la_LDFLAGS = $(PFLAGS) totemplate_la_SOURCES = totemplate.cpp totemplate.h \ totemplateaddfileui.cpp totemplateaddfileui.h \ totemplateeditui.cpp totemplateeditui.h \ totemplatesetupui.cpp totemplatesetupui.h totemporary_la_LDFLAGS = $(PFLAGS) totemporary_la_SOURCES = totemporary.cpp totemporary.h totuning_la_LDFLAGS = $(PFLAGS) totuning_la_SOURCES = totuning.cpp totuning.h \ totuningoverviewui.cpp totuningoverviewui.h \ totuningsettingui.cpp totuningsettingui.h towidget_la_LDFLAGS = $(PFLAGS) towidget_la_SOURCES = tochangeconnection.cpp tochangeconnection.h \ tofilesize.cpp tofilesize.h \ tosgastatement.cpp tosgastatement.h \ totableselect.cpp totableselect.h \ tovisualize.cpp tovisualize.h \ towaitevents.cpp towaitevents.h toworksheet_la_LDFLAGS = $(PFLAGS) toworksheet_la_SOURCES = toworksheet.cpp toworksheet.h \ toworksheetsetupui.cpp toworksheetsetupui.h %.cpp %.h: %.ui echo Generating $(<:%.ui=%.cpp) \& $(<:%.ui=%.h) @UIC@ -o $(<:%.ui=%.h) $< @UIC@ -i $(<:%.ui=%.h) -o $(<:%.ui=%.cpp) $< %.moc: %.h @MOC@ -o $@ $< clean: rm -f *.moc for file in `ls *.ui`; do \ rm -f `echo $$file | sed 's/\.ui/\.cpp/g'`; \ rm -f `echo $$file | sed 's/\.ui/\.h/g'`; \ done --- NEW FILE: configure.in --- dnl Process this file with autoconf to produce a configure script. AC_INIT(main.cpp) dnl Every other copy of the package version number gets its value from here AM_INIT_AUTOMAKE(tora, 1.3.14) dnl create a config.h file (Automake will add -DHAVE_CONFIG_H) AM_CONFIG_HEADER(config.h) mrj_SET_PREFIX AC_SUBST(VERSION) ISODATE=`date +%Y-%m-%d` AC_SUBST(ISODATE) AC_CANONICAL_HOST dnl Checks for programs. AC_PROG_INSTALL AC_PROG_CC AC_PROG_CXX # check for dlopen, must be called before AC_PROG_LIBTOOL AC_LIBTOOL_DLOPEN AC_PROG_LIBTOOL dnl Checks for libraries. dnl Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(unistd.h sys/param.h sys/time.h time.h sys/mkdev.h sys/sysmacros.h string.h memory.h fcntl.h dirent.h sys/ndir.h ndir.h alloca.h locale.h ) jm_CHECK_TYPE_STRUCT_UTIMBUF AC_HEADER_MAJOR AC_FUNC_ALLOCA AC_STRUCT_TM AC_STRUCT_ST_BLOCKS AC_FUNC_CLOSEDIR_VOID dnl for NLS support. Call them in this order! dnl WITH_NLS is for the po files dnl AM_KDE_WITH_NLS AC_PATH_QT_MOC_UIC AC_PATH_QT_1_3 AC_PATH_KDE MRJ_CHECK_ORACLE AX_PATH_LIB_PCRE dnl Makefile.am uses this AM_CONDITIONAL(HAVE_ORACLE, test "$enable_oracle" = yes) dnl Checks for library functions. AC_CONFIG_FILES([ Makefile ]) AC_OUTPUT --- NEW FILE: aclocal.m4 --- # aclocal.m4 generated automatically by aclocal 1.6.3 -*- Autoconf -*- # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. # This file 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. m4_include([qtkde.m4]) dnl mrj: set default prefix for tora AC_DEFUN(mrj_SET_PREFIX, [ [...6881 lines suppressed...] cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test $lt_ac_count -gt 10 && break lt_ac_count=`expr $lt_ac_count + 1` if test $lt_ac_count -gt $lt_ac_max; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done SED=$lt_cv_path_SED ]) AC_MSG_RESULT([$SED]) ]) --- NEW FILE: ChangeLog --- 2005-02-16 Henrik Johnson and others <someemail> * tora: automake wants this. --- NEW FILE: autogen.sh --- #!/bin/sh autoheader && aclocal-1.6 && libtoolize --automake && autoconf && automake-1.6 -a --- NEW FILE: ltmain.sh --- # ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <go...@gn...>, 1996 # # 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 [...6374 lines suppressed...] # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared build_libtool_libs=no build_old_libs=yes # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac` # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: |