blob: 95887fb6be5a77a845357e911dea149d7b2a11d5 (
plain)
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
|
# set the include path for X, qt and KDE
INCLUDES= $(all_includes)
# 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 \
pgmargsbase.ui \
procattach.cpp \
procattachbase.ui \
debugger.cpp \
programconfig.cpp \
dbgdriver.cpp \
gdbdriver.cpp \
xsldbgdriver.cpp \
brkpt.cpp \
exprwnd.cpp \
regwnd.cpp \
memwindow.cpp \
threadlist.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 = $(LIB_KIO) $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT)
# this option you can leave out. Just, if you use "make dist", you need it
noinst_HEADERS = \
pgmargs.h \
procattach.h \
debugger.h \
programconfig.h \
dbgdriver.h \
gdbdriver.h \
xsldbgdriver.h \
brkpt.h \
exprwnd.h \
regwnd.h \
memwindow.h \
threadlist.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
kdbg_METASOURCES = AUTO
# if you "make clean", this files get removed. If you want to remove
# them while "make distclean", use DISTCLEANFILES
CLEANFILES = $(kdbg_METASOURCES)
xdg_apps_DATA = kdbg.desktop
configdir = $(kde_confdir)
config_DATA = kdbgrc
rcdir = $(kde_datadir)/kdbg
rc_DATA = kdbgui.rc
# Make messages.po and move it to $(top_srcdir)/po. "make merge" there.
# the -x is for skipping messages already translated in kdelibs
# Messages are generated in the source directory so that file names
# mentioned in the .pot file are not prefixed by $(srcdir).
messages:
cd $(srcdir) && \
extractrc *.rc *.ui > rc.cpp && \
LIST=`find . -name \*.h -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.C` && \
$(XGETTEXT) -C -ki18n -kI18N_NOOP -x $(includedir)/kde.pot \
$$LIST && mv messages.po $(top_srcdir)/po/kdbg.pot; \
rm -f rc.cpp
EXTRA_DIST = kdbg.desktop kdbgrc
|