File: Makefile.am

package info (click to toggle)
kdbg 1.2.4-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,504 kB
  • ctags: 1,945
  • sloc: cpp: 15,961; sh: 8,183; makefile: 481; perl: 71; ansic: 16
file content (212 lines) | stat: -rw-r--r-- 5,534 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
## $Id: Makefile.am,v 1.37.2.1 2001/12/28 21:10:28 jsixt Exp $

# this 10 paths are KDE specific. Use them:
# kde_htmldir       Where your docs should go to. (contains lang subdirs)
# kde_appsdir       Where your application file (.kdelnk) should go to. 
# kde_icondir       Where your icon should go to.
# kde_datadir       Where you install application data. (Use a subdir)
# kde_locale        Where translation files should go to.(contains lang subdirs)
# kde_cgidir        Where cgi-bin executables should go to.
# kde_confdir       Where config files should go to.
# kde_mimedir       Where mimetypes should go to.
# kde_toolbardir    Where general toolbar icons should go to.
# kde_wallpaperdir  Where general wallpapers should go to.

# set the include path for X, qt and KDE
INCLUDES= $(all_includes) -I$(top_srcdir)/STabCtl -I$(top_srcdir)/DockWidget

# claim, which subdirectories you want to install
SUBDIRS = doc pics typetables testprogs

####### This part is very kdbg specific
# you can add here more. This one gets installed 
bin_PROGRAMS = 	kdbg

# Which sources should be compiled for kdbg.
kdbg_SOURCES = \
	pgmargs.cpp \
	procattach.cpp \
	tableview.cpp \
	ktreeview.cpp \
	textvw.cpp \
	debugger.cpp \
	dbgdriver.cpp \
	gdbdriver.cpp \
	brkpt.cpp \
	exprwnd.cpp \
	regwnd.cpp \
	memwindow.cpp \
	threadlist.cpp \
	updateui.cpp \
	sourcewnd.cpp \
	winstack.cpp \
	ttywnd.cpp \
	typetable.cpp \
	prefdebugger.cpp \
	prefmisc.cpp \
	pgmsettings.cpp \
	mainwndbase.cpp \
	dbgmainwnd.cpp \
	main.cpp

# the library search path
kdbg_LDFLAGS = \
	$(all_libraries) $(KDE_RPATH)

# the libraries to link against.
kdbg_LDADD   = \
	$(top_builddir)/DockWidget/libdock_library.a \
	$(top_builddir)/STabCtl/libtab_library.a \
	$(LIB_KFILE)

# this option you can leave out. Just, if you use "make dist", you need it
noinst_HEADERS = \
	pgmargs.h \
	procattach.h \
	tableview.h \
	textvw.h \
	valarray.h \
	debugger.h \
	dbgdriver.h \
	gdbdriver.h \
	brkpt.h \
	exprwnd.h \
	regwnd.h \
	memwindow.h \
	threadlist.h \
	ktreeview.h \
	updateui.h \
	sourcewnd.h \
	winstack.h \
	ttywnd.h \
	typetable.h \
	prefdebugger.h \
	prefmisc.h \
	pgmsettings.h \
	mainwndbase.h \
	dbgmainwnd.h \
	envvar.h \
	commandids.h \
	mydebug.h

# just to make sure, automake makes them
BUILTSOURCES =	\
	pgmargs.moc \
	tableview.moc \
	textvw.moc \
	debugger.moc \
	dbgdriver.moc \
	gdbdriver.moc \
	brkpt.moc \
	exprwnd.moc \
	regwnd.moc \
	memwindow.moc \
	threadlist.moc \
	ktreeview.moc \
	sourcewnd.moc \
	winstack.moc \
	ttywnd.moc \
	pgmsettings.moc \
	mainwndbase.moc \
	dbgmainwnd.moc \
	updateui.moc


# if you "make clean", this files get removed. If you want to remove
# them while "make distclean", use DISTCLEANFILES
CLEANFILES = $(kdbg_METASOURCES)


if BUILDFORKDE2
apps_DATA = kdbg.desktop
else
apps_DATA = kdbg.kdelnk
endif
appsdir = $(kde_appsdir)/Development


