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