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