AM_CPPFLAGS = -DQT_NO_CAST_ASCII

SUBDIRS = presets pics debuggers

INCLUDES = $(all_includes)
METASOURCES = AUTO

EXTRA_DIST = LICENSE

bin_PROGRAMS = drkonqi crashtest

# Libraries:
AM_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
LDADD  = $(LIB_TDEUI) $(LIB_KIO)

# toplevel.cpp must be last in row due to X-headers being included. (--enable-final)
# Did I mention already that X header files really suck?
drkonqi_SOURCES = krashdcopinterface.skel main.cpp debugger.cpp krashconf.cpp drbugreport.cpp backtrace.cpp toplevel.cpp


check_PROGRAMS = crashtest
crashtest_SOURCES = crashtest.cpp

messages:
	$(XGETTEXT) *.cpp -o $(podir)/drkonqi.pot