summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-01-13 19:26:24 +0200
committerMavridis Philippe <[email protected]>2021-01-13 19:26:24 +0200
commit8c20dc919f7d54eb48fb60f39ba5e1d466a70763 (patch)
tree44d89f278d5dd066603e5ab9c0b270bc8eb4ad51 /src/Makefile.am
downloadklamav-8c20dc919f7d54eb48fb60f39ba5e1d466a70763.tar.gz
klamav-8c20dc919f7d54eb48fb60f39ba5e1d466a70763.zip
Initial commit
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am68
1 files changed, 68 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..edbc088
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,68 @@
+## Makefile.am for klamav
+if with_included_sqlite
+ SQLITE_SUBDIR = sqlite
+ LIB_SQLITE_LOCAL = sqlite/libsqlite.la
+ sqlite_includes = -Isqlite
+endif
+
+# this is the program that gets installed. it's name is used for all
+# of the other Makefile.am variables
+bin_PROGRAMS = klamav
+
+SUBDIRS=icons about action arkollon $(SQLITE_SUBDIR) klammail .
+
+# set the include path for X, qt and KDE
+INCLUDES = $(all_includes)
+
+
+# the library search path.
+klamav_LDFLAGS = $(KDE_RPATH) $(all_libraries)
+
+# the libraries to link against.
+klamav_LDADD = $(LIB_KFILE) $(LIB_KPARTS) $(LIB_KHTML) $(LIB_SQLITE) $(LIB_SQLITE_LOCAL) $(LIB_CLAM)
+
+# which sources should be compiled for klamav
+klamav_SOURCES = main.cpp klamav.cpp freshklam.cpp sigtool.cpp klamscan.cpp \
+ klamd.cpp kuarantine.cpp \
+ aboutklamav.cpp dbviewer.cpp \
+ frame.cpp tabwidget.cpp viewer.cpp pageviewer.cpp klamav_run.cpp dcopklamscan.skel \
+ directorylist.cpp scanviewer.cpp schedule.cpp datepicker.cpp cthost.cpp \
+ ctcron.cpp ctmonth.cpp ctdom.cpp ctdow.cpp cttask.cpp ctvariable.cpp \
+ ktlistitem.cpp ktlisttask.cpp ktlisttasks.cpp ktview.cpp ktlistcron.cpp \
+ kticon.cpp activityviewer.cpp collectiondb.cpp archivelimits.ui \
+ archivetypes.ui specialfiletypes.ui firstrunwizard.ui configdialog.cpp autoscanoptions.ui logoptions.ui klamavconfig.kcfgc k3bjobprogressosd_mod.cpp update.cpp
+
+
+
+# let automoc handle all of the meta source files (moc)
+METASOURCES = AUTO
+
+podir=../po
+
+messages:
+ $(XGETTEXT) *.cpp -ki18n -o $(podir)/klamav.pot
+
+KDE_ICON = klamav
+
+# this is where the kdelnk file will go
+kdelnkdir = $(kde_appsdir)/Utilities
+kdelnk_DATA = klamav.desktop
+
+# this is where the servicemenu file will go
+konqservice_DATA = klamav-dropdown.desktop
+konqservicedir = $(kde_datadir)/konqueror/servicemenus
+
+# this is where the XML-GUI resource file goes
+rcdir = $(kde_datadir)/klamav
+rc_DATA = klamavui.rc
+
+
+eventsrcdir = $(kde_datadir)/klamav
+eventsrc_DATA = eventsrc
+
+
+kde_kcfg_DATA = klamavconfig.kcfg
+
+
+main.o : archivelimits.h archivetypes.h specialfiletypes.h firstrunwizard.h autoscanoptions.h logoptions.h klamavconfig.h
+