summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: a2eb9bae913624d7971211f9db3bef2709b212b9 (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
# set the include path for X, qt and TDE
INCLUDES = $(all_includes)

# these are the headers for your project
noinst_HEADERS = knmap.h global.h mainwidget.h outputwidget.h commonwidget.h \
					timingwidget.h compoundwidget.h htmlwidget.h stylesheetdialog.h profiledialog.h \
					loggingoptions.h simpleoptions.h pandsoptions.h whatsthis.h tabwidgetptrlist.h \
					tabwidgetdata.h scanwidget.h indexwidget.h scannamedialog.h scanstack.h scanmonitor.h \
	scanmonitorevent.h nmapoutputbuffer.h

# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO

messages: rc.cpp
	$(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/knmap.pot

KDE_ICON = AUTO

#########################################################################
# APPLICATION SECTION
#########################################################################
# this is the program that gets installed.  it's name is used for all
# of the other Makefile.am variables
bin_PROGRAMS = knmap

# the application source, library search path, and link libraries
knmap_SOURCES = main.cpp knmap.cpp mainwidget.cpp outputwidget.cpp \
					commonwidget.cpp timingwidget.cpp compoundwidget.cpp htmlwidget.cpp stylesheetdialog.cpp \
					profiledialog.cpp loggingoptions.cpp simpleoptions.cpp pandsoptions.cpp whatsthis.cpp \
					tabwidgetptrlist.cpp tabwidgetdata.cpp scanwidget.cpp indexwidget.cpp scannamedialog.cpp \
			scanstack.cpp scanmonitor.cpp scanmonitorevent.cpp nmapoutputbuffer.cpp
knmap_LDFLAGS = $(TDE_RPATH) $(all_libraries)
knmap_LDADD = $(LIB_TDEIO) $(LIB_TDEHTML) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_TQT)

# this is where the desktop file will go 
shelldesktopdir   = $(kde_appsdir)/Internet
shelldesktop_DATA = knmap.desktop

# this is where the shell's XML-GUI resource file goes
shellrcdir   = $(kde_datadir)/knmap
shellrc_DATA = knmapui.rc nmap_manpage.html nmap_manpage.html.diff

kde_icon_TDEICON = hi16-app-scanclose.png hi32-app-scanclose.png \
		hi16-app-scannew.png hi32-app-scannew.png hi16-app-scanrename.png hi32-app-scanrename.png \
		hi16-app-scanduplicate.png hi32-app-scanduplicate.png hi16-app-manpage.png hi32-app-manpage.png