Clean up context menu handling in the files window.
[kdbg.git] / kdbg / Makefile.am
blob763ec0acc1fa31d5f489c55b8b096107e9391b97
1 ## $Id$
3 # set the include path for X, qt and KDE
4 INCLUDES= $(all_includes)
6 # claim, which subdirectories you want to install
7 SUBDIRS = doc pics typetables testprogs
9 ####### This part is very kdbg specific
10 # you can add here more. This one gets installed 
11 bin_PROGRAMS =  kdbg
13 # Which sources should be compiled for kdbg.
14 kdbg_SOURCES = \
15         pgmargs.cpp \
16         pgmargsbase.ui \
17         procattach.cpp \
18         procattachbase.ui \
19         debugger.cpp \
20         programconfig.cpp \
21         dbgdriver.cpp \
22         gdbdriver.cpp \
23         xsldbgdriver.cpp \
24         brkpt.cpp \
25         exprwnd.cpp \
26         regwnd.cpp \
27         memwindow.cpp \
28         threadlist.cpp \
29         sourcewnd.cpp \
30         winstack.cpp \
31         ttywnd.cpp \
32         typetable.cpp \
33         prefdebugger.cpp \
34         prefmisc.cpp \
35         pgmsettings.cpp \
36         mainwndbase.cpp \
37         dbgmainwnd.cpp \
38         main.cpp
40 # the library search path
41 kdbg_LDFLAGS = \
42         $(all_libraries) $(KDE_RPATH)
44 # the libraries to link against.
45 kdbg_LDADD = $(LIB_KIO)
47 # this option you can leave out. Just, if you use "make dist", you need it
48 noinst_HEADERS = \
49         pgmargs.h \
50         procattach.h \
51         valarray.h \
52         debugger.h \
53         programconfig.h \
54         dbgdriver.h \
55         gdbdriver.h \
56         xsldbgdriver.h \
57         brkpt.h \
58         exprwnd.h \
59         regwnd.h \
60         memwindow.h \
61         threadlist.h \
62         sourcewnd.h \
63         winstack.h \
64         ttywnd.h \
65         typetable.h \
66         prefdebugger.h \
67         prefmisc.h \
68         pgmsettings.h \
69         mainwndbase.h \
70         dbgmainwnd.h \
71         envvar.h \
72         commandids.h \
73         mydebug.h
75 kdbg_METASOURCES = AUTO
77 # if you "make clean", this files get removed. If you want to remove
78 # them while "make distclean", use DISTCLEANFILES
79 CLEANFILES = $(kdbg_METASOURCES)
81 xdg_apps_DATA = kdbg.desktop
83 configdir = $(kde_confdir)
84 config_DATA = kdbgrc
86 rcdir = $(kde_datadir)/kdbg
87 rc_DATA = kdbgui.rc
89 # Make messages.po and move it to $(top_srcdir)/po. "make merge" there.
90 # the -x is for skipping messages already translated in kdelibs
91 # Messages are generated in the source directory so that file names
92 # mentioned in the .pot file are not prefixed by $(srcdir).
93 messages:
94         cd $(srcdir) && \
95         extractrc *.rc *.ui > rc.cpp && \
96         LIST=`find . -name \*.h -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.C` && \
97         $(XGETTEXT) -C -ki18n -kI18N_NOOP -x $(includedir)/kde.pot \
98                 $$LIST && mv messages.po $(top_srcdir)/po/kdbg.pot; \
99         rm -f rc.cpp
101 EXTRA_DIST = kdbg.desktop kdbgrc