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
25 # Which sources should be compiled for kdbg.
51 # the library search path
53 $(all_libraries) $(KDE_RPATH)
55 # the libraries to link against.
57 $(top_builddir)/DockWidget/libdock_library.a \
58 $(top_builddir)/STabCtl/libtab_library.a \
61 # this option you can leave out. Just, if you use "make dist", you need it
90 # just to make sure, automake makes them
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
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