Fixed missing header file in make dist.
[kdbg.git] / kdbg / Makefile.am
blob7ca739d29eb71a3248b840cd1052439bff32ee77
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         procattach.cpp \
17         tableview.cpp \
18         ktreeview.cpp \
19         textvw.cpp \
20         debugger.cpp \
21         programconfig.cpp \
22         dbgdriver.cpp \
23         gdbdriver.cpp \
24         xsldbgdriver.cpp \
25         brkpt.cpp \
26         exprwnd.cpp \
27         regwnd.cpp \
28         memwindow.cpp \
29         threadlist.cpp \
30         sourcewnd.cpp \
31         winstack.cpp \
32         ttywnd.cpp \
33         typetable.cpp \
34         prefdebugger.cpp \
35         prefmisc.cpp \
36         pgmsettings.cpp \
37         mainwndbase.cpp \
38         dbgmainwnd.cpp \
39         main.cpp
41 # the library search path
42 kdbg_LDFLAGS = \
43         $(all_libraries) $(KDE_RPATH)
45 # the libraries to link against.
46 if BUILD_FOR_KDE3
47 MYKDELIBS=$(LIB_KIO)
48 else
49 MYKDELIBS=$(LIB_KFILE)
50 endif
52 kdbg_LDADD = $(MYKDELIBS)
54 # this option you can leave out. Just, if you use "make dist", you need it
55 noinst_HEADERS = \
56         pgmargs.h \
57         procattach.h \
58         tableview.h \
59         textvw.h \
60         valarray.h \
61         debugger.h \
62         programconfig.h \
63         dbgdriver.h \
64         gdbdriver.h \
65         xsldbgdriver.h \
66         brkpt.h \
67         exprwnd.h \
68         regwnd.h \
69         memwindow.h \
70         threadlist.h \
71         ktreeview.h \
72         sourcewnd.h \
73         winstack.h \
74         ttywnd.h \
75         typetable.h \
76         prefdebugger.h \
77         prefmisc.h \
78         pgmsettings.h \
79         mainwndbase.h \
80         dbgmainwnd.h \
81         envvar.h \
82         commandids.h \
83         mydebug.h
85 kdbg_METASOURCES = AUTO
87 # if you "make clean", this files get removed. If you want to remove
88 # them while "make distclean", use DISTCLEANFILES
89 CLEANFILES = $(kdbg_METASOURCES)
91 apps_DATA = kdbg.desktop
92 appsdir = $(kde_appsdir)/Development
94 rcdir = $(kde_datadir)/kdbg
95 rc_DATA = kdbgui.rc
97 # Make messages.po and move it to $(top_srcdir)/po. "make merge" there.
98 # the -x is for skipping messages already translated in kdelibs
99 messages: rc.cpp
100         LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
101         if test -n "$$LIST"; then \
102           $(XGETTEXT) -C -ki18n -kI18N_NOOP -x $(includedir)/kde.pot \
103                 $$LIST && mv messages.po $(top_srcdir)/po/kdbg.pot; \
104         fi
106 EXTRA_DIST = kdbg.desktop