Updated documentation.
[kdbg.git] / kdbg / Makefile.am
blob3a6cec84011f1779452de938c9ab6d81ef9389be
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         updateui.cpp \
38         winstack.cpp \
39         ttywnd.cpp \
40         typetable.cpp \
41         prefdebugger.cpp \
42         mainwndbase.cpp \
43         dbgmainwnd.cpp \
44         main.cpp
46 # the library search path
47 kdbg_LDFLAGS = \
48         $(all_libraries) $(KDE_RPATH)
50 # the libraries to link against.
51 kdbg_LDADD   = \
52         $(top_builddir)/DockWidget/libdock_library.a \
53         $(top_builddir)/STabCtl/libtab_library.a \
54         $(LIB_KFILE)
56 # this option you can leave out. Just, if you use "make dist", you need it
57 noinst_HEADERS = \
58         pgmargs.h \
59         procattach.h \
60         textvw.h \
61         valarray.h \
62         debugger.h \
63         dbgdriver.h \
64         gdbdriver.h \
65         brkpt.h \
66         exprwnd.h \
67         regwnd.h \
68         ktreeview.h \
69         updateui.h \
70         winstack.h \
71         ttywnd.h \
72         typetable.h \
73         prefdebugger.h \
74         mainwndbase.h \
75         dbgmainwnd.h \
76         envvar.h \
77         commandids.h \
78         mydebug.h
80 # just to make sure, automake makes them
81 BUILTSOURCES =  \
82         pgmargs.moc \
83         textvw.moc \
84         debugger.moc \
85         dbgdriver.moc \
86         gdbdriver.moc \
87         brkpt.moc \
88         exprwnd.moc \
89         regwnd.moc \
90         ktreeview.moc \
91         winstack.moc \
92         ttywnd.moc \
93         mainwndbase.moc \
94         dbgmainwnd.moc \
95         updateui.moc
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
109 messages:
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