summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: 74acebf2b5b7c342df2940b6b272b722c31395ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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 $(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
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