diff options
author | Michele Calgaro <[email protected]> | 2024-10-13 11:56:14 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-10-21 09:29:11 +0900 |
commit | 0c8ed6c9a4000af8f48581a81c4b5c2f5b9fd502 (patch) | |
tree | 10f9d3223f0a0904a0748a28ca44da52ee1092b7 /src/backends/Makefile.am | |
parent | 7d5ba3180a82a0827c1fbd6dc93a2abf4f882c37 (diff) | |
download | krecipes-0c8ed6c9a4000af8f48581a81c4b5c2f5b9fd502.tar.gz krecipes-0c8ed6c9a4000af8f48581a81c4b5c2f5b9fd502.zip |
Rearrange folders structure to remove unnecessary 'krecipes' second level subfolder
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/backends/Makefile.am')
-rw-r--r-- | src/backends/Makefile.am | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/backends/Makefile.am b/src/backends/Makefile.am new file mode 100644 index 0000000..d9732a0 --- /dev/null +++ b/src/backends/Makefile.am @@ -0,0 +1,42 @@ +## 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 |