diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-09 09:27:57 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-22 13:31:04 +0900 |
| commit | 189026316e42f7499f9ef45556b1ebaf31acd36e (patch) | |
| tree | 8742cafbeb7b366ff54fe1fc6c9f44951911e593 /src | |
| parent | 99e16012c2ddbfa877a77c2176e15c3fea5643e6 (diff) | |
| download | krecipes-189026316e42f7499f9ef45556b1ebaf31acd36e.tar.gz krecipes-189026316e42f7499f9ef45556b1ebaf31acd36e.zip | |
Drop support for automake builds
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile.am | 61 | ||||
| -rw-r--r-- | src/backends/Makefile.am | 42 | ||||
| -rw-r--r-- | src/backends/MySQL/Makefile.am | 18 | ||||
| -rw-r--r-- | src/backends/PostgreSQL/Makefile.am | 17 | ||||
| -rw-r--r-- | src/backends/SQLite/Makefile.am | 15 | ||||
| -rw-r--r-- | src/configure.in.bot | 57 | ||||
| -rw-r--r-- | src/configure.in.in | 72 | ||||
| -rw-r--r-- | src/datablocks/Makefile.am | 20 | ||||
| -rw-r--r-- | src/dialogs/Makefile.am | 38 | ||||
| -rw-r--r-- | src/exporters/Makefile.am | 13 | ||||
| -rw-r--r-- | src/importers/Makefile.am | 15 | ||||
| -rw-r--r-- | src/tests/Makefile.am | 19 | ||||
| -rw-r--r-- | src/tests/mx2test.txt | 0 | ||||
| -rw-r--r-- | src/widgets/Makefile.am | 28 |
14 files changed, 0 insertions, 415 deletions
diff --git a/src/Makefile.am b/src/Makefile.am deleted file mode 100644 index 75fcead..0000000 --- a/src/Makefile.am +++ /dev/null @@ -1,61 +0,0 @@ -## Makefile.am for krecipes - -# this is the program that gets installed. it's name is used for all -# of the other Makefile.am variables -bin_PROGRAMS = krecipes - -SUBDIRS = backends importers widgets dialogs exporters datablocks tests - -# set the include path for X, tqt and TDE -INCLUDES = -I$(srcdir) -I$(srcdir)/backends -I$(srcdir)/backends/SQLite $(all_includes) - -# the library search path. -krecipes_LDFLAGS = $(KDE_RPATH) $(LIB_TDEPARTS) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEIO) -ltdefx -lDCOP $(LIB_TQT) $(all_libraries) - - -# Check for optional libs -if link_lib_SQLITE -qsqlite_libadds = backends/SQLite/libkrecsqlite.la $(SQLITE_LIB3) -endif - -if link_lib_MYSQL -mysql_libadds =backends/MySQL/libkrecmysql.la -endif - -if link_lib_POSTGRESQL -psql_libadds =backends/PostgreSQL/libkrecpsql.la -endif - -# the shared libraries to link against. -krecipes_LDADD = \ - backends/libkrecipesdbs.la exporters/libkrecipesexporters.la \ - importers/libkrecipesimporters.la widgets/libkrecipeswidgets.la dialogs/libkrecipesdialogs.la \ - widgets/libkrecipeswidgets.la datablocks/libdatablocks.la \ - $(qsqlite_libadds) $(mysql_libadds) $(psql_libadds) $(LIB_TDEHTML) $(LIB_TDESPELL) $(LIB_TDEPARTS) -ltdefx - -# which sources should be compiled for krecipes -krecipes_SOURCES = \ - main.cpp krecipes.cpp krecipesview.cpp pref.cpp \ - krecipesiface.skel krecipesdbiface.skel \ - propertycalculator.cpp setupwizard.cpp \ - shoppingcalculator.cpp kstartuplogo.cpp \ - recipeactionshandler.cpp \ - recipefilter.cpp \ - convert_sqlite3.cpp klomanager.cpp - -# let automoc handle all of the meta source files (moc) -METASOURCES = AUTO - -KDE_ICON = krecipes - -# this is where the kdelnk file will go -kdelnkdir = $(kde_appsdir)/Utilities -kdelnk_DATA = krecipes.desktop - -# this is where the XML-GUI resource file goes -rcdir = $(kde_datadir)/krecipes -rc_DATA = krecipesui.rc - -# this is where the pixmap file goes -pixmapdir = $(datadir)/pixmaps -pixmap_DATA = krecipes.xpm diff --git a/src/backends/Makefile.am b/src/backends/Makefile.am deleted file mode 100644 index d9732a0..0000000 --- a/src/backends/Makefile.am +++ /dev/null @@ -1,42 +0,0 @@ -## Makefile.am for krecipes - -# this is the program that gets installed. it's name is used for all -# of the other Makefile.am variables - -# set the include path for X, tqt and TDE -INCLUDES = -I$(srcdir) -I$(srcdir)/.. $(all_includes) - -# Check for optional database libs - - -if link_lib_SQLITE -sqlite_subdirs=SQLite -sqlite_libs=SQLite/libkrecsqlite.la -endif - -if link_lib_MYSQL -mysql_subdirs=MySQL -mysql_libs=MySQL/libkrecmysql.la -endif - -if link_lib_POSTGRESQL -psql_subdirs=PostgreSQL -psql_libs=PostgreSQL/libkrecpsql.la -endif - -# Optional subdirectories - -SUBDIRS=$(sqlite_subdirs) $(mysql_subdirs) $(psql_subdirs) - -# Instructions for building the convenience library -noinst_LTLIBRARIES=libkrecipesdbs.la -libkrecipesdbs_la_SOURCES=recipedb.cpp qsqlrecipedb.cpp progressinterface.cpp -libkrecipesdbs_la_METASOURCES=AUTO - -libkrecipesdbs_la_LIBADD= $(mysql_libs) $(sqlite_libs) $(psql_libs) - -#the library search path. -libkrecipesdbs_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) - -#install the following headers -# include_HEADERS = recipedb.h diff --git a/src/backends/MySQL/Makefile.am b/src/backends/MySQL/Makefile.am deleted file mode 100644 index 7134130..0000000 --- a/src/backends/MySQL/Makefile.am +++ /dev/null @@ -1,18 +0,0 @@ -## Makefile.am for krecipes - -# this is the program that gets installed. it's name is used for all -# of the other Makefile.am variables - -# set the include path for X, tqt and TDE -INCLUDES = -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../.. $(all_includes) - - -# Instructions for building the convenience library -noinst_LTLIBRARIES=libkrecmysql.la -libkrecmysql_la_SOURCES=mysqlrecipedb.cpp -libkrecmysql_la_METASOURCES=AUTO - - -#the library search path. -libkrecmysql_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) - diff --git a/src/backends/PostgreSQL/Makefile.am b/src/backends/PostgreSQL/Makefile.am deleted file mode 100644 index dac2623..0000000 --- a/src/backends/PostgreSQL/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -## Makefile.am for krecipes - -# this is the program that gets installed. it's name is used for all -# of the other Makefile.am variables - -# set the include path for X, tqt and TDE -INCLUDES = -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../.. $(all_includes) - - -# Instructions for building the convenience library -noinst_LTLIBRARIES=libkrecpsql.la -libkrecpsql_la_SOURCES=psqlrecipedb.cpp -libkrecpsql_la_METASOURCES=AUTO - - -#the library search path. -libkrecpsql_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) diff --git a/src/backends/SQLite/Makefile.am b/src/backends/SQLite/Makefile.am deleted file mode 100644 index e136dd1..0000000 --- a/src/backends/SQLite/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -## Makefile.am for krecipes - -# this is the program that gets installed. it's name is used for all -# of the other Makefile.am variables - -# set the include path for X, tqt and TDE -INCLUDES = -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../.. $(all_includes) - -# Instructions for building the convenience library -noinst_LTLIBRARIES=libkrecsqlite.la -libkrecsqlite_la_SOURCES=literecipedb.cpp -libkrecsqlite_la_METASOURCES=AUTO - -#the library search path. -libkrecsqlite_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) diff --git a/src/configure.in.bot b/src/configure.in.bot deleted file mode 100644 index c01eef7..0000000 --- a/src/configure.in.bot +++ /dev/null @@ -1,57 +0,0 @@ -echo "" -echo "" -echo "----- Configure Results -----" -echo "- -" - -if test "x$have_mysql" = "xtrue"; then -echo "- MySQL Support................... YES -" -else -echo "- MySQL Support................... NO -" -fi - -echo "- -" - -if test "x$have_postgresql" = "xtrue"; then -echo "- PostgreSQL Support.............. YES -" -else -echo "- PostgreSQL Support.............. NO -" -fi - -echo "- -" - -if test "x$have_sqlite3" = "xtrue"; then -echo "- SQLite Found..................... YES -" -else -echo "- SQLite Found..................... NO -" -fi -echo "- -" -echo "------------------------------------------------" - - -if test "x$will_not_build_krecipes" = "xtrue"; then -echo "" -echo "*** Krecipes needs a database backend enabled. If ***" -echo "*** you wish to use SQLite, you must have SQLite ***" -echo "*** installed before compiling. ***" -echo "*** KRECIPES WILL NOT BE BUILT ***" -echo "" -echo "You can get SQLite from: http://www.hwaci.com/sw/sqlite/" -echo "Or MySQL from: http://www.mysql.com" - -else if test "x$have_mysql" = "xtrue"; then - if test "x$have_sqlite3" = "xtrue"; then - echo "- -" - echo "- Fine, you can build Krecipes now -" - echo "------------------------------------------------" - else - echo "- -" - echo "- You don't have SQLite installed (or have -" - echo "- chosen to disable it), but Krecipes can -" - echo "- work just fine with another supported -" - echo "- database. -" - echo "- If you still want to, you can get SQLite -" - echo "- from http://www.hwaci.com/sw/sqlite/ -" - echo "------------------------------------------------" - fi - fi -fi diff --git a/src/configure.in.in b/src/configure.in.in deleted file mode 100644 index 7c5ffe9..0000000 --- a/src/configure.in.in +++ /dev/null @@ -1,72 +0,0 @@ -#MIN_CONFIG(3.1) - -AM_INIT_AUTOMAKE(krecipes, 0.8) - -#KDE_USE_TQT(3.1) - -AC_C_BIGENDIAN -AC_CHECK_KDEMAXPATHLEN - -AC_ARG_WITH(sqlite3, AC_HELP_STRING([--without-sqlite3], [Don't compile SQLite3 backend support]), , with_sqlite3=yes) -AC_ARG_WITH(mysql, AC_HELP_STRING([--without-mysql], [Don't compile MySQL backend support]), , with_mysql=yes) -AC_ARG_WITH(postgresql, AC_HELP_STRING([--without-postgresql], [Don't compile PostgreSQL backend support]), , with_postgresql=yes) - -dnl ----- Check if we should enable MySQL ------ - -if test "x$with_mysql" != "xno"; then - AC_DEFINE(HAVE_MYSQL, 1, [have MySQL]) - have_mysql="true" -else - AC_DEFINE(HAVE_MYSQL, 0, [have MySQL]) - have_mysql="false" -fi - - -dnl ----- Check if we should enable PostgreSQL ------ - -if test "x$with_postgresql" != "xno"; then - AC_DEFINE(HAVE_POSTGRESQL, 1, [have PostgreSQL]) - have_postgresql="true" -else - AC_DEFINE(HAVE_POSTGRESQL, 0, [have PostgreSQL]) - have_postgresql="false" -fi - - -dnl ------ Check for the SQLite headers ----- - -AC_DEFUN([AC_HAVE_SQLITE3], -[ - AC_DEFINE(HAVE_SQLITE3, 1, [have SQLite3]) - have_sqlite3=true - SQLITE_LIB3="-lsqlite3" - AC_SUBST(SQLITE_LIB3) -]) - -AC_DEFUN([AC_NO_SQLITE3], -[ - AC_DEFINE(HAVE_SQLITE3, 0, [have SQLite3]) - have_sqlite3=false -]) - -if test "x$with_sqlite3" != "xno"; then - KDE_CHECK_HEADER(sqlite3.h, - AC_HAVE_SQLITE3, - AC_NO_SQLITE3 - ) -else - AC_NO_SQLITE3 -fi - -dnl ----------- Should I link or should I not link? --------- -AM_CONDITIONAL(link_lib_MYSQL, test x$have_mysql = xtrue) -AM_CONDITIONAL(link_lib_POSTGRESQL, test x$have_postgresql = xtrue) -AM_CONDITIONAL(link_lib_SQLITE, test x$have_sqlite3 = xtrue) - -dnl ----------- Should Krecipes be built at all? ------------ -if test "x$have_mysql" = "xfalse" && test "x$have_postgresql" = "xfalse"; then - if test "x$have_sqlite3" = "xfalse"; then - DO_NOT_COMPILE="$DO_NOT_COMPILE krecipes" - will_not_build_krecipes=true - fi -fi diff --git a/src/datablocks/Makefile.am b/src/datablocks/Makefile.am deleted file mode 100644 index e6161f7..0000000 --- a/src/datablocks/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -## Makefile.am for krecipes - -# this is the program that gets installed. it's name is used for all -# of the other Makefile.am variables - -# set the include path for X, tqt and TDE -INCLUDES = -I$(srcdir)/.. $(all_includes) - -noinst_LTLIBRARIES=libdatablocks.la -libdatablocks_la_SOURCES= \ - recipelist.cpp constraintlist.cpp categorytree.cpp kreborder.cpp \ - recipe.cpp ingredient.cpp ingredientlist.cpp elementlist.cpp \ - element.cpp ingredientproperty.cpp ingredientpropertylist.cpp \ - unit.cpp unitratio.cpp unitratiolist.cpp mixednumber.cpp rating.cpp \ - weight.cpp - -libdatablocks_la_METASOURCES=AUTO - -#the library search path. -libdatablocks_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) diff --git a/src/dialogs/Makefile.am b/src/dialogs/Makefile.am deleted file mode 100644 index 3983375..0000000 --- a/src/dialogs/Makefile.am +++ /dev/null @@ -1,38 +0,0 @@ -## Makefile.am for krecipes - -# this is the program that gets installed. it's name is used for all -# of the other Makefile.am variables - -# set the include path for X, tqt and TDE -INCLUDES = -I$(srcdir)/.. -I$(builddir)/.. $(all_includes) - -KDE_CXXFLAGS = $(USE_EXCEPTIONS) - -noinst_LTLIBRARIES=libkrecipesdialogs.la -libkrecipesdialogs_la_SOURCES= \ - advancedsearchdialog.cpp recipeimportdialog.cpp \ - dietwizarddialog.cpp recipeinputdialog.cpp \ - recipeviewdialog.cpp selectrecipedialog.cpp \ - ingredientsdialog.cpp selectunitdialog.cpp \ - createelementdialog.cpp propertiesdialog.cpp \ - createpropertydialog.cpp selectpropertydialog.cpp \ - unitsdialog.cpp dependanciesdialog.cpp \ - shoppinglistdialog.cpp shoppinglistviewdialog.cpp \ - selectcategoriesdialog.cpp categorieseditordialog.cpp \ - authorsdialog.cpp selectauthorsdialog.cpp \ - resizerecipedialog.cpp \ - dietviewdialog.cpp ingredientmatcherdialog.cpp \ - usdadatadialog.cpp prepmethodsdialog.cpp \ - createcategorydialog.cpp borderdialog.cpp \ - refineshoppinglistdialog.cpp pagesetupdialog.cpp \ - dbimportdialog.cpp createunitdialog.cpp \ - setupdisplay.cpp \ - ingredientparserdialog.cpp ingredientgroupsdialog.cpp \ - editratingdialog.cpp similarcategoriesdialog.cpp \ - conversiondialog.cpp createingredientweightdialog.cpp \ - recipeprintpreview.cpp - -libkrecipesdialogs_la_METASOURCES=AUTO - -#the library search path. -libkrecipesdialogs_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) diff --git a/src/exporters/Makefile.am b/src/exporters/Makefile.am deleted file mode 100644 index fcedc46..0000000 --- a/src/exporters/Makefile.am +++ /dev/null @@ -1,13 +0,0 @@ -INCLUDES = -I$(srcdir) -I$(srcdir)/.. $(all_includes) - -METASOURCES = AUTO -noinst_LTLIBRARIES = libkrecipesexporters.la - -libkrecipesexporters_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) - -libkrecipesexporters_la_SOURCES = kreexporter.cpp baseexporter.cpp cookmlexporter.cpp \ - recipemlexporter.cpp mmfexporter.cpp htmlexporter.cpp plaintextexporter.cpp \ - rezkonvexporter.cpp htmlbookexporter.cpp - -noinst_HEADERS = kreexporter.h baseexporter.h cookmlexporter.h \ - recipemlexporter.h mmfexporter.h htmlexporter.h plaintextexporter.h diff --git a/src/importers/Makefile.am b/src/importers/Makefile.am deleted file mode 100644 index 28ab637..0000000 --- a/src/importers/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -## Makefile.am for krecipes - -# this is the program that gets installed. it's name is used for all -# of the other Makefile.am variables - -# set the include path for X, tqt and TDE -INCLUDES = -I$(srcdir)/.. -I$(srcdir)/../backends $(all_includes) - -noinst_LTLIBRARIES=libkrecipesimporters.la -libkrecipesimporters_la_SOURCES = mx2importer.cpp mmfimporter.cpp mxpimporter.cpp nycgenericimporter.cpp recipemlimporter.cpp baseimporter.cpp kreimporter.cpp rezkonvimporter.cpp kredbimporter.cpp -libkrecipesimporters_la_METASOURCES=AUTO - -#the library search path. -libkrecipesimporters_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -noinst_HEADERS = kreimporter.h diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am deleted file mode 100644 index 2a5e97b..0000000 --- a/src/tests/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -INCLUDES = -I$(srcdir)/.. -I$(srcdir)/../importers -I$(srcdir)/../exporters $(all_includes) - -AM_LDFLAGS = $(KDE_RPATH) $(all_libraries) - -check_PROGRAMS = kretest mmftest mx2test mxptest rezkonvtest nyctest recipemltest - -noinst_HEADERS = importertest.h exportertest.h - -METASOURCES = AUTO - -LDADD = ../importers/libkrecipesimporters.la ../exporters/libkrecipesexporters.la ../backends/libkrecipesdbs.la ../datablocks/libdatablocks.la $(LIB_TQT) $(LIB_TDEHTML) $(LIB_TDESPELL) - -kretest_SOURCES = kretest.cpp -mmftest_SOURCES = mmftest.cpp -mx2test_SOURCES = mx2test.cpp -mxptest_SOURCES = mxptest.cpp -rezkonvtest_SOURCES = rezkonvtest.cpp -nyctest_SOURCES = nyctest.cpp -recipemltest_SOURCES = recipemltest.cpp diff --git a/src/tests/mx2test.txt b/src/tests/mx2test.txt deleted file mode 100644 index e69de29..0000000 --- a/src/tests/mx2test.txt +++ /dev/null diff --git a/src/widgets/Makefile.am b/src/widgets/Makefile.am deleted file mode 100644 index b92e241..0000000 --- a/src/widgets/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -## Makefile.am for krecipes - -# this is the program that gets installed. it's name is used for all -# of the other Makefile.am variables - -# set the include path for X, tqt and TDE -INCLUDES = -I$(srcdir)/.. $(all_includes) - -noinst_LTLIBRARIES=libkrecipeswidgets.la - -libkrecipeswidgets_la_SOURCES= \ - krelistview.cpp kremenu.cpp \ - paneldeco.cpp ingredientlistview.cpp unitlistview.cpp \ - propertylistview.cpp prepmethodlistview.cpp categorylistview.cpp \ - authorlistview.cpp recipelistview.cpp categorycombobox.cpp \ - kretextedit.cpp dblistviewbase.cpp \ - conversiontable.cpp fractioninput.cpp ingredientcombobox.cpp \ - headercombobox.cpp prepmethodcombobox.cpp \ - inglistviewitem.cpp kdateedit.cpp kdatepickerpopup.cpp \ - headerlistview.cpp ratingwidget.cpp kwidgetlistbox.cpp \ - ratingdisplaywidget.ui criteriacombobox.cpp ingredientinputwidget.cpp \ - unitcombobox.cpp amountunitinput.cpp weightinput.cpp - - -libkrecipeswidgets_la_METASOURCES=AUTO - -#the library search path. -libkrecipeswidgets_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) |
