Merge with version 2.0.
[kdbg.git] / kdbg / Makefile.am
blob951e02fa9fe6ee40c7308e494332bb9987b7e175
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         tableview.cpp \
20         ktreeview.cpp \
21         textvw.cpp \
22         debugger.cpp \
23         programconfig.cpp \
24         dbgdriver.cpp \
25         gdbdriver.cpp \
26         xsldbgdriver.cpp \
27         brkpt.cpp \
28         exprwnd.cpp \
29         regwnd.cpp \
30         memwindow.cpp \
31         threadlist.cpp \
32         sourcewnd.cpp \
33         winstack.cpp \
34         ttywnd.cpp \
35         typetable.cpp \
36         prefdebugger.cpp \
37         prefmisc.cpp \
38         pgmsettings.cpp \
39         mainwndbase.cpp \
40         dbgmainwnd.cpp \
41         main.cpp
43 # the library search path
44 kdbg_LDFLAGS = \
45         $(all_libraries) $(KDE_RPATH)
47 # the libraries to link against.
48 kdbg_LDADD = $(LIB_KIO)
50 # this option you can leave out. Just, if you use "make dist", you need it
51 noinst_HEADERS = \
52         pgmargs.h \
53         procattach.h \
54         tableview.h \
55         textvw.h \
56         valarray.h \
57         debugger.h \
58         programconfig.h \
59         dbgdriver.h \
60         gdbdriver.h \
61         xsldbgdriver.h \
62         brkpt.h \
63         exprwnd.h \
64         regwnd.h \
65         memwindow.h \
66         threadlist.h \
67         ktreeview.h \
68         sourcewnd.h \
69         winstack.h \
70         ttywnd.h \
71         typetable.h \
72         prefdebugger.h \
73         prefmisc.h \
74         pgmsettings.h \
75         mainwndbase.h \
76         dbgmainwnd.h \
77         envvar.h \
78         commandids.h \
79         mydebug.h
81 kdbg_METASOURCES = AUTO
83 # if you "make clean", this files get removed. If you want to remove
84 # them while "make distclean", use DISTCLEANFILES
85 CLEANFILES = $(kdbg_METASOURCES)
87 xdg_apps_DATA = kdbg.desktop
89 configdir = $(kde_confdir)
90 config_DATA = kdbgrc
92 rcdir = $(kde_datadir)/kdbg
93 rc_DATA = kdbgui.rc
95 # Make messages.po and move it to $(top_srcdir)/po. "make merge" there.
96 # the -x is for skipping messages already translated in kdelibs
97 # Messages are generated in the source directory so that file names
98 # mentioned in the .pot file are not prefixed by $(srcdir).
99 messages:
100         cd $(srcdir) && \
101         extractrc *.rc *.ui > rc.cpp && \
102         LIST=`find . -name \*.h -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.C` && \
103         $(XGETTEXT) -C -ki18n -kI18N_NOOP -x $(includedir)/kde.pot \
104                 $$LIST && mv messages.po $(top_srcdir)/po/kdbg.pot; \
105         rm -f rc.cpp
107 EXTRA_DIST = kdbg.desktop kdbgrc