Make toolbar visible again.
[kdbg.git] / kdbg / Makefile.am
blob2313657618556038d1e87a56e255d243e8ca0e55
1 ## $Id$
3 # this 10 paths are KDE specific. Use them:
4 # kde_htmldir       Where your docs should go to. (contains lang subdirs)
5 # kde_appsdir       Where your application file (.kdelnk) should go to. 
6 # kde_icondir       Where your icon should go to.
7 # kde_datadir       Where you install application data. (Use a subdir)
8 # kde_locale        Where translation files should go to.(contains lang subdirs)
9 # kde_cgidir        Where cgi-bin executables should go to.
10 # kde_confdir       Where config files should go to.
11 # kde_mimedir       Where mimetypes should go to.
12 # kde_toolbardir    Where general toolbar icons should go to.
13 # kde_wallpaperdir  Where general wallpapers should go to.
15 # set the include path for X, qt and KDE
16 INCLUDES= $(all_includes) -I$(top_srcdir)/STabCtl -I$(top_srcdir)/DockWidget
18 # claim, which subdirectories you want to install
19 SUBDIRS = doc pics typetables testprogs
21 ####### This part is very kdbg specific
22 # you can add here more. This one gets installed 
23 bin_PROGRAMS =  kdbg
25 # Which sources should be compiled for kdbg.
26 kdbg_SOURCES = \
27         pgmargs.cpp \
28         procattach.cpp \
29         ktreeview.cpp \
30         textvw.cpp \
31         debugger.cpp \
32         dbgdriver.cpp \
33         gdbdriver.cpp \
34         brkpt.cpp \
35         exprwnd.cpp \
36         regwnd.cpp \
37         memwindow.cpp \
38         threadlist.cpp \
39         updateui.cpp \
40         sourcewnd.cpp \
41         winstack.cpp \
42         ttywnd.cpp \
43         typetable.cpp \
44         prefdebugger.cpp \
45         prefmisc.cpp \
46         pgmsettings.cpp \
47         mainwndbase.cpp \
48         dbgmainwnd.cpp \
49         main.cpp
51 # the library search path
52 kdbg_LDFLAGS = \
53         $(all_libraries) $(KDE_RPATH)
55 # the libraries to link against.
56 kdbg_LDADD   = \
57         $(top_builddir)/DockWidget/libdock_library.a \
58         $(top_builddir)/STabCtl/libtab_library.a \
59         $(LIB_KFILE)
61 # this option you can leave out. Just, if you use "make dist", you need it
62 noinst_HEADERS = \
63         pgmargs.h \
64         procattach.h \
65         textvw.h \
66         valarray.h \
67         debugger.h \
68         dbgdriver.h \
69         gdbdriver.h \
70         brkpt.h \
71         exprwnd.h \
72         regwnd.h \
73         memwindow.h \
74         threadlist.h \
75         ktreeview.h \
76         updateui.h \
77         sourcewnd.h \
78         winstack.h \
79         ttywnd.h \
80         typetable.h \
81         prefdebugger.h \
82         prefmisc.h \
83         pgmsettings.h \
84         mainwndbase.h \
85         dbgmainwnd.h \
86         envvar.h \
87         commandids.h \
88         mydebug.h
90 # just to make sure, automake makes them
91 BUILTSOURCES =  \
92         pgmargs.moc \
93         textvw.moc \
94         debugger.moc \
95         dbgdriver.moc \
96         gdbdriver.moc \
97         brkpt.moc \
98         exprwnd.moc \
99         regwnd.moc \
100         memwindow.moc \
101         threadlist.moc \
102         ktreeview.moc \
103         sourcewnd.moc \
104         winstack.moc \
105         ttywnd.moc \
106         pgmsettings.moc \
107         mainwndbase.moc \
108         dbgmainwnd.moc \
109         updateui.moc
112 # if you "make clean", this files get removed. If you want to remove
113 # them while "make distclean", use DISTCLEANFILES
114 CLEANFILES = $(kdbg_METASOURCES)
117 apps_DATA = kdbg.kdelnk
118 appsdir = $(kde_appsdir)/Development
121 # make messages.po. Move this one to ../po/ and "make merge" in po
122 # the -x is for skipping messages already translated in kdelibs
123 messages:
124         $(XGETTEXT) -C -ki18n -kI18N_NOOP -x $(includedir)/kde.pot $(kdbg_SOURCES) && mv messages.po ../po/kdbg.pot
127 EXTRA_DIST = $(apps_DATA)
129 # add a dependency for every moc file to be full portable
130 # I've added a key binding to emacs for this. 
131 $(srcdir)/debugger.cpp: debugger.moc
132 debugger.moc: $(srcdir)/debugger.h
133         $(MOC) $(srcdir)/debugger.h -o debugger.moc
135 $(srcdir)/dbgdriver.cpp: dbgdriver.moc
136 dbgdriver.moc: $(srcdir)/dbgdriver.h
137         $(MOC) $(srcdir)/dbgdriver.h -o dbgdriver.moc
139 $(srcdir)/gdbdriver.cpp: gdbdriver.moc
140 gdbdriver.moc: $(srcdir)/gdbdriver.h
141         $(MOC) $(srcdir)/gdbdriver.h -o gdbdriver.moc
143 $(srcdir)/exprwnd.cpp: exprwnd.moc
144 exprwnd.moc: $(srcdir)/exprwnd.h
145         $(MOC) $(srcdir)/exprwnd.h -o exprwnd.moc
147 $(srcdir)/regwnd.cpp: regwnd.moc
148 regwnd.moc: $(srcdir)/regwnd.h
149         $(MOC) $(srcdir)/regwnd.h -o regwnd.moc
151 $(srcdir)/memwindow.cpp: memwindow.moc
152 memwindow.moc: $(srcdir)/memwindow.h
153         $(MOC) $(srcdir)/memwindow.h -o memwindow.moc
155 $(srcdir)/threadlist.cpp: threadlist.moc
156 threadlist.moc: $(srcdir)/threadlist.h
157         $(MOC) $(srcdir)/threadlist.h -o threadlist.moc
159 $(srcdir)/textvw.cpp: textvw.moc
160 textvw.moc: $(srcdir)/textvw.h
161         $(MOC) $(srcdir)/textvw.h -o textvw.moc
163 $(srcdir)/ktreeview.cpp: ktreeview.moc
164 ktreeview.moc: $(srcdir)/ktreeview.h
165         $(MOC) $(srcdir)/ktreeview.h -o ktreeview.moc
167 $(srcdir)/sourcewnd.cpp: sourcewnd.moc
168 sourcewnd.moc: $(srcdir)/sourcewnd.h
169         $(MOC) $(srcdir)/sourcewnd.h -o sourcewnd.moc
171 $(srcdir)/winstack.cpp: winstack.moc
172 winstack.moc: $(srcdir)/winstack.h
173         $(MOC) $(srcdir)/winstack.h -o winstack.moc
175 $(srcdir)/ttywnd.cpp: ttywnd.moc
176 ttywnd.moc: $(srcdir)/ttywnd.h
177         $(MOC) $(srcdir)/ttywnd.h -o ttywnd.moc
179 $(srcdir)/updateui.cpp: updateui.moc
180 updateui.moc: $(srcdir)/updateui.h
181         $(MOC) $(srcdir)/updateui.h -o updateui.moc
183 $(srcdir)/brkpt.cpp: brkpt.moc
184 brkpt.moc: $(srcdir)/brkpt.h
185         $(MOC) $(srcdir)/brkpt.h -o brkpt.moc
187 $(srcdir)/pgmargs.cpp: pgmargs.moc
188 pgmargs.moc: $(srcdir)/pgmargs.h
189         $(MOC) $(srcdir)/pgmargs.h -o pgmargs.moc
191 $(srcdir)/pgmsettings.cpp: pgmsettings.moc
192 pgmsettings.moc: $(srcdir)/pgmsettings.h
193         $(MOC) $(srcdir)/pgmsettings.h -o pgmsettings.moc
195 $(srcdir)/mainwndbase.cpp: mainwndbase.moc
196 mainwndbase.moc: $(srcdir)/mainwndbase.h
197         $(MOC) $(srcdir)/mainwndbase.h -o mainwndbase.moc
199 $(srcdir)/dbgmainwnd.cpp: dbgmainwnd.moc
200 dbgmainwnd.moc: $(srcdir)/dbgmainwnd.h
201         $(MOC) $(srcdir)/dbgmainwnd.h -o dbgmainwnd.moc