Upgraded the build system for KDE2.
[kdbg.git] / kdbg / Makefile.am
blob5d330157ea66716650d86004523d49eae0f184cc
1 ## $Id$
3 # set the include path for X, qt and KDE
4 INCLUDES= $(all_includes) -I$(top_srcdir)/STabCtl -I$(top_srcdir)/DockWidget
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         ktreeview.cpp \
18         textvw.cpp \
19         debugger.cpp \
20         dbgdriver.cpp \
21         gdbdriver.cpp \
22         brkpt.cpp \
23         exprwnd.cpp \
24         regwnd.cpp \
25         memwindow.cpp \
26         threadlist.cpp \
27         updateui.cpp \
28         sourcewnd.cpp \
29         winstack.cpp \
30         ttywnd.cpp \
31         typetable.cpp \
32         prefdebugger.cpp \
33         prefmisc.cpp \
34         pgmsettings.cpp \
35         mainwndbase.cpp \
36         dbgmainwnd.cpp \
37         main.cpp
39 # the library search path
40 kdbg_LDFLAGS = \
41         $(all_libraries) $(KDE_RPATH)
43 # the libraries to link against.
44 kdbg_LDADD   = \
45         $(top_builddir)/DockWidget/libdock_library.a \
46         $(top_builddir)/STabCtl/libtab_library.a \
47         $(LIB_KFILE)
49 # this option you can leave out. Just, if you use "make dist", you need it
50 noinst_HEADERS = \
51         pgmargs.h \
52         procattach.h \
53         textvw.h \
54         valarray.h \
55         debugger.h \
56         dbgdriver.h \
57         gdbdriver.h \
58         brkpt.h \
59         exprwnd.h \
60         regwnd.h \
61         memwindow.h \
62         threadlist.h \
63         ktreeview.h \
64         updateui.h \
65         sourcewnd.h \
66         winstack.h \
67         ttywnd.h \
68         typetable.h \
69         prefdebugger.h \
70         prefmisc.h \
71         pgmsettings.h \
72         mainwndbase.h \
73         dbgmainwnd.h \
74         envvar.h \
75         commandids.h \
76         mydebug.h
78 METASOURCES = AUTO
80 # if you "make clean", this files get removed. If you want to remove
81 # them while "make distclean", use DISTCLEANFILES
82 CLEANFILES = $(kdbg_METASOURCES)
84 apps_DATA = kdbg.desktop
85 appsdir = $(kde_appsdir)/Development
88 # make messages.po. Move this one to ../po/ and "make merge" in po
89 # the -x is for skipping messages already translated in kdelibs
90 messages: rc.cpp
91         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`; \
92         if test -n "$$LIST"; then \
93          $(XGETTEXT) $$LIST -o $(podir)/kdbg.pot; \
94         fi
96 EXTRA_DIST = kdbg.desktop