Convert the program arguments dialog to a tabbed dialog.
[kdbg.git] / kdbg / Makefile.am
blob9fdfa45f21a17ed09d962809d85c7465121cb79e
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 if BUILD_FOR_KDE3
49 MYKDELIBS=$(LIB_KIO)
50 else
51 MYKDELIBS=$(LIB_KFILE)
52 endif
54 kdbg_LDADD = $(MYKDELIBS)
56 # this option you can leave out. Just, if you use "make dist", you need it
57 noinst_HEADERS = \
58         pgmargs.h \
59         procattach.h \
60         tableview.h \
61         textvw.h \
62         valarray.h \
63         debugger.h \
64         programconfig.h \
65         dbgdriver.h \
66         gdbdriver.h \
67         xsldbgdriver.h \
68         brkpt.h \
69         exprwnd.h \
70         regwnd.h \
71         memwindow.h \
72         threadlist.h \
73         ktreeview.h \
74         sourcewnd.h \
75         winstack.h \
76         ttywnd.h \
77         typetable.h \
78         prefdebugger.h \
79         prefmisc.h \
80         pgmsettings.h \
81         mainwndbase.h \
82         dbgmainwnd.h \
83         envvar.h \
84         commandids.h \
85         mydebug.h
87 kdbg_METASOURCES = AUTO
89 # if you "make clean", this files get removed. If you want to remove
90 # them while "make distclean", use DISTCLEANFILES
91 CLEANFILES = $(kdbg_METASOURCES)
93 xdg_apps_DATA = kdbg.desktop
95 rcdir = $(kde_datadir)/kdbg
96 rc_DATA = kdbgui.rc
98 # Make messages.po and move it to $(top_srcdir)/po. "make merge" there.
99 # the -x is for skipping messages already translated in kdelibs
100 # Messages are generated in the source directory so that file names
101 # mentioned in the .pot file are not prefixed by $(srcdir).
102 messages:
103         cd $(srcdir) && \
104         extractrc *.rc *.ui > rc.cpp && \
105         LIST=`find . -name \*.h -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.C` && \
106         $(XGETTEXT) -C -ki18n -kI18N_NOOP -x $(includedir)/kde.pot \
107                 $$LIST && mv messages.po $(top_srcdir)/po/kdbg.pot; \
108         rm -f rc.cpp
110 EXTRA_DIST = kdbg.desktop