# Makefile.in generated by automake 1.9.6 from Makefile.am.
# KDE tags expanded automatically by am_edit - $Revision: 1.3 $ 
# src/Makefile.  Generated from Makefile.in by configure.

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005  Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.





srcdir = /home/tim/kxmame/kxmame-2.0~beta/./src
top_srcdir = /home/tim/kxmame/kxmame-2.0~beta/.
VPATH = /home/tim/kxmame/kxmame-2.0~beta/./src
pkgdatadir = $(datadir)/kxmame
pkglibdir = $(libdir)/kxmame
pkgincludedir = $(includedir)/kxmame
top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/bin/install -c -p
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = i486-pc-linux-gnu
host_triplet = i486-pc-linux-gnu
target_triplet = i486-pc-linux-gnu
bin_PROGRAMS = kxmame$(EXEEXT)
subdir = src
DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
	$(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
	$(top_srcdir)/configure.in
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(kdelnkdir)" \
	"$(DESTDIR)$(rcdir)"
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
PROGRAMS = $(bin_PROGRAMS)
am_kxmame_OBJECTS = main.$(OBJEXT) kxmame.$(OBJEXT) \
	kxmameview.$(OBJEXT) pref.$(OBJEXT) \
	dirselectiondialog.$(OBJEXT) ColorListViewItem.$(OBJEXT) \
	common_kxmame.$(OBJEXT) koselectaction.$(OBJEXT) \
	auditdialog.$(OBJEXT) kxmamelogo.$(OBJEXT) unzip.$(OBJEXT) \
	kxmamesnaptab.$(OBJEXT) kxmame_joy.$(OBJEXT) \
	kxmameSplash.$(OBJEXT) kxmamesnaplabel.$(OBJEXT) \
	screentab.$(OBJEXT) io.$(OBJEXT) game_list.$(OBJEXT) \
	gxmame.$(OBJEXT) mameio.$(OBJEXT) keyboard.$(OBJEXT) \
	properties.$(OBJEXT) xmame_executable.$(OBJEXT) \
	katefileselector.$(OBJEXT) game_options.$(OBJEXT) \
	options_string.$(OBJEXT) xmame_options.$(OBJEXT) \
	kxmessagebox.$(OBJEXT) kbookmarkhandler.$(OBJEXT)
#>- kxmame_OBJECTS = $(am_kxmame_OBJECTS)
#>+ 16
kxmame_final_OBJECTS = unzip.o kxmame.all_cpp.o 
kxmame_nofinal_OBJECTS = main.$(OBJEXT) kxmame.$(OBJEXT) \
	kxmameview.$(OBJEXT) pref.$(OBJEXT) \
	dirselectiondialog.$(OBJEXT) ColorListViewItem.$(OBJEXT) \
	common_kxmame.$(OBJEXT) koselectaction.$(OBJEXT) \
	auditdialog.$(OBJEXT) kxmamelogo.$(OBJEXT) unzip.$(OBJEXT) \
	kxmamesnaptab.$(OBJEXT) kxmame_joy.$(OBJEXT) \
	kxmameSplash.$(OBJEXT) kxmamesnaplabel.$(OBJEXT) \
	screentab.$(OBJEXT) io.$(OBJEXT) game_list.$(OBJEXT) \
	gxmame.$(OBJEXT) mameio.$(OBJEXT) keyboard.$(OBJEXT) \
	properties.$(OBJEXT) xmame_executable.$(OBJEXT) \
	katefileselector.$(OBJEXT) game_options.$(OBJEXT) \
	options_string.$(OBJEXT) xmame_options.$(OBJEXT) \
	kxmessagebox.$(OBJEXT) kbookmarkhandler.$(OBJEXT) DirTab.$(OBJEXT) DisplayPref.$(OBJEXT) GLrender.$(OBJEXT) progress.$(OBJEXT) sdlrender.$(OBJEXT) soundpref.$(OBJEXT) x11render.$(OBJEXT) audit.$(OBJEXT) vectorpref.$(OBJEXT) ctrlpref.$(OBJEXT) miscpref.$(OBJEXT) startuppref.$(OBJEXT) gameinfo.$(OBJEXT)
kxmame_OBJECTS = $(kxmame_nofinal_OBJECTS)
#kxmame_OBJECTS = $(kxmame_final_OBJECTS)
am__DEPENDENCIES_1 =
kxmame_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
am__depfiles_maybe = depfiles
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
	$(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
	$(AM_LDFLAGS) $(LDFLAGS) -o $@
#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
#>- 	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
#>+ 2
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
#>- LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
#>- 	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
#>- 	$(AM_CXXFLAGS) $(CXXFLAGS)
#>+ 3
LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
	$(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
CXXLD = $(CXX)
#>- CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
#>- 	$(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
#>+ 2
CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
	$(CXXFLAGS) $(KDE_CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
SOURCES = $(kxmame_SOURCES)
DIST_SOURCES = $(kxmame_SOURCES)
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
    *) f=$$p;; \
  esac;
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
kdelnkDATA_INSTALL = $(INSTALL_DATA)
rcDATA_INSTALL = $(INSTALL_DATA)
DATA = $(kdelnk_DATA) $(rc_DATA)
HEADERS = $(noinst_HEADERS)
ETAGS = etags
CTAGS = ctags
#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
#>+ 1
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
ACLOCAL = ${SHELL} /home/tim/kxmame/kxmame-2.0~beta/admin/missing --run aclocal-1.9
AMDEP_FALSE = 
AMDEP_TRUE = #
AMTAR = ${SHELL} /home/tim/kxmame/kxmame-2.0~beta/admin/missing --run tar
AR = ar
ARTSCCONFIG = /usr/bin/artsc-config
AUTOCONF = $(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure
AUTODIRS = 
AUTOHEADER = ${SHELL} /home/tim/kxmame/kxmame-2.0~beta/admin/missing --run autoheader
AUTOMAKE = ${SHELL} /home/tim/kxmame/kxmame-2.0~beta/admin/missing --run automake-1.9
AWK = gawk
CC = cc
CCDEPMODE = depmode=none
CFLAGS = -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2  -g -Wall -O2 -Wformat-security -Wmissing-format-attribute -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DKXMAME
CONF_FILES =  $(top_srcdir)/./admin/configure.in.min $(top_srcdir)/configure.in.in
CPP = cc -E
CPPFLAGS =  -DQT_THREAD_SUPPORT  -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
CXX = g++
CXXCPP = g++ -E
CXXDEPMODE = depmode=none
CXXFLAGS = -Wno-long-long -Wundef -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DKXMAME
CYGPATH_W = echo
DCOPIDL = /usr/bin/dcopidl
DCOPIDL2CPP = /usr/bin/dcopidl2cpp
DCOPIDLNG = /usr/bin/dcopidlng
DCOP_DEPENDENCIES = $(DCOPIDL) $(DCOPIDLNG)
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
ECHO = echo
ECHO_C = 
ECHO_N = -n
ECHO_T = 
EGREP = /bin/grep -E
ENABLE_PERMISSIVE_FLAG = -fpermissive
EXEEXT = 
F77 = 
FFLAGS = 
FRAMEWORK_COREAUDIO = 
GLIB_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
GLIB_LDFLAGS =  
GLIB_LIBADD = -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0  
GMSGFMT = /usr/bin/msgfmt
GREP = /bin/grep
HAVE_GCC_VISIBILITY = 0
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL} $(INSTALL_STRIP_FLAG)
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
KCFG_DEPENDENCIES = $(KCONFIG_COMPILER)
KCONFIG_COMPILER = /usr/bin/kconfig_compiler
KDECONFIG = /usr/bin/kde-config
KDE_CHECK_PLUGIN = $(KDE_PLUGIN) -rpath $(libdir)
KDE_EXTRA_RPATH = 
KDE_INCLUDES = -I/usr/include/kde
KDE_LDFLAGS = -L/usr/lib
KDE_MT_LDFLAGS = 
KDE_MT_LIBS = -lpthread
KDE_NO_UNDEFINED = -Wl,--no-undefined -Wl,--allow-shlib-undefined
KDE_PLUGIN = -avoid-version -module -no-undefined $(KDE_NO_UNDEFINED) $(KDE_RPATH) $(KDE_MT_LDFLAGS)
KDE_RPATH = 
KDE_USE_CLOSURE_FALSE = 
KDE_USE_CLOSURE_TRUE = #
KDE_USE_FINAL_FALSE = 
KDE_USE_FINAL_TRUE = #
KDE_USE_FPIE = -fpie
KDE_USE_NMCHECK_FALSE = 
KDE_USE_NMCHECK_TRUE = #
KDE_USE_PIE = -pie
KDE_XSL_STYLESHEET = /usr/share/apps/ksgmltools2/customization/kde-chunk.xsl
LDFLAGS = 
LDFLAGS_AS_NEEDED = 
LDFLAGS_NEW_DTAGS = 
LIBCOMPAT = 
LIBCRYPT = -lcrypt
LIBDL = -ldl
LIBJPEG = -ljpeg
LIBOBJS = 
LIBPNG = -lpng -lz -lm
LIBPTHREAD = -lpthread
LIBRESOLV = -lresolv
LIBS = 
LIBSM = -lSM -lICE
LIBSOCKET = 
LIBTOOL = $(SHELL) $(top_builddir)/libtool --silent
LIBUCB = 
LIBUTIL = -lutil
LIBZ = -lz
LIB_KAB = -lkab
LIB_KABC = -lkabc
LIB_KDECORE = -lkdecore
LIB_KDED = 
LIB_KDEPIM = -lkdepim
LIB_KDEPRINT = -lkdeprint
LIB_KDEUI = -lkdeui
LIB_KDNSSD = -lkdnssd
LIB_KFILE = -lkio
LIB_KFM = 
LIB_KHTML = -lkhtml
LIB_KIMPROXY = -lkimproxy
LIB_KIO = -lkio
LIB_KJS = -lkjs
LIB_KNEWSTUFF = -lknewstuff
LIB_KPARTS = -lkparts
LIB_KSPELL = -lkspell
LIB_KSYCOCA = -lkio
LIB_KUNITTEST = -lkunittest
LIB_KUTILS = -lkutils
LIB_POLL = 
LIB_QPE = 
LIB_QT = -lqt-mt  $(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM) -lpthread
LIB_SMB = -lsmb
LIB_X11 = -lX11 $(LIBSOCKET)
LIB_XEXT = -lXext
LIB_XRENDER = 
LN_S = ln -s
LTLIBOBJS = 
MAKEINFO = ${SHELL} /home/tim/kxmame/kxmame-2.0~beta/admin/missing --run makeinfo
MAKEKDEWIDGETS = 
MCOPIDL = /usr/bin/mcopidl
MEINPROC = /usr/bin/meinproc
MOC = /usr/share/qt3/bin/moc
MSGFMT = /usr/bin/msgfmt
NOOPT_CFLAGS = -O0
NOOPT_CXXFLAGS = -O0
OBJEXT = o
PACKAGE = kxmame
PACKAGE_BUGREPORT = 
PACKAGE_NAME = 
PACKAGE_STRING = 
PACKAGE_TARNAME = 
PACKAGE_VERSION = 
PATH_SEPARATOR = :
PERL = /usr/bin/perl
PKG_CONFIG = /usr/bin/pkg-config
QTE_NORTTI = 
QT_INCLUDES = -I/usr/share/qt3/include
QT_LDFLAGS = -L/usr/share/qt3/lib
RANLIB = ranlib
SET_MAKE = 
SHELL = /bin/sh
STRIP = strip
TOPSUBDIRS =  doc po src
UIC = /usr/share/qt3/bin/uic -L $(kde_widgetdir) -nounload
UIC_TR = tr2i18n
USER_INCLUDES = 
USER_LDFLAGS = 
USE_EXCEPTIONS = -fexceptions
USE_RTTI = 
USE_THREADS = 
VERSION = 2.0-beta
WOVERLOADED_VIRTUAL = 
XGETTEXT = /usr/bin/xgettext
XINELIB_CFLAGS = 
XINELIB_LDFLAGS = 
XMKMF = 
XMLLINT = /usr/bin/xmllint
X_EXTRA_LIBS = 
X_INCLUDES = -I.
X_LDFLAGS = -L/usr/lib
X_PRE_LIBS = 
X_RPATH = 
ac_ct_CC = cc
ac_ct_CXX = 
ac_ct_F77 = 
all_includes = -I/usr/include/kde -I/usr/share/qt3/include -I. 
all_libraries = -L/usr/share/qt3/lib -L/usr/lib   
am__fastdepCC_FALSE = 
am__fastdepCC_TRUE = #
am__fastdepCXX_FALSE = 
am__fastdepCXX_TRUE = #
am__include = include
am__leading_dot = .
am__quote = 
am__tar = ${AMTAR} chof - "$$tardir"
am__untar = ${AMTAR} xf -
bindir = ${exec_prefix}/bin
build = i486-pc-linux-gnu
build_alias = i486-linux-gnu
build_cpu = i486
build_os = linux-gnu
build_vendor = pc
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE}
dvidir = ${docdir}
exec_prefix = ${prefix}
host = i486-pc-linux-gnu
host_alias = 
host_cpu = i486
host_os = linux-gnu
host_vendor = pc
htmldir = ${docdir}
include_ARTS_FALSE = #
include_ARTS_TRUE = 
include_x11_FALSE = #
include_x11_TRUE = 
includedir = ${prefix}/include/kde
infodir = ${prefix}/share/info
install_sh = /home/tim/kxmame/kxmame-2.0~beta/admin/install-sh
kde_appsdir = ${datadir}/applnk
kde_bindir = ${exec_prefix}/bin
kde_confdir = /etc/kde3
kde_datadir = ${datadir}/apps
kde_htmldir = /usr/share/doc/kde/HTML
kde_icondir = ${datadir}/icons
kde_includes = /usr/include/kde
kde_kcfgdir = ${datadir}/config.kcfg
kde_libraries = /usr/lib
kde_libs_htmldir = /usr/share/doc/kde/HTML
kde_libs_prefix = /usr
kde_locale = ${datadir}/locale
kde_mimedir = ${datadir}/mimelnk
kde_moduledir = ${libdir}/kde3
kde_qtver = 3
kde_servicesdir = ${datadir}/services
kde_servicetypesdir = ${datadir}/servicetypes
kde_sounddir = ${datadir}/sounds
kde_styledir = ${libdir}/kde3/plugins/styles
kde_templatesdir = ${datadir}/templates
kde_wallpaperdir = ${datadir}/wallpapers
kde_widgetdir = /usr/lib/kde3/plugins/designer
kdeinitdir = $(kde_moduledir)
libdir = ${exec_prefix}/lib
libexecdir = ${prefix}/lib/kxmame
localedir = ${datarootdir}/locale
localstatedir = /var
mandir = ${prefix}/share/man
mkdir_p = mkdir -p --
oldincludedir = /usr/include
pdfdir = ${docdir}
prefix = /usr
program_transform_name = s,x,x,
psdir = ${docdir}
qt_includes = /usr/share/qt3/include
qt_libraries = /usr/share/qt3/lib
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
sysconfdir = /etc
target = i486-pc-linux-gnu
target_alias = 
target_cpu = i486
target_os = linux-gnu
target_vendor = pc
unsermake_enable_pch_FALSE = 
unsermake_enable_pch_TRUE = #
x_includes = .
x_libraries = /usr/lib
xdg_appsdir = ${datadir}/applications/kde
xdg_directorydir = ${datadir}/desktop-directories
xdg_menudir = ${sysconfdir}/xdg/menus

# set the include path for X, qt and KDE
INCLUDES = $(all_includes)

# the library search path. 
kxmame_LDFLAGS = $(KDE_RPATH) $(all_libraries)

# the libraries to link against.
kxmame_LDADD = $(GLIB_LDFLAGS) $(GLIB_LIBADD) $(LIB_KFILE) $(LIB_KDEPRINT)

# which sources should be compiled for kxmame
#>- kxmame_SOURCES = main.cpp kxmame.cpp kxmameview.cpp pref.cpp \
#>- 		dirselectiondialog.cpp ColorListViewItem.cpp common_kxmame.cpp koselectaction.cpp DirTab.ui \
#>- 		DisplayPref.ui GLrender.ui progress.ui sdlrender.ui soundpref.ui x11render.ui audit.ui \
#>- 		auditdialog.cpp kxmamelogo.cpp vectorpref.ui ctrlpref.ui miscpref.ui unzip.c \
#>- 		kxmamesnaptab.cpp startuppref.ui gameinfo.ui kxmame_joy.cpp kxmameSplash.cpp \
#>- 		kxmamesnaplabel.cpp screentab.cpp screentab.h io.cpp game_list.cpp gxmame.cpp mameio.cpp \
#>- 		keyboard.cpp properties.cpp xmame_executable.cpp katefileselector.cpp \
#>- 		game_options.cpp options_string.cpp xmame_options.cpp kxmessagebox.cpp \
#>- 	kbookmarkhandler.cpp
#>+ 9
kxmame_SOURCES=main.cpp kxmame.cpp kxmameview.cpp pref.cpp \
		dirselectiondialog.cpp ColorListViewItem.cpp common_kxmame.cpp koselectaction.cpp  \
		       \
		auditdialog.cpp kxmamelogo.cpp    unzip.c \
		kxmamesnaptab.cpp   kxmame_joy.cpp kxmameSplash.cpp \
		kxmamesnaplabel.cpp screentab.cpp screentab.h io.cpp game_list.cpp gxmame.cpp mameio.cpp \
		keyboard.cpp properties.cpp xmame_executable.cpp katefileselector.cpp \
		game_options.cpp options_string.cpp xmame_options.cpp kxmessagebox.cpp \
	kbookmarkhandler.cpp DirTab.cpp DisplayPref.cpp GLrender.cpp progress.cpp sdlrender.cpp soundpref.cpp x11render.cpp audit.cpp vectorpref.cpp ctrlpref.cpp miscpref.cpp startuppref.cpp gameinfo.cpp


# these are the headers for your project
noinst_HEADERS = kxmame.h kxmameview.h pref.h common.h game_list.h gxmame.h \
	xmame_executable.h xmame_options.h dirselectiondialog.h ColorListViewItem.h game_options.h \
	options_string.h keyboard.h progression_window.h auditdialog.h kxmamelogo.h unzip.h \
	kxmamesnaptab.h properties.h kxmame_joy.h kxmameSplash.h kxmamesnaplabel.h


# client stuff

# let automoc handle all of the meta source files (moc)
#>- METASOURCES = AUTO
KDE_ICON = AUTO

# this is where the kdelnk file will go 
kdelnkdir = $(kde_appsdir)/Utilities
kdelnk_DATA = kxmame.desktop

# this is where the XML-GUI resource file goes
rcdir = $(kde_datadir)/kxmame
rc_DATA = kxmameui.rc
#>- all: all-am
#>+ 1
all: docs-am  all-am

.SUFFIXES:
.SUFFIXES: .c .cpp .lo .o .obj
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
#>- 	@for dep in $?; do \
#>- 	  case '$(am__configure_deps)' in \
#>- 	    *$$dep*) \
#>- 	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
#>- 		&& exit 0; \
#>- 	      exit 1;; \
#>- 	  esac; \
#>- 	done; \
#>- 	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/Makefile'; \
#>- 	cd $(top_srcdir) && \
#>- 	  $(AUTOMAKE) --gnu  src/Makefile
#>+ 12
	@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
		&& exit 0; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/Makefile'; \
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --gnu  src/Makefile
	cd $(top_srcdir) && perl admin/am_edit src/Makefile.in
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	@case '$?' in \
	  *config.status*) \
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
	  *) \
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
	esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

