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.
46 # the library search path
48 $(all_libraries) $(KDE_RPATH)
50 # the libraries to link against.
52 $(top_builddir)/DockWidget/libdock_library.a \
53 $(top_builddir)/STabCtl/libtab_library.a \
56 # this option you can leave out. Just, if you use "make dist", you need it
80 # just to make sure, automake makes them
98 # if you "make clean", this files get removed. If you want to remove
99 # them while "make distclean", use DISTCLEANFILES
100 CLEANFILES = $(kdbg_METASOURCES)
103 apps_DATA = kdbg.kdelnk
104 appsdir = $(kde_appsdir)/Development
107 # make messages.po. Move this one to ../po/ and "make merge" in po
108 # the -x is for skipping messages already translated in kdelibs
110 $(XGETTEXT) -C -ki18n -x $(includedir)/kde.pot $(kdbg_SOURCES) && mv messages.po ../po/kdbg.pot
113 EXTRA_DIST = $(apps_DATA)
115 # add a dependency for every moc file to be full portable
116 # I've added a key binding to emacs for this.
117 $(srcdir)/debugger.cpp: debugger.moc
118 debugger.moc: $(srcdir)/debugger.h
119 $(MOC) $(srcdir)/debugger.h -o debugger.moc
121 $(srcdir)/dbgdriver.cpp: dbgdriver.moc
122 dbgdriver.moc: $(srcdir)/dbgdriver.h
123 $(MOC) $(srcdir)/dbgdriver.h -o dbgdriver.moc
125 $(srcdir)/gdbdriver.cpp: gdbdriver.moc
126 gdbdriver.moc: $(srcdir)/gdbdriver.h
127 $(MOC) $(srcdir)/gdbdriver.h -o gdbdriver.moc
129 $(srcdir)/exprwnd.cpp: exprwnd.moc
130 exprwnd.moc: $(srcdir)/exprwnd.h
131 $(MOC) $(srcdir)/exprwnd.h -o exprwnd.moc
133 $(srcdir)/regwnd.cpp: regwnd.moc
134 regwnd.moc: $(srcdir)/regwnd.h
135 $(MOC) $(srcdir)/regwnd.h -o regwnd.moc
137 $(srcdir)/textvw.cpp: textvw.moc
138 textvw.moc: $(srcdir)/textvw.h
139 $(MOC) $(srcdir)/textvw.h -o textvw.moc
141 $(srcdir)/ktreeview.cpp: ktreeview.moc
142 ktreeview.moc: $(srcdir)/ktreeview.h
143 $(MOC) $(srcdir)/ktreeview.h -o ktreeview.moc
145 $(srcdir)/winstack.cpp: winstack.moc
146 winstack.moc: $(srcdir)/winstack.h
147 $(MOC) $(srcdir)/winstack.h -o winstack.moc
149 $(srcdir)/ttywnd.cpp: ttywnd.moc
150 ttywnd.moc: $(srcdir)/ttywnd.h
151 $(MOC) $(srcdir)/ttywnd.h -o ttywnd.moc
153 $(srcdir)/updateui.cpp: updateui.moc
154 updateui.moc: $(srcdir)/updateui.h
155 $(MOC) $(srcdir)/updateui.h -o updateui.moc
157 $(srcdir)/brkpt.cpp: brkpt.moc
158 brkpt.moc: $(srcdir)/brkpt.h
159 $(MOC) $(srcdir)/brkpt.h -o brkpt.moc
161 $(srcdir)/pgmargs.cpp: pgmargs.moc
162 pgmargs.moc: $(srcdir)/pgmargs.h
163 $(MOC) $(srcdir)/pgmargs.h -o pgmargs.moc
165 $(srcdir)/mainwndbase.cpp: mainwndbase.moc
166 mainwndbase.moc: $(srcdir)/mainwndbase.h
167 $(MOC) $(srcdir)/mainwndbase.h -o mainwndbase.moc
169 $(srcdir)/dbgmainwnd.cpp: dbgmainwnd.moc
170 dbgmainwnd.moc: $(srcdir)/dbgmainwnd.h
171 $(MOC) $(srcdir)/dbgmainwnd.h -o dbgmainwnd.moc