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.
42 # the library search path
44 $(all_libraries) $(KDE_RPATH)
46 # the libraries to link against.
47 kdbg_LDADD = $(LIB_KIO)
49 # this option you can leave out. Just, if you use "make dist", you need it
79 kdbg_METASOURCES = AUTO
81 # if you "make clean", this files get removed. If you want to remove
82 # them while "make distclean", use DISTCLEANFILES
83 CLEANFILES = $(kdbg_METASOURCES)
85 xdg_apps_DATA = kdbg.desktop
87 configdir = $(kde_confdir)
90 rcdir = $(kde_datadir)/kdbg
93 # Make messages.po and move it to $(top_srcdir)/po. "make merge" there.
94 # the -x is for skipping messages already translated in kdelibs
95 # Messages are generated in the source directory so that file names
96 # mentioned in the .pot file are not prefixed by $(srcdir).
99 extractrc *.rc *.ui > rc.cpp && \
100 LIST=`find . -name \*.h -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.C` && \
101 $(XGETTEXT) -C -ki18n -kI18N_NOOP -x $(includedir)/kde.pot \
102 $$LIST && mv messages.po $(top_srcdir)/po/kdbg.pot; \
105 EXTRA_DIST = kdbg.desktop kdbgrc