~ubuntu-branches/ubuntu/raring/knmap/raring

« back to all changes in this revision

Viewing changes to .pc/02_fix_ld-flags.diff/src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Artur Rona
  • Date: 2010-11-12 19:42:43 UTC
  • mfrom: (0.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20101112194243-0j0gwmo5299hy1g9
Tags: 2.1-5fakesync1
* Fake sync due to mismatching orig tarball (LP: #661301).
* debian/rules:
  + Drop support for aRts. Since now we need to keep this change
    and merge with next Debian revision.
  + Add LDFLAGS and link against -lkdeui -lkdecore -lqt-mt,
    fixes FTBFS with binutils-gold.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# set the include path for X, qt and KDE
 
2
INCLUDES = $(all_includes)
 
3
 
 
4
# these are the headers for your project
 
5
noinst_HEADERS = knmap.h global.h mainwidget.h outputwidget.h commonwidget.h \
 
6
                                        timingwidget.h compoundwidget.h htmlwidget.h stylesheetdialog.h profiledialog.h \
 
7
                                        loggingoptions.h simpleoptions.h pandsoptions.h whatsthis.h tabwidgetptrlist.h \
 
8
                                        tabwidgetdata.h scanwidget.h indexwidget.h scannamedialog.h scanstack.h scanmonitor.h \
 
9
        scanmonitorevent.h nmapoutputbuffer.h
 
10
 
 
11
# let automoc handle all of the meta source files (moc)
 
12
METASOURCES = AUTO
 
13
 
 
14
messages: rc.cpp
 
15
        $(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
 
16
        $(XGETTEXT) *.cpp -o $(podir)/knmap.pot
 
17
 
 
18
KDE_ICON = AUTO
 
19
 
 
20
#########################################################################
 
21
# APPLICATION SECTION
 
22
#########################################################################
 
23
# this is the program that gets installed.  it's name is used for all
 
24
# of the other Makefile.am variables
 
25
bin_PROGRAMS = knmap
 
26
 
 
27
# the application source, library search path, and link libraries
 
28
knmap_SOURCES = main.cpp knmap.cpp mainwidget.cpp outputwidget.cpp \
 
29
                                        commonwidget.cpp timingwidget.cpp compoundwidget.cpp htmlwidget.cpp stylesheetdialog.cpp \
 
30
                                        profiledialog.cpp loggingoptions.cpp simpleoptions.cpp pandsoptions.cpp whatsthis.cpp \
 
31
                                        tabwidgetptrlist.cpp tabwidgetdata.cpp scanwidget.cpp indexwidget.cpp scannamedialog.cpp \
 
32
                        scanstack.cpp scanmonitor.cpp scanmonitorevent.cpp nmapoutputbuffer.cpp
 
33
knmap_LDFLAGS = $(KDE_RPATH) $(all_libraries)
 
34
knmap_LDADD = $(LIB_KIO) $(LIB_KHTML)
 
35
 
 
36
# this is where the desktop file will go 
 
37
shelldesktopdir   = $(kde_appsdir)/Utilities
 
38
shelldesktop_DATA = knmap.desktop
 
39
 
 
40
# this is where the shell's XML-GUI resource file goes
 
41
shellrcdir   = $(kde_datadir)/knmap
 
42
shellrc_DATA = knmapui.rc nmap_manpage.html nmap_manpage.html.diff
 
43
 
 
44
kde_icon_KDEICON = hi16-app-scanclose.png hi32-app-scanclose.png \
 
45
                hi16-app-scannew.png hi32-app-scannew.png hi16-app-scanrename.png hi32-app-scanrename.png \
 
46
                hi16-app-scanduplicate.png hi32-app-scanduplicate.png hi16-app-manpage.png hi32-app-manpage.png