## 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 $(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_TQT) $(LIB_TDECORE) -lDCOP $(LIB_TDEIO) $(LIB_TDEUI) $(LIB_TDEPARTS) $(LIB_TDEHTML) $(LIB_SQLITE) $(LIB_SQLITE_LOCAL) $(LIB_CLAM) -lz # which sources should be compiled for klamav # autoscanoptions.ui excluded until autoscan is reimplemented klamav_SOURCES = main.cpp klamav.cpp freshklam.cpp sigtool.cpp klamscan.cpp \ kuarantine.cpp welcome.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 logoptions.ui klamavconfig.kcfgc k3bjobprogressosd_mod.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 # autoscanoptions.h excluded (see above) main.o : archivelimits.h archivetypes.h specialfiletypes.h firstrunwizard.h logoptions.h klamavconfig.h