summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-06-05 15:35:30 +0200
committergregory guy <gregory-tde@laposte.net>2020-06-05 15:47:19 +0200
commit11c5062539a42b939727a3f0f8a6fbacc1b238be (patch)
tree6f0464aab1d36ee7aa8f17cdea20c14b7ed41c40 /src
parentde741fb836ee6836ce2beb0a369f03ddcbdef036 (diff)
downloadkasablanca-11c5062539a42b939727a3f0f8a6fbacc1b238be.tar.gz
kasablanca-11c5062539a42b939727a3f0f8a6fbacc1b238be.zip
Drop automake build support.
Add basic cmake build instructions. Delete empty file NEWS and rpm spec files. Better detection for OpenSSL headers and libraries. Write a README file. Rework of the help page. Some cosmetics. Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
-rw-r--r--src/Makefile.am36
2 files changed, 2 insertions, 38 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index acff4ad..6b1b857 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -4,7 +4,7 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
- ${OPENSSL_INCLUDE_DIR}
+ ${SSL_INCLUDE_DIRS}
)
link_directories(
@@ -39,7 +39,7 @@ tde_add_executable( ${PROJECT_NAME} AUTOMOC
tdecore-shared
tdeui-shared
tdeio-shared
- ${OPENSSL_LIBRARIES}
+ ${SSL_LIBRARIES}
DESTINATION ${BIN_INSTALL_DIR}
)
diff --git a/src/Makefile.am b/src/Makefile.am
deleted file mode 100644
index 15325cc..0000000
--- a/src/Makefile.am
+++ /dev/null
@@ -1,36 +0,0 @@
-# set the include path for X, qt and TDE
-INCLUDES = $(all_includes)
-
-# these are the headers for your project
-noinst_HEADERS = kasablanca.h bookmarkdialog.h customconnectdialog.h fileexistsdialog.h kbitem.h ftplib.h ftpsession.h kbfileinfo.h kbdirinfo.h kbtransferitem.h kbtransferdir.h kbtransferfile.h kbtaskview.h kbbookmarkitem.h kbsiteinfo.h importdialog.h kbstatustip.h
-
-# let automoc handle all of the meta source files (moc)
-METASOURCES = AUTO
-
-messages: rc.cpp
- $(XGETTEXT) *.cpp -o $(podir)/kasablanca.pot
-
-KDE_ICON = kasablanca
-
-#########################################################################
-# APPLICATION SECTION
-#########################################################################
-# this is the program that gets installed. it's name is used for all
-# of the other Makefile.am variables
-bin_PROGRAMS = kasablanca
-
-# the application source, library search path, and link libraries
-kasablanca_SOURCES = main.cpp kasablanca.cpp bookmarkdialog.cpp customconnectdialog.cpp fileexistsdialog.cpp kbitem.cpp Q_bookmarkdialog.ui Q_fileexistsdialog.ui Q_mainwindow.ui eventhandler.cpp ftpthread.cpp ftplib.cpp ftpsession.cpp kbfileinfo.cpp kbdirinfo.cpp kbdir.cpp kbfile.cpp kbtransferitem.cpp kbtransferdir.cpp kbtransferfile.cpp kbconfig.kcfgc Q_colorspreferencesdialog.ui Q_generalpreferencesdialog.ui kbtaskview.cpp Q_userinterfacepreferencesdialog.ui kbbookmarkitem.cpp kbsiteinfo.cpp Q_customconnectdialog.ui Q_importdialog.ui importdialog.cpp kbstatustip.cpp
-kasablanca_LDFLAGS = $(TDE_RPATH) $(all_libraries)
-kasablanca_LDADD = -lssl $(LIB_TDEUI) -lcrypto $(LIB_TDECORE) -lDCOP $(LIB_TQT)
-
-# this is where the desktop file will go
-xdg_apps_DATA = kasablanca.desktop
-
-# this is where the shell's XML-GUI resource file goes
-shellrcdir = $(kde_datadir)/kasablanca
-shellrc_DATA = kasablancaui.rc about.png
-
-# this is the config xml
-kde_kcfg_DATA=kbconfig.kcfg
-