# make messages.po. Move this one to ../po/ and "make merge" in po
# the -x is for skipping messages already translated in kdelibs
messages:
	$(XGETTEXT) -C -ki18n -kI18N_NOOP -x $(includedir)/kde.pot $(kdbg_SOURCES) && mv messages.po ../po/kdbg.pot


EXTRA_DIST = kdbg.kdelnk kdbg.desktop

# add a dependency for every moc file to be full portable
# I've added a key binding to emacs for this. 
$(srcdir)/debugger.cpp: debugger.moc
debugger.moc: $(srcdir)/debugger.h
	$(MOC) $(srcdir)/debugger.h -o debugger.moc

$(srcdir)/dbgdriver.cpp: dbgdriver.moc
dbgdriver.moc: $(srcdir)/dbgdriver.h
	$(MOC) $(srcdir)/dbgdriver.h -o dbgdriver.moc

$(srcdir)/gdbdriver.cpp: gdbdriver.moc
gdbdriver.moc: $(srcdir)/gdbdriver.h
	$(MOC) $(srcdir)/gdbdriver.h -o gdbdriver.moc

$(srcdir)/exprwnd.cpp: exprwnd.moc
exprwnd.moc: $(srcdir)/exprwnd.h
	$(MOC) $(srcdir)/exprwnd.h -o exprwnd.moc

$(srcdir)/regwnd.cpp: regwnd.moc
regwnd.moc: $(srcdir)/regwnd.h
	$(MOC) $(srcdir)/regwnd.h -o regwnd.moc

$(srcdir)/memwindow.cpp: memwindow.moc
memwindow.moc: $(srcdir)/memwindow.h
	$(MOC) $(srcdir)/memwindow.h -o memwindow.moc

$(srcdir)/threadlist.cpp: threadlist.moc
threadlist.moc: $(srcdir)/threadlist.h
	$(MOC) $(srcdir)/threadlist.h -o threadlist.moc

$(srcdir)/tableview.cpp: tableview.moc
tableview.moc: $(srcdir)/tableview.h
	$(MOC) $(srcdir)/tableview.h -o tableview.moc

$(srcdir)/textvw.cpp: textvw.moc
textvw.moc: $(srcdir)/textvw.h
	$(MOC) $(srcdir)/textvw.h -o textvw.moc

$(srcdir)/ktreeview.cpp: ktreeview.moc
ktreeview.moc: $(srcdir)/ktreeview.h
	$(MOC) $(srcdir)/ktreeview.h -o ktreeview.moc

$(srcdir)/sourcewnd.cpp: sourcewnd.moc
sourcewnd.moc: $(srcdir)/sourcewnd.h
	$(MOC) $(srcdir)/sourcewnd.h -o sourcewnd.moc

$(srcdir)/winstack.cpp: winstack.moc
winstack.moc: $(srcdir)/winstack.h
	$(MOC) $(srcdir)/winstack.h -o winstack.moc

$(srcdir)/ttywnd.cpp: ttywnd.moc
ttywnd.moc: $(srcdir)/ttywnd.h
	$(MOC) $(srcdir)/ttywnd.h -o ttywnd.moc

$(srcdir)/updateui.cpp: updateui.moc
updateui.moc: $(srcdir)/updateui.h
	$(MOC) $(srcdir)/updateui.h -o updateui.moc

$(srcdir)/brkpt.cpp: brkpt.moc
brkpt.moc: $(srcdir)/brkpt.h
	$(MOC) $(srcdir)/brkpt.h -o brkpt.moc

$(srcdir)/pgmargs.cpp: pgmargs.moc
pgmargs.moc: $(srcdir)/pgmargs.h
	$(MOC) $(srcdir)/pgmargs.h -o pgmargs.moc

$(srcdir)/pgmsettings.cpp: pgmsettings.moc
pgmsettings.moc: $(srcdir)/pgmsettings.h
	$(MOC) $(srcdir)/pgmsettings.h -o pgmsettings.moc

$(srcdir)/mainwndbase.cpp: mainwndbase.moc
mainwndbase.moc: $(srcdir)/mainwndbase.h
	$(MOC) $(srcdir)/mainwndbase.h -o mainwndbase.moc

$(srcdir)/dbgmainwnd.cpp: dbgmainwnd.moc
dbgmainwnd.moc: $(srcdir)/dbgmainwnd.h
	$(MOC) $(srcdir)/dbgmainwnd.h -o dbgmainwnd.moc