# set the include path for X, qt and KDE INCLUDES= $(all_includes) # claim, which subdirectories you want to install SUBDIRS = doc pics typetables testprogs ####### This part is very kdbg specific # you can add here more. This one gets installed bin_PROGRAMS = kdbg # Which sources should be compiled for kdbg. kdbg_SOURCES = \ pgmargs.cpp \ pgmargsbase.ui \ procattach.cpp \ procattachbase.ui \ debugger.cpp \ programconfig.cpp \ dbgdriver.cpp \ gdbdriver.cpp \ xsldbgdriver.cpp \ brkpt.cpp \ exprwnd.cpp \ regwnd.cpp \ memwindow.cpp \ threadlist.cpp \ sourcewnd.cpp \ winstack.cpp \ ttywnd.cpp \ typetable.cpp \ prefdebugger.cpp \ prefmisc.cpp \ pgmsettings.cpp \ mainwndbase.cpp \ dbgmainwnd.cpp \ main.cpp # the library search path kdbg_LDFLAGS = \ $(all_libraries) $(KDE_RPATH) # the libraries to link against. kdbg_LDADD = $(LIB_TDEIO) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_QT) # this option you can leave out. Just, if you use "make dist", you need it noinst_HEADERS = \ pgmargs.h \ procattach.h \ debugger.h \ programconfig.h \ dbgdriver.h \ gdbdriver.h \ xsldbgdriver.h \ brkpt.h \ exprwnd.h \ regwnd.h \ memwindow.h \ threadlist.h \ sourcewnd.h \ winstack.h \ ttywnd.h \ typetable.h \ prefdebugger.h \ prefmisc.h \ pgmsettings.h \ mainwndbase.h \ dbgmainwnd.h \ envvar.h \ commandids.h \ mydebug.h kdbg_METASOURCES = AUTO # if you "make clean", this files get removed. If you want to remove # them while "make distclean", use DISTCLEANFILES CLEANFILES = $(kdbg_METASOURCES) xdg_apps_DATA = kdbg.desktop configdir = $(kde_confdir) config_DATA = kdbgrc rcdir = $(kde_datadir)/kdbg rc_DATA = kdbgui.rc # Make messages.po and move it to $(top_srcdir)/po. "make merge" there. # the -x is for skipping messages already translated in tdelibs # Messages are generated in the source directory so that file names # mentioned in the .pot file are not prefixed by $(srcdir). messages: cd $(srcdir) && \ extractrc *.rc *.ui > rc.cpp && \ LIST=`find . -name \*.h -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.C` && \ $(XGETTEXT) -C -ki18n -kI18N_NOOP -x $(includedir)/kde.pot \ $$LIST && mv messages.po $(top_srcdir)/po/kdbg.pot; \ rm -f rc.cpp EXTRA_DIST = kdbg.desktop kdbgrc