$(top_srcdir)/configure:  $(am__configure_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
install-binPROGRAMS: $(bin_PROGRAMS)
	@$(NORMAL_INSTALL)
	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
	  if test -f $$p \
	     || test -f $$p1 \
	  ; then \
	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
	  else :; fi; \
	done

uninstall-binPROGRAMS:
	@$(NORMAL_UNINSTALL)
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
	done

clean-binPROGRAMS:
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
	  echo " rm -f $$p $$f"; \
	  rm -f $$p $$f ; \
	done
kxmame$(EXEEXT): $(kxmame_OBJECTS) $(kxmame_DEPENDENCIES) 
	@rm -f kxmame$(EXEEXT)
	$(CXXLINK) $(kxmame_LDFLAGS) $(kxmame_OBJECTS) $(kxmame_LDADD) $(LIBS)

mostlyclean-compile:
	-rm -f *.$(OBJEXT)

distclean-compile:
	-rm -f *.tab.c

#include ./$(DEPDIR)/ColorListViewItem.Po
#include ./$(DEPDIR)/auditdialog.Po
#include ./$(DEPDIR)/common_kxmame.Po
#include ./$(DEPDIR)/dirselectiondialog.Po
#include ./$(DEPDIR)/game_list.Po
#include ./$(DEPDIR)/game_options.Po
#include ./$(DEPDIR)/gxmame.Po
#include ./$(DEPDIR)/io.Po
#include ./$(DEPDIR)/katefileselector.Po
#include ./$(DEPDIR)/kbookmarkhandler.Po
#include ./$(DEPDIR)/keyboard.Po
#include ./$(DEPDIR)/koselectaction.Po
#include ./$(DEPDIR)/kxmame.Po
#include ./$(DEPDIR)/kxmameSplash.Po
#include ./$(DEPDIR)/kxmame_joy.Po
#include ./$(DEPDIR)/kxmamelogo.Po
#include ./$(DEPDIR)/kxmamesnaplabel.Po
#include ./$(DEPDIR)/kxmamesnaptab.Po
#include ./$(DEPDIR)/kxmameview.Po
#include ./$(DEPDIR)/kxmessagebox.Po
#include ./$(DEPDIR)/main.Po
#include ./$(DEPDIR)/mameio.Po
#include ./$(DEPDIR)/options_string.Po
#include ./$(DEPDIR)/pref.Po
#include ./$(DEPDIR)/properties.Po
#include ./$(DEPDIR)/screentab.Po
#include ./$(DEPDIR)/unzip.Po
#include ./$(DEPDIR)/xmame_executable.Po
#include ./$(DEPDIR)/xmame_options.Po

.c.o:
#	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
#	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
#	source='$<' object='$@' libtool=no 
#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) 
	$(COMPILE) -c $<

.c.obj:
#	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
#	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
#	source='$<' object='$@' libtool=no 
#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) 
	$(COMPILE) -c `$(CYGPATH_W) '$<'`

.c.lo:
#	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
#	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
#	source='$<' object='$@' libtool=yes 
#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) 
	$(LTCOMPILE) -c -o $@ $<

.cpp.o:
#	if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
#	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
#	source='$<' object='$@' libtool=no 
#	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) 
	$(CXXCOMPILE) -c -o $@ $<

.cpp.obj:
#	if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
#	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
#	source='$<' object='$@' libtool=no 
#	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) 
	$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`

.cpp.lo:
#	if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
#	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
#	source='$<' object='$@' libtool=yes 
#	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) 
	$(LTCXXCOMPILE) -c -o $@ $<

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:
	-rm -f libtool
uninstall-info-am:
install-kdelnkDATA: $(kdelnk_DATA)
	@$(NORMAL_INSTALL)
	test -z "$(kdelnkdir)" || $(mkdir_p) "$(DESTDIR)$(kdelnkdir)"
	@list='$(kdelnk_DATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f=$(am__strip_dir) \
	  echo " $(kdelnkDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(kdelnkdir)/$$f'"; \
	  $(kdelnkDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(kdelnkdir)/$$f"; \
	done

uninstall-kdelnkDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(kdelnk_DATA)'; for p in $$list; do \
	  f=$(am__strip_dir) \
	  echo " rm -f '$(DESTDIR)$(kdelnkdir)/$$f'"; \
	  rm -f "$(DESTDIR)$(kdelnkdir)/$$f"; \
	done
install-rcDATA: $(rc_DATA)
	@$(NORMAL_INSTALL)
	test -z "$(rcdir)" || $(mkdir_p) "$(DESTDIR)$(rcdir)"
	@list='$(rc_DATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f=$(am__strip_dir) \
	  echo " $(rcDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(rcdir)/$$f'"; \
	  $(rcDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(rcdir)/$$f"; \
	done

uninstall-rcDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(rc_DATA)'; for p in $$list; do \
	  f=$(am__strip_dir) \
	  echo " rm -f '$(DESTDIR)$(rcdir)/$$f'"; \
	  rm -f "$(DESTDIR)$(rcdir)/$$f"; \
	done

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	mkid -fID $$unique
tags: TAGS

TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
	  test -n "$$unique" || unique=$$empty_fix; \
	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	    $$tags $$unique; \
	fi
ctags: CTAGS
CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(CTAGS_ARGS)$$tags$$unique" \
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
	     $$tags $$unique

GTAGS:
	here=`$(am__cd) $(top_builddir) && pwd` \
	  && cd $(top_srcdir) \
	  && gtags -i $(GTAGS_ARGS) $$here

distclean-tags:
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags

distdir: $(DISTFILES)
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
	list='$(DISTFILES)'; for file in $$list; do \
	  case $$file in \
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
	  esac; \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
	    dir="/$$dir"; \
	    $(mkdir_p) "$(distdir)$$dir"; \
	  else \
	    dir=''; \
	  fi; \
	  if test -d $$d/$$file; then \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
	    fi; \
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
	  else \
	    test -f $(distdir)/$$file \
	    || cp -p $$d/$$file $(distdir)/$$file \
	    || exit 1; \
	  fi; \
	done
check-am: all-am
check: check-am
all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS)
installdirs:
	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(kdelnkdir)" "$(DESTDIR)$(rcdir)"; do \
	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
	done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	  `test -z '$(STRIP)' || \
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:

distclean-generic:
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
#>- clean: clean-am
#>+ 1
clean: kde-rpo-clean  clean-am

#>- clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
#>+ 1
clean-am: clean-metasources clean-ui clean-bcheck clean-final  clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am

distclean: distclean-am
	-rm -rf ./$(DEPDIR)
	-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
	distclean-libtool distclean-tags

dvi: dvi-am

dvi-am:

html: html-am

info: info-am

info-am:

#>- install-data-am: install-kdelnkDATA install-rcDATA
#>+ 1
install-data-am: install-kde-icons  install-kdelnkDATA install-rcDATA

install-exec-am: install-binPROGRAMS

install-info: install-info-am

install-man:

installcheck-am:

maintainer-clean: maintainer-clean-am
	-rm -rf ./$(DEPDIR)
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-compile mostlyclean-generic \
	mostlyclean-libtool

pdf: pdf-am

pdf-am:

ps: ps-am

ps-am:

#>- uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
#>- 	uninstall-kdelnkDATA uninstall-rcDATA
#>+ 2
uninstall-am: uninstall-kde-icons  uninstall-binPROGRAMS uninstall-info-am \
	uninstall-kdelnkDATA uninstall-rcDATA

.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
	clean-generic clean-libtool ctags distclean distclean-compile \
	distclean-generic distclean-libtool distclean-tags distdir dvi \
	dvi-am html html-am info info-am install install-am \
	install-binPROGRAMS install-data install-data-am install-exec \
	install-exec-am install-info install-info-am \
	install-kdelnkDATA install-man install-rcDATA install-strip \
	installcheck installcheck-am installdirs maintainer-clean \
	maintainer-clean-generic mostlyclean mostlyclean-compile \
	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
	tags uninstall uninstall-am uninstall-binPROGRAMS \
	uninstall-info-am uninstall-kdelnkDATA uninstall-rcDATA


messages: rc.cpp
	$(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
	$(XGETTEXT) *.cpp *.c -o $(podir)/kxmame.pot
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

#>+ 3
kxmameview.moc: $(srcdir)/kxmameview.h
	$(MOC) $(srcdir)/kxmameview.h -o kxmameview.moc

#>+ 2
mocs: kxmameview.moc

#>+ 3
kxmamesnaplabel.moc: $(srcdir)/kxmamesnaplabel.h
	$(MOC) $(srcdir)/kxmamesnaplabel.h -o kxmamesnaplabel.moc

#>+ 2
mocs: kxmamesnaplabel.moc

#>+ 3
pref.moc: $(srcdir)/pref.h
	$(MOC) $(srcdir)/pref.h -o pref.moc

#>+ 2
mocs: pref.moc

#>+ 3
koselectaction.moc: $(srcdir)/koselectaction.h
	$(MOC) $(srcdir)/koselectaction.h -o koselectaction.moc

#>+ 2
mocs: koselectaction.moc

#>+ 3
kbookmarkhandler.moc: $(srcdir)/kbookmarkhandler.h
	$(MOC) $(srcdir)/kbookmarkhandler.h -o kbookmarkhandler.moc

#>+ 2
mocs: kbookmarkhandler.moc

#>+ 3
kxmame.moc: $(srcdir)/kxmame.h
	$(MOC) $(srcdir)/kxmame.h -o kxmame.moc

#>+ 2
mocs: kxmame.moc

#>+ 3
screentab.moc: $(srcdir)/screentab.h
	$(MOC) $(srcdir)/screentab.h -o screentab.moc

#>+ 2
mocs: screentab.moc

#>+ 3
katefileselector.moc: $(srcdir)/katefileselector.h
	$(MOC) $(srcdir)/katefileselector.h -o katefileselector.moc

#>+ 2
mocs: katefileselector.moc

#>+ 3
kxmameSplash.moc: $(srcdir)/kxmameSplash.h
	$(MOC) $(srcdir)/kxmameSplash.h -o kxmameSplash.moc

#>+ 2
mocs: kxmameSplash.moc

#>+ 3
dirselectiondialog.moc: $(srcdir)/dirselectiondialog.h
	$(MOC) $(srcdir)/dirselectiondialog.h -o dirselectiondialog.moc

#>+ 2
mocs: dirselectiondialog.moc

#>+ 3
kxmamesnaptab.moc: $(srcdir)/kxmamesnaptab.h
	$(MOC) $(srcdir)/kxmamesnaptab.h -o kxmamesnaptab.moc

#>+ 2
mocs: kxmamesnaptab.moc

#>+ 3
auditdialog.moc: $(srcdir)/auditdialog.h
	$(MOC) $(srcdir)/auditdialog.h -o auditdialog.moc

#>+ 2
mocs: auditdialog.moc

#>+ 3
kxmame_joy.moc: $(srcdir)/kxmame_joy.h
	$(MOC) $(srcdir)/kxmame_joy.h -o kxmame_joy.moc

#>+ 2
mocs: kxmame_joy.moc

#>+ 3
clean-metasources:
	-rm -f  kxmameview.moc kxmamesnaplabel.moc pref.moc koselectaction.moc kbookmarkhandler.moc kxmame.moc screentab.moc katefileselector.moc kxmameSplash.moc dirselectiondialog.moc kxmamesnaptab.moc auditdialog.moc kxmame_joy.moc

#>+ 2
KDE_DIST=katefileselector.h hi16-app-kxmame.png ctrlpref.ui gameinfo.ui miscpref.ui kxmessagebox.h kxmame.desktop progress.ui kxmameui.rc soundpref.ui hi32-app-kxmame.png vectorpref.ui DisplayPref.ui sdlrender.ui koselectaction.h DirTab.ui gui.h io.h Makefile.in GLrender.ui kxmame_64.png kbookmarkhandler.h startuppref.ui audit.ui Makefile.am x11render.ui 

#>+ 16
clean-ui:
	-rm -f \
	DirTab.cpp DirTab.h DirTab.moc \
	DisplayPref.cpp DisplayPref.h DisplayPref.moc \
	GLrender.cpp GLrender.h GLrender.moc \
	progress.cpp progress.h progress.moc \
	sdlrender.cpp sdlrender.h sdlrender.moc \
	soundpref.cpp soundpref.h soundpref.moc \
	x11render.cpp x11render.h x11render.moc \
	audit.cpp audit.h audit.moc \
	vectorpref.cpp vectorpref.h vectorpref.moc \
	ctrlpref.cpp ctrlpref.h ctrlpref.moc \
	miscpref.cpp miscpref.h miscpref.moc \
	startuppref.cpp startuppref.h startuppref.moc \
	gameinfo.cpp gameinfo.h gameinfo.moc 

#>+ 2
docs-am:

#>+ 10
install-kde-icons:
	$(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps
	$(INSTALL_DATA) $(srcdir)/hi32-app-kxmame.png $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps/kxmame.png
	$(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps
	$(INSTALL_DATA) $(srcdir)/hi16-app-kxmame.png $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps/kxmame.png

uninstall-kde-icons:
	-rm -f $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps/kxmame.png
	-rm -f $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps/kxmame.png

#>+ 15
force-reedit:
		@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
		&& exit 0; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/Makefile'; \
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --gnu  src/Makefile
	cd $(top_srcdir) && perl admin/am_edit src/Makefile.in


#>+ 21
clean-bcheck: 
	rm -f *.bchecktest.cc *.bchecktest.cc.class a.out

bcheck: bcheck-am

bcheck-am:
	@for i in ; do \
	    if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
	        echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
	        echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
	        echo "$$i"; \
	        if ! $(CXXCOMPILE)  --dump-class-hierarchy -c $$i.bchecktest.cc; then \
	            rm -f $$i.bchecktest.cc; exit 1; \
	        fi ; \
	        echo "" >> $$i.bchecktest.cc.class; \
	        perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
	        rm -f a.out; \
	    fi ; \
	done


#>+ 11
kxmame.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/main.cpp $(srcdir)/kxmame.cpp $(srcdir)/kxmameview.cpp $(srcdir)/pref.cpp $(srcdir)/dirselectiondialog.cpp $(srcdir)/ColorListViewItem.cpp $(srcdir)/common_kxmame.cpp $(srcdir)/koselectaction.cpp $(srcdir)/auditdialog.cpp $(srcdir)/kxmamelogo.cpp $(srcdir)/kxmamesnaptab.cpp $(srcdir)/kxmame_joy.cpp $(srcdir)/kxmameSplash.cpp $(srcdir)/kxmamesnaplabel.cpp $(srcdir)/screentab.cpp $(srcdir)/io.cpp $(srcdir)/game_list.cpp $(srcdir)/gxmame.cpp $(srcdir)/mameio.cpp $(srcdir)/keyboard.cpp $(srcdir)/properties.cpp $(srcdir)/xmame_executable.cpp $(srcdir)/katefileselector.cpp $(srcdir)/game_options.cpp $(srcdir)/options_string.cpp $(srcdir)/xmame_options.cpp $(srcdir)/kxmessagebox.cpp $(srcdir)/kbookmarkhandler.cpp DirTab.cpp DisplayPref.cpp GLrender.cpp progress.cpp sdlrender.cpp soundpref.cpp x11render.cpp audit.cpp vectorpref.cpp ctrlpref.cpp miscpref.cpp startuppref.cpp gameinfo.cpp  x11render.moc soundpref.moc koselectaction.moc kxmame.moc kbookmarkhandler.moc katefileselector.moc kxmamesnaptab.moc gameinfo.moc vectorpref.moc miscpref.moc DisplayPref.moc kxmameview.moc kxmamesnaplabel.moc progress.moc ctrlpref.moc pref.moc audit.moc GLrender.moc DirTab.moc kxmameSplash.moc screentab.moc dirselectiondialog.moc sdlrender.moc startuppref.moc kxmame_joy.moc auditdialog.moc
	@echo 'creating kxmame.all_cpp.cpp ...'; \
	rm -f kxmame.all_cpp.files kxmame.all_cpp.final; \
	echo "#define KDE_USE_FINAL 1" >> kxmame.all_cpp.final; \
	for file in main.cpp kxmame.cpp kxmameview.cpp pref.cpp dirselectiondialog.cpp ColorListViewItem.cpp common_kxmame.cpp koselectaction.cpp auditdialog.cpp kxmamelogo.cpp kxmamesnaptab.cpp kxmame_joy.cpp kxmameSplash.cpp kxmamesnaplabel.cpp screentab.cpp io.cpp game_list.cpp gxmame.cpp mameio.cpp keyboard.cpp properties.cpp xmame_executable.cpp katefileselector.cpp game_options.cpp options_string.cpp xmame_options.cpp kxmessagebox.cpp kbookmarkhandler.cpp DirTab.cpp DisplayPref.cpp GLrender.cpp progress.cpp sdlrender.cpp soundpref.cpp x11render.cpp audit.cpp vectorpref.cpp ctrlpref.cpp miscpref.cpp startuppref.cpp gameinfo.cpp ; do \
	  echo "#include \"$$file\"" >> kxmame.all_cpp.files; \
	  test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> kxmame.all_cpp.final; \
	done; \
	cat kxmame.all_cpp.final kxmame.all_cpp.files > kxmame.all_cpp.cpp; \
	rm -f kxmame.all_cpp.final kxmame.all_cpp.files

#>+ 3
clean-final:
	-rm -f kxmame.all_cpp.cpp

#>+ 3
final:
	$(MAKE) kxmame_OBJECTS="$(kxmame_final_OBJECTS)" all-am

#>+ 3
final-install:
	$(MAKE) kxmame_OBJECTS="$(kxmame_final_OBJECTS)" install-am

#>+ 3
no-final:
	$(MAKE) kxmame_OBJECTS="$(kxmame_nofinal_OBJECTS)" all-am

#>+ 3
no-final-install:
	$(MAKE) kxmame_OBJECTS="$(kxmame_nofinal_OBJECTS)" install-am

#>+ 3
kde-rpo-clean:
	-rm -f *.rpo

#>+ 59
$(srcdir)/kbookmarkhandler.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
kxmamesnaptab.lo: kxmamesnaptab.moc 
$(srcdir)/gxmame.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
kxmame_joy.o: kxmame_joy.moc 
kxmame.lo: kxmame.moc 
kbookmarkhandler.o: kbookmarkhandler.moc 
kxmameview.o: kxmameview.moc 
$(srcdir)/kxmamelogo.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
$(srcdir)/xmame_executable.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
$(srcdir)/main.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
katefileselector.lo: katefileselector.moc 
$(srcdir)/options_string.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
$(srcdir)/dirselectiondialog.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
dirselectiondialog.o: dirselectiondialog.moc 
$(srcdir)/katefileselector.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
$(srcdir)/game_list.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
screentab.lo: screentab.moc 
auditdialog.lo: auditdialog.moc 
nmcheck-am: nmcheck
pref.lo: pref.moc 
katefileselector.o: katefileselector.moc 
kxmameview.lo: kxmameview.moc 
$(srcdir)/screentab.h: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
kxmamesnaptab.o: kxmamesnaptab.moc 
$(srcdir)/kxmameSplash.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
$(srcdir)/ColorListViewItem.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
kxmame.o: kxmame.moc 
$(srcdir)/kxmameview.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
kxmamesnaplabel.lo: kxmamesnaplabel.moc 
$(srcdir)/unzip.c: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
$(srcdir)/screentab.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
screentab.o: screentab.moc 
$(srcdir)/kxmame_joy.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
$(srcdir)/kxmamesnaptab.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
$(srcdir)/kxmamesnaplabel.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
kbookmarkhandler.lo: kbookmarkhandler.moc 
koselectaction.lo: koselectaction.moc 
kxmamesnaplabel.o: kxmamesnaplabel.moc 
$(srcdir)/auditdialog.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
$(srcdir)/io.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
nmcheck: 
$(srcdir)/kxmame.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
$(srcdir)/mameio.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
$(srcdir)/properties.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
$(srcdir)/keyboard.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
koselectaction.o: koselectaction.moc 
kxmameSplash.o: kxmameSplash.moc 
$(srcdir)/pref.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
$(srcdir)/xmame_options.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
$(srcdir)/koselectaction.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
dirselectiondialog.lo: dirselectiondialog.moc 
kxmame_joy.lo: kxmame_joy.moc 
$(srcdir)/common_kxmame.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
auditdialog.o: auditdialog.moc 
kxmameSplash.lo: kxmameSplash.moc 
$(srcdir)/game_options.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 
pref.o: pref.moc 
$(srcdir)/kxmessagebox.cpp: DirTab.h DisplayPref.h GLrender.h progress.h sdlrender.h soundpref.h x11render.h audit.h vectorpref.h ctrlpref.h miscpref.h startuppref.h gameinfo.h 

#>+ 195
vectorpref.cpp: $(srcdir)/vectorpref.ui vectorpref.h vectorpref.moc
	rm -f vectorpref.cpp
	echo '#include <kdialog.h>' > vectorpref.cpp
	echo '#include <klocale.h>' >> vectorpref.cpp
	$(UIC) -tr ${UIC_TR} -i vectorpref.h $(srcdir)/vectorpref.ui > vectorpref.cpp.temp ; ret=$$?; \
	$(PERL) -pe "s,${UIC_TR}( \"\" ),QString::null,g" vectorpref.cpp.temp | $(PERL) -pe "s,${UIC_TR}( \"\"\, \"\" ),QString::null,g" | $(PERL) -pe "s,image([0-9][0-9]*)_data,img\$$1_vectorpref,g" | $(PERL) -pe "s,: QWizard\(,: KWizard(,g" >> vectorpref.cpp ;\
	rm -f vectorpref.cpp.temp ;\
	if test "$$ret" = 0; then echo '#include "vectorpref.moc"' >> vectorpref.cpp; else rm -f vectorpref.cpp ; exit $$ret ; fi

vectorpref.h: $(srcdir)/vectorpref.ui
	rm -rf vectorpref.h;
	$(UIC) $(srcdir)/vectorpref.ui | $(PERL) -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> vectorpref.h ;
vectorpref.moc: vectorpref.h
	$(MOC) vectorpref.h -o vectorpref.moc

progress.cpp: $(srcdir)/progress.ui progress.h progress.moc
	rm -f progress.cpp
	echo '#include <kdialog.h>' > progress.cpp
	echo '#include <klocale.h>' >> progress.cpp
	$(UIC) -tr ${UIC_TR} -i progress.h $(srcdir)/progress.ui > progress.cpp.temp ; ret=$$?; \
	$(PERL) -pe "s,${UIC_TR}( \"\" ),QString::null,g" progress.cpp.temp | $(PERL) -pe "s,${UIC_TR}( \"\"\, \"\" ),QString::null,g" | $(PERL) -pe "s,image([0-9][0-9]*)_data,img\$$1_progress,g" | $(PERL) -pe "s,: QWizard\(,: KWizard(,g" >> progress.cpp ;\
	rm -f progress.cpp.temp ;\
	if test "$$ret" = 0; then echo '#include "progress.moc"' >> progress.cpp; else rm -f progress.cpp ; exit $$ret ; fi

progress.h: $(srcdir)/progress.ui
	rm -rf progress.h;
	$(UIC) $(srcdir)/progress.ui | $(PERL) -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> progress.h ;
progress.moc: progress.h
	$(MOC) progress.h -o progress.moc

DirTab.cpp: $(srcdir)/DirTab.ui DirTab.h DirTab.moc
	rm -f DirTab.cpp
	echo '#include <kdialog.h>' > DirTab.cpp
	echo '#include <klocale.h>' >> DirTab.cpp
	$(UIC) -tr ${UIC_TR} -i DirTab.h $(srcdir)/DirTab.ui > DirTab.cpp.temp ; ret=$$?; \
	$(PERL) -pe "s,${UIC_TR}( \"\" ),QString::null,g" DirTab.cpp.temp | $(PERL) -pe "s,${UIC_TR}( \"\"\, \"\" ),QString::null,g" | $(PERL) -pe "s,image([0-9][0-9]*)_data,img\$$1_DirTab,g" | $(PERL) -pe "s,: QWizard\(,: KWizard(,g" >> DirTab.cpp ;\
	rm -f DirTab.cpp.temp ;\
	if test "$$ret" = 0; then echo '#include "DirTab.moc"' >> DirTab.cpp; else rm -f DirTab.cpp ; exit $$ret ; fi

DirTab.h: $(srcdir)/DirTab.ui
	rm -rf DirTab.h;
	$(UIC) $(srcdir)/DirTab.ui | $(PERL) -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> DirTab.h ;
DirTab.moc: DirTab.h
	$(MOC) DirTab.h -o DirTab.moc

DisplayPref.cpp: $(srcdir)/DisplayPref.ui DisplayPref.h DisplayPref.moc
	rm -f DisplayPref.cpp
	echo '#include <kdialog.h>' > DisplayPref.cpp
	echo '#include <klocale.h>' >> DisplayPref.cpp
	$(UIC) -tr ${UIC_TR} -i DisplayPref.h $(srcdir)/DisplayPref.ui > DisplayPref.cpp.temp ; ret=$$?; \
	$(PERL) -pe "s,${UIC_TR}( \"\" ),QString::null,g" DisplayPref.cpp.temp | $(PERL) -pe "s,${UIC_TR}( \"\"\, \"\" ),QString::null,g" | $(PERL) -pe "s,image([0-9][0-9]*)_data,img\$$1_DisplayPref,g" | $(PERL) -pe "s,: QWizard\(,: KWizard(,g" >> DisplayPref.cpp ;\
	rm -f DisplayPref.cpp.temp ;\
	if test "$$ret" = 0; then echo '#include "DisplayPref.moc"' >> DisplayPref.cpp; else rm -f DisplayPref.cpp ; exit $$ret ; fi

DisplayPref.h: $(srcdir)/DisplayPref.ui
	rm -rf DisplayPref.h;
	$(UIC) $(srcdir)/DisplayPref.ui | $(PERL) -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> DisplayPref.h ;
DisplayPref.moc: DisplayPref.h
	$(MOC) DisplayPref.h -o DisplayPref.moc

audit.cpp: $(srcdir)/audit.ui audit.h audit.moc
	rm -f audit.cpp
	echo '#include <kdialog.h>' > audit.cpp
	echo '#include <klocale.h>' >> audit.cpp
	$(UIC) -tr ${UIC_TR} -i audit.h $(srcdir)/audit.ui > audit.cpp.temp ; ret=$$?; \
	$(PERL) -pe "s,${UIC_TR}( \"\" ),QString::null,g" audit.cpp.temp | $(PERL) -pe "s,${UIC_TR}( \"\"\, \"\" ),QString::null,g" | $(PERL) -pe "s,image([0-9][0-9]*)_data,img\$$1_audit,g" | $(PERL) -pe "s,: QWizard\(,: KWizard(,g" >> audit.cpp ;\
	rm -f audit.cpp.temp ;\
	if test "$$ret" = 0; then echo '#include "audit.moc"' >> audit.cpp; else rm -f audit.cpp ; exit $$ret ; fi

audit.h: $(srcdir)/audit.ui
	rm -rf audit.h;
	$(UIC) $(srcdir)/audit.ui | $(PERL) -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> audit.h ;
audit.moc: audit.h
	$(MOC) audit.h -o audit.moc

gameinfo.cpp: $(srcdir)/gameinfo.ui gameinfo.h gameinfo.moc
	rm -f gameinfo.cpp
	echo '#include <kdialog.h>' > gameinfo.cpp
	echo '#include <klocale.h>' >> gameinfo.cpp
	$(UIC) -tr ${UIC_TR} -i gameinfo.h $(srcdir)/gameinfo.ui > gameinfo.cpp.temp ; ret=$$?; \
	$(PERL) -pe "s,${UIC_TR}( \"\" ),QString::null,g" gameinfo.cpp.temp | $(PERL) -pe "s,${UIC_TR}( \"\"\, \"\" ),QString::null,g" | $(PERL) -pe "s,image([0-9][0-9]*)_data,img\$$1_gameinfo,g" | $(PERL) -pe "s,: QWizard\(,: KWizard(,g" >> gameinfo.cpp ;\
	rm -f gameinfo.cpp.temp ;\
	if test "$$ret" = 0; then echo '#include "gameinfo.moc"' >> gameinfo.cpp; else rm -f gameinfo.cpp ; exit $$ret ; fi

gameinfo.h: $(srcdir)/gameinfo.ui
	rm -rf gameinfo.h;
	$(UIC) $(srcdir)/gameinfo.ui | $(PERL) -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> gameinfo.h ;
gameinfo.moc: gameinfo.h
	$(MOC) gameinfo.h -o gameinfo.moc

soundpref.cpp: $(srcdir)/soundpref.ui soundpref.h soundpref.moc
	rm -f soundpref.cpp
	echo '#include <kdialog.h>' > soundpref.cpp
	echo '#include <klocale.h>' >> soundpref.cpp
	$(UIC) -tr ${UIC_TR} -i soundpref.h $(srcdir)/soundpref.ui > soundpref.cpp.temp ; ret=$$?; \
	$(PERL) -pe "s,${UIC_TR}( \"\" ),QString::null,g" soundpref.cpp.temp | $(PERL) -pe "s,${UIC_TR}( \"\"\, \"\" ),QString::null,g" | $(PERL) -pe "s,image([0-9][0-9]*)_data,img\$$1_soundpref,g" | $(PERL) -pe "s,: QWizard\(,: KWizard(,g" >> soundpref.cpp ;\
	rm -f soundpref.cpp.temp ;\
	if test "$$ret" = 0; then echo '#include "soundpref.moc"' >> soundpref.cpp; else rm -f soundpref.cpp ; exit $$ret ; fi

soundpref.h: $(srcdir)/soundpref.ui
	rm -rf soundpref.h;
	$(UIC) $(srcdir)/soundpref.ui | $(PERL) -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> soundpref.h ;
soundpref.moc: soundpref.h
	$(MOC) soundpref.h -o soundpref.moc

miscpref.cpp: $(srcdir)/miscpref.ui miscpref.h miscpref.moc
	rm -f miscpref.cpp
	echo '#include <kdialog.h>' > miscpref.cpp
	echo '#include <klocale.h>' >> miscpref.cpp
	$(UIC) -tr ${UIC_TR} -i miscpref.h $(srcdir)/miscpref.ui > miscpref.cpp.temp ; ret=$$?; \
	$(PERL) -pe "s,${UIC_TR}( \"\" ),QString::null,g" miscpref.cpp.temp | $(PERL) -pe "s,${UIC_TR}( \"\"\, \"\" ),QString::null,g" | $(PERL) -pe "s,image([0-9][0-9]*)_data,img\$$1_miscpref,g" | $(PERL) -pe "s,: QWizard\(,: KWizard(,g" >> miscpref.cpp ;\
	rm -f miscpref.cpp.temp ;\
	if test "$$ret" = 0; then echo '#include "miscpref.moc"' >> miscpref.cpp; else rm -f miscpref.cpp ; exit $$ret ; fi

miscpref.h: $(srcdir)/miscpref.ui
	rm -rf miscpref.h;
	$(UIC) $(srcdir)/miscpref.ui | $(PERL) -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> miscpref.h ;
miscpref.moc: miscpref.h
	$(MOC) miscpref.h -o miscpref.moc

GLrender.cpp: $(srcdir)/GLrender.ui GLrender.h GLrender.moc
	rm -f GLrender.cpp
	echo '#include <kdialog.h>' > GLrender.cpp
	echo '#include <klocale.h>' >> GLrender.cpp
	$(UIC) -tr ${UIC_TR} -i GLrender.h $(srcdir)/GLrender.ui > GLrender.cpp.temp ; ret=$$?; \
	$(PERL) -pe "s,${UIC_TR}( \"\" ),QString::null,g" GLrender.cpp.temp | $(PERL) -pe "s,${UIC_TR}( \"\"\, \"\" ),QString::null,g" | $(PERL) -pe "s,image([0-9][0-9]*)_data,img\$$1_GLrender,g" | $(PERL) -pe "s,: QWizard\(,: KWizard(,g" >> GLrender.cpp ;\
	rm -f GLrender.cpp.temp ;\
	if test "$$ret" = 0; then echo '#include "GLrender.moc"' >> GLrender.cpp; else rm -f GLrender.cpp ; exit $$ret ; fi

GLrender.h: $(srcdir)/GLrender.ui
	rm -rf GLrender.h;
	$(UIC) $(srcdir)/GLrender.ui | $(PERL) -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> GLrender.h ;
GLrender.moc: GLrender.h
	$(MOC) GLrender.h -o GLrender.moc

x11render.cpp: $(srcdir)/x11render.ui x11render.h x11render.moc
	rm -f x11render.cpp
	echo '#include <kdialog.h>' > x11render.cpp
	echo '#include <klocale.h>' >> x11render.cpp
	$(UIC) -tr ${UIC_TR} -i x11render.h $(srcdir)/x11render.ui > x11render.cpp.temp ; ret=$$?; \
	$(PERL) -pe "s,${UIC_TR}( \"\" ),QString::null,g" x11render.cpp.temp | $(PERL) -pe "s,${UIC_TR}( \"\"\, \"\" ),QString::null,g" | $(PERL) -pe "s,image([0-9][0-9]*)_data,img\$$1_x11render,g" | $(PERL) -pe "s,: QWizard\(,: KWizard(,g" >> x11render.cpp ;\
	rm -f x11render.cpp.temp ;\
	if test "$$ret" = 0; then echo '#include "x11render.moc"' >> x11render.cpp; else rm -f x11render.cpp ; exit $$ret ; fi

x11render.h: $(srcdir)/x11render.ui
	rm -rf x11render.h;
	$(UIC) $(srcdir)/x11render.ui | $(PERL) -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> x11render.h ;
x11render.moc: x11render.h
	$(MOC) x11render.h -o x11render.moc

startuppref.cpp: $(srcdir)/startuppref.ui startuppref.h startuppref.moc
	rm -f startuppref.cpp
	echo '#include <kdialog.h>' > startuppref.cpp
	echo '#include <klocale.h>' >> startuppref.cpp
	$(UIC) -tr ${UIC_TR} -i startuppref.h $(srcdir)/startuppref.ui > startuppref.cpp.temp ; ret=$$?; \
	$(PERL) -pe "s,${UIC_TR}( \"\" ),QString::null,g" startuppref.cpp.temp | $(PERL) -pe "s,${UIC_TR}( \"\"\, \"\" ),QString::null,g" | $(PERL) -pe "s,image([0-9][0-9]*)_data,img\$$1_startuppref,g" | $(PERL) -pe "s,: QWizard\(,: KWizard(,g" >> startuppref.cpp ;\
	rm -f startuppref.cpp.temp ;\
	if test "$$ret" = 0; then echo '#include "startuppref.moc"' >> startuppref.cpp; else rm -f startuppref.cpp ; exit $$ret ; fi

startuppref.h: $(srcdir)/startuppref.ui
	rm -rf startuppref.h;
	$(UIC) $(srcdir)/startuppref.ui | $(PERL) -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> startuppref.h ;
startuppref.moc: startuppref.h
	$(MOC) startuppref.h -o startuppref.moc

ctrlpref.cpp: $(srcdir)/ctrlpref.ui ctrlpref.h ctrlpref.moc
	rm -f ctrlpref.cpp
	echo '#include <kdialog.h>' > ctrlpref.cpp
	echo '#include <klocale.h>' >> ctrlpref.cpp
	$(UIC) -tr ${UIC_TR} -i ctrlpref.h $(srcdir)/ctrlpref.ui > ctrlpref.cpp.temp ; ret=$$?; \
	$(PERL) -pe "s,${UIC_TR}( \"\" ),QString::null,g" ctrlpref.cpp.temp | $(PERL) -pe "s,${UIC_TR}( \"\"\, \"\" ),QString::null,g" | $(PERL) -pe "s,image([0-9][0-9]*)_data,img\$$1_ctrlpref,g" | $(PERL) -pe "s,: QWizard\(,: KWizard(,g" >> ctrlpref.cpp ;\
	rm -f ctrlpref.cpp.temp ;\
	if test "$$ret" = 0; then echo '#include "ctrlpref.moc"' >> ctrlpref.cpp; else rm -f ctrlpref.cpp ; exit $$ret ; fi

ctrlpref.h: $(srcdir)/ctrlpref.ui
	rm -rf ctrlpref.h;
	$(UIC) $(srcdir)/ctrlpref.ui | $(PERL) -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> ctrlpref.h ;
ctrlpref.moc: ctrlpref.h
	$(MOC) ctrlpref.h -o ctrlpref.moc

sdlrender.cpp: $(srcdir)/sdlrender.ui sdlrender.h sdlrender.moc
	rm -f sdlrender.cpp
	echo '#include <kdialog.h>' > sdlrender.cpp
	echo '#include <klocale.h>' >> sdlrender.cpp
	$(UIC) -tr ${UIC_TR} -i sdlrender.h $(srcdir)/sdlrender.ui > sdlrender.cpp.temp ; ret=$$?; \
	$(PERL) -pe "s,${UIC_TR}( \"\" ),QString::null,g" sdlrender.cpp.temp | $(PERL) -pe "s,${UIC_TR}( \"\"\, \"\" ),QString::null,g" | $(PERL) -pe "s,image([0-9][0-9]*)_data,img\$$1_sdlrender,g" | $(PERL) -pe "s,: QWizard\(,: KWizard(,g" >> sdlrender.cpp ;\
	rm -f sdlrender.cpp.temp ;\
	if test "$$ret" = 0; then echo '#include "sdlrender.moc"' >> sdlrender.cpp; else rm -f sdlrender.cpp ; exit $$ret ; fi

sdlrender.h: $(srcdir)/sdlrender.ui
	rm -rf sdlrender.h;
	$(UIC) $(srcdir)/sdlrender.ui | $(PERL) -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> sdlrender.h ;
sdlrender.moc: sdlrender.h
	$(MOC) sdlrender.h -o sdlrender.moc
