Update the admin/ directory.
[kdbg.git] / kdbg / Makefile.am
blob9fe9b9205c583eddc68c1be75bc7a839301db47e
1 # set the include path for X, qt and KDE
2 INCLUDES= $(all_includes)
4 # claim, which subdirectories you want to install
5 SUBDIRS = doc pics typetables testprogs
7 ####### This part is very kdbg specific
8 # you can add here more. This one gets installed 
9 bin_PROGRAMS =  kdbg
11 # Which sources should be compiled for kdbg.
12 kdbg_SOURCES = \
13         pgmargs.cpp \
14         pgmargsbase.ui \
15         procattach.cpp \
16         procattachbase.ui \
17         debugger.cpp \
18         programconfig.cpp \
19         dbgdriver.cpp \
20         gdbdriver.cpp \
21         xsldbgdriver.cpp \
22         brkpt.cpp \
23         exprwnd.cpp \
24         regwnd.cpp \
25         memwindow.cpp \
26         threadlist.cpp \
27         sourcewnd.cpp \
28         winstack.cpp \
29         ttywnd.cpp \
30         typetable.cpp \
31         prefdebugger.cpp \
32         prefmisc.cpp \
33         pgmsettings.cpp \
34         mainwndbase.cpp \
35         dbgmainwnd.cpp \
36         main.cpp
38 # the library search path
39 kdbg_LDFLAGS = \
40         $(all_libraries) $(KDE_RPATH)
42 # the libraries to link against.
43 kdbg_LDADD = $(LIB_KIO)
45 # this option you can leave out. Just, if you use "make dist", you need it
46 noinst_HEADERS = \
47         pgmargs.h \
48         procattach.h \
49         valarray.h \
50         debugger.h \
51         programconfig.h \
52         dbgdriver.h \
53         gdbdriver.h \
54         xsldbgdriver.h \
55         brkpt.h \
56         exprwnd.h \
57         regwnd.h \
58         memwindow.h \
59         threadlist.h \
60         sourcewnd.h \
61         winstack.h \
62         ttywnd.h \
63         typetable.h \
64         prefdebugger.h \
65         prefmisc.h \
66         pgmsettings.h \
67         mainwndbase.h \
68         dbgmainwnd.h \
69         envvar.h \
70         commandids.h \
71         mydebug.h
73 kdbg_METASOURCES = AUTO
75 # if you "make clean", this files get removed. If you want to remove
76 # them while "make distclean", use DISTCLEANFILES
77 CLEANFILES = $(kdbg_METASOURCES)
79 xdg_apps_DATA = kdbg.desktop
81 configdir = $(kde_confdir)
82 config_DATA = kdbgrc
84 rcdir = $(kde_datadir)/kdbg
85 rc_DATA = kdbgui.rc
87 # Make messages.po and move it to $(top_srcdir)/po. "make merge" there.
88 # the -x is for skipping messages already translated in kdelibs
89 # Messages are generated in the source directory so that file names
90 # mentioned in the .pot file are not prefixed by $(srcdir).
91 messages:
92         cd $(srcdir) && \
93         extractrc *.rc *.ui > rc.cpp && \
94         LIST=`find . -name \*.h -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.C` && \
95         $(XGETTEXT) -C -ki18n -kI18N_NOOP -x $(includedir)/kde.pot \
96                 $$LIST && mv messages.po $(top_srcdir)/po/kdbg.pot; \
97         rm -f rc.cpp
99 EXTRA_DIST = kdbg.desktop kdbgrc