3 # set the include path for X, qt and KDE
4 INCLUDES= $(all_includes)
6 # claim, which subdirectories you want to install
7 SUBDIRS = doc pics typetables testprogs
9 ####### This part is very kdbg specific
10 # you can add here more. This one gets installed
13 # Which sources should be compiled for kdbg.
40 # the library search path
42 $(all_libraries) $(KDE_RPATH)
44 # the libraries to link against.
45 kdbg_LDADD = $(LIB_KIO)
47 # this option you can leave out. Just, if you use "make dist", you need it
75 kdbg_METASOURCES = AUTO
77 # if you "make clean", this files get removed. If you want to remove
78 # them while "make distclean", use DISTCLEANFILES
79 CLEANFILES = $(kdbg_METASOURCES)
81 xdg_apps_DATA = kdbg.desktop
83 configdir = $(kde_confdir)
86 rcdir = $(kde_datadir)/kdbg
89 # Make messages.po and move it to $(top_srcdir)/po. "make merge" there.
90 # the -x is for skipping messages already translated in kdelibs
91 # Messages are generated in the source directory so that file names
92 # mentioned in the .pot file are not prefixed by $(srcdir).
95 extractrc *.rc *.ui > rc.cpp && \
96 LIST=`find . -name \*.h -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.C` && \
97 $(XGETTEXT) -C -ki18n -kI18N_NOOP -x $(includedir)/kde.pot \
98 $$LIST && mv messages.po $(top_srcdir)/po/kdbg.pot; \
101 EXTRA_DIST = kdbg.desktop kdbgrc