#############################################################################
# Makefile for building: ../bin/xxdiff
# Generated by qmake (1.07a) (Qt 3.3.7) on: Tue Nov 28 20:11:26 2006
# Project:  xxdiff.pro
# Template: app
# Command: $(QMAKE) -o Makefile.qmake xxdiff.pro
#############################################################################

####### Compiler, tools and options

#SHELL	 = /bin/csh
CC       = gcc
CXX      = g++
LEX      = newflex
YACC     = bison
CFLAGS   = -DXX_DEBUG -g  
CXXFLAGS = -DXX_DEBUG -g  
LEXFLAGS = -d -o lex.resParser.c
YACCFLAGS =
QTDIR    = /home/user/slub/XXDIFF/qt-x11-free-3.3.7
INCPATH  = -I/home/user/slub/XXDIFF/qt-x11-free-3.3.7/mkspecs/default -I. -I$(QTDIR)/include
LINK     = $(CXX)
LFLAGS   = -R/usr/lib -R/opt/csw/gcc3/lib -R$(QTDIR)/lib  -R$(QTDIR)/lib
LIBS     = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/openwin/lib -lqt -lXext -lX11 -lresolv -lsocket -lnsl
AR       = $(CC) -xar -o
RANLIB   = 
MOC      = $(QTDIR)/bin/moc
UIC      = $(QTDIR)/bin/uic
QMAKE    = qmake
TAR      = tar -cf
GZIP     = gzip -9f
COPY     = cp -f
COPY_FILE= $(COPY)
COPY_DIR = $(COPY) -R
INSTALL_FILE= $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
DEL_FILE = rm -f
SYMLINK  = ln -sf
DEL_DIR  = rmdir
MOVE     = mv -f
CHK_DIR_EXISTS= test -d
MKDIR    = mkdir -p

####### Output directory

OBJECTS_DIR = ./

####### Files

HEADERS = optionsDialog.h \
		searchDialog.h \
		app.h \
		app.inline.h \
		cmdline.h \
		suicideMessageBox.h \
		defs.h \
		types.h \
		diffs.h \
		diffs.inline.h \
		builder.h \
		builder.inline.h \
		builderFiles2.h \
		builderFiles3.h \
		builderDirs2.h \
		builderUnmerge.h \
		builderSingle.h \
		exceptions.h \
		buffer.h \
		buffer.inline.h \
		help.h \
		hordiffImp.h \
		line.h \
		line.inline.h \
		main.h \
		overview.h \
		resParser.h \
		resources.h \
		resources.inline.h \
		accelUtil.h \
		copyLabel.h \
		text.h \
		scrollView.h \
		central.h \
		merged.h \
		lineNumbers.h \
		util.h \
		markers.h \
		getopt.h \
		diffutils.h \
		diffutils_hack.h \
		doc.html \
		kdeSupport.h \
		proginfo.h
SOURCES = optionsDialog.cpp \
		searchDialog.cpp \
		app.cpp \
		cmdline.cpp \
		suicideMessageBox.cpp \
		main.cpp \
		overview.cpp \
		copyLabel.cpp \
		text.cpp \
		scrollView.cpp \
		central.cpp \
		merged.cpp \
		lineNumbers.cpp \
		util.cpp \
		help.cpp \
		exceptions.cpp \
		builder.cpp \
		builderFiles2.cpp \
		builderFiles3.cpp \
		builderDirs2.cpp \
		builderUnmerge.cpp \
		builderSingle.cpp \
		diffs.cpp \
		hordiffImp.cpp \
		line.cpp \
		buffer.cpp \
		resources.cpp \
		accelUtil.cpp \
		resParser.cpp \
		markers.cpp \
		getopt.c \
		getopt1.c \
		proginfo.c \
		resParser_lex.cpp \
		resParser_yacc.cpp
OBJECTS = optionsDialog.o \
		searchDialog.o \
		app.o \
		cmdline.o \
		suicideMessageBox.o \
		main.o \
		overview.o \
		copyLabel.o \
		text.o \
		scrollView.o \
		central.o \
		merged.o \
		lineNumbers.o \
		util.o \
		help.o \
		exceptions.o \
		builder.o \
		builderFiles2.o \
		builderFiles3.o \
		builderDirs2.o \
		builderUnmerge.o \
		builderSingle.o \
		diffs.o \
		hordiffImp.o \
		line.o \
		buffer.o \
		resources.o \
		accelUtil.o \
		resParser.o \
		markers.o \
		getopt.o \
		getopt1.o \
		proginfo.o \
		resParser_lex.o \
		resParser_yacc.o \
		markersWidgetBase.o \
		optionsDialogBase.o \
		searchDialogBase.o
FORMS = markersWidgetBase.ui \
		optionsDialogBase.ui \
		searchDialogBase.ui
UICDECLS = markersWidgetBase.h \
		optionsDialogBase.h \
		searchDialogBase.h
UICIMPLS = markersWidgetBase.cpp \
		optionsDialogBase.cpp \
		searchDialogBase.cpp
SRCMOC   = moc_optionsDialog.cpp \
		moc_searchDialog.cpp \
		moc_app.cpp \
		moc_diffs.cpp \
		moc_resources.cpp \
		moc_copyLabel.cpp \
		moc_text.cpp \
		moc_scrollView.cpp \
		moc_central.cpp \
		moc_merged.cpp \
		moc_markers.cpp \
		moc_markersWidgetBase.cpp \
		moc_optionsDialogBase.cpp \
		moc_searchDialogBase.cpp
OBJMOC = moc_optionsDialog.o \
		moc_searchDialog.o \
		moc_app.o \
		moc_diffs.o \
		moc_resources.o \
		moc_copyLabel.o \
		moc_text.o \
		moc_scrollView.o \
		moc_central.o \
		moc_merged.o \
		moc_markers.o \
		moc_markersWidgetBase.o \
		moc_optionsDialogBase.o \
		moc_searchDialogBase.o
DIST	   = xxdiff.pro
QMAKE_TARGET = xxdiff
DESTDIR  = ../bin/
TARGET   = ../bin/xxdiff

first: all
####### Implicit rules

.SUFFIXES: .c .o .cpp .cc .cxx .C .y

.cpp.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.cc.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.cxx.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.C.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.c.o:
	$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<

.y.o:
	@echo Specific for resParser.o
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o  $@ resParser.cpp

####### Build rules

all: Makefile.qmake $(TARGET)

$(TARGET):  $(UICDECLS) $(OBJECTS) $(OBJMOC)  
	test -d ../bin/ || mkdir -p ../bin/
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(OBJCOMP) $(LIBS)

mocables: $(SRCMOC)
uicables: $(UICDECLS) $(UICIMPLS)

$(MOC): 
	( cd $(QTDIR)/src/moc && $(MAKE) )

Makefile.qmake: xxdiff.pro  /home/user/slub/XXDIFF/qt-x11-free-3.3.7/mkspecs/default/qmake.conf 
	$(QMAKE) -o Makefile.qmake xxdiff.pro
qmake: 
	@$(QMAKE) -o Makefile.qmake xxdiff.pro

dist: 
	@mkdir -p .tmp/xxdiff && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .tmp/xxdiff/ && ( cd `dirname .tmp/xxdiff` && $(TAR) xxdiff.tar xxdiff && $(GZIP) xxdiff.tar ) && $(MOVE) `dirname .tmp/xxdiff`/xxdiff.tar.gz . && $(DEL_FILE) -r .tmp/xxdiff

mocclean:
	-$(DEL_FILE) $(OBJMOC)
	-$(DEL_FILE) $(SRCMOC)

uiclean:
	-$(DEL_FILE) $(UICIMPLS) $(UICDECLS)

yaccclean:
	-$(DEL_FILE) resParser_yacc.cpp resParser_yacc.h
lexclean:
	-$(DEL_FILE) resParser_lex.cpp
clean: mocclean uiclean yaccclean lexclean
	-$(DEL_FILE) $(OBJECTS)
	-$(DEL_FILE) -r $(OBJECTS_DIR)Templates.DB $(OBJECTS_DIR)SunWS_cache
	-$(DEL_FILE) *~ core *.core


####### Sub-libraries

distclean: clean
	-$(DEL_FILE) ../bin/$(TARGET) $(TARGET)


FORCE:

####### Compile

optionsDialog.o: optionsDialog.cpp optionsDialog.h \
		resParser.h \
		resources.h \
		diffs.h \
		app.h \
		kdeSupport.h \
		defs.h \
		optionsDialogBase.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		resources.inline.h \
		line.h \
		diffs.inline.h \
		types.h \
		line.inline.h \
		app.inline.h \
		buffer.h \
		central.h \
		buffer.inline.h \
		scrollView.h

searchDialog.o: searchDialog.cpp searchDialog.h \
		resources.h \
		diffs.h \
		app.h \
		defs.h \
		searchDialogBase.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		resources.inline.h \
		line.h \
		diffs.inline.h \
		types.h \
		line.inline.h \
		resParser.h \
		kdeSupport.h \
		app.inline.h \
		buffer.h \
		central.h \
		buffer.inline.h \
		scrollView.h

app.o: app.cpp app.h \
		cmdline.h \
		exceptions.h \
		overview.h \
		text.h \
		merged.h \
		lineNumbers.h \
		util.h \
		help.h \
		builderFiles2.h \
		builderFiles3.h \
		builderDirs2.h \
		builderUnmerge.h \
		builderSingle.h \
		diffs.h \
		buffer.h \
		resources.h \
		suicideMessageBox.h \
		optionsDialog.h \
		searchDialog.h \
		markers.h \
		resParser.h \
		central.h \
		pixmaps/next_difference.xpm \
		pixmaps/next_unselected_difference.xpm \
		pixmaps/previous_difference.xpm \
		pixmaps/previous_unselected_difference.xpm \
		pixmaps/search.xpm \
		pixmaps/search_backward.xpm \
		pixmaps/search_forward.xpm \
		pixmaps/select_region_left.xpm \
		pixmaps/select_region_middle.xpm \
		pixmaps/select_region_neither.xpm \
		pixmaps/select_region_right.xpm \
		pixmaps/select_region_unselect.xpm \
		pixmaps/split_swap_join.xpm \
		pixmaps/diff_files.xpm \
		pixmaps/diff_files_next.xpm \
		pixmaps/save_as_left.xpm \
		pixmaps/save_as_middle.xpm \
		pixmaps/save_as_right.xpm \
		pixmaps/save_as_merged.xpm \
		pixmaps/save_as.xpm \
		pixmaps/return_accept.xpm \
		pixmaps/return_reject.xpm \
		pixmaps/return_merged.xpm \
		defs.h \
		line.h \
		kdeSupport.h \
		app.inline.h \
		compiler.h \
		winfixes/winfixes.h \
		types.h \
		line.inline.h \
		resources.inline.h \
		diffs.inline.h \
		buffer.inline.h \
		scrollView.h \
		builder.h \
		builder.inline.h \
		optionsDialogBase.h \
		searchDialogBase.h \
		markersWidgetBase.h

cmdline.o: cmdline.cpp cmdline.h \
		exceptions.h \
		resParser.h \
		help.h \
		resParser_yacc.h \
		kdeSupport.h \
		getopt.h \
		defs.h \
		compiler.h \
		winfixes/winfixes.h \
		resources.h \
		resources.inline.h

suicideMessageBox.o: suicideMessageBox.cpp suicideMessageBox.h \
		defs.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h

main.o: main.cpp main.h \
		cmdline.h \
		app.h \
		exceptions.h \
		defs.h \
		compiler.h \
		winfixes/winfixes.h \
		line.h \
		resources.h \
		resParser.h \
		kdeSupport.h \
		app.inline.h \
		types.h \
		line.inline.h \
		resources.inline.h \
		diffs.h \
		buffer.h \
		central.h \
		diffs.inline.h \
		buffer.inline.h \
		scrollView.h

overview.o: overview.cpp overview.h \
		app.h \
		resources.h \
		diffs.h \
		buffer.h \
		defs.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		line.h \
		resParser.h \
		kdeSupport.h \
		app.inline.h \
		types.h \
		line.inline.h \
		resources.inline.h \
		central.h \
		diffs.inline.h \
		buffer.inline.h \
		scrollView.h

copyLabel.o: copyLabel.cpp copyLabel.h \
		kdeSupport.h \
		defs.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h

text.o: text.cpp text.h \
		app.h \
		scrollView.h \
		resources.h \
		diffs.h \
		buffer.h \
		kdeSupport.h \
		defs.h \
		types.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		line.h \
		resParser.h \
		app.inline.h \
		line.inline.h \
		resources.inline.h \
		central.h \
		diffs.inline.h \
		buffer.inline.h

scrollView.o: scrollView.cpp scrollView.h \
		app.h \
		defs.h \
		types.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		line.h \
		resources.h \
		resParser.h \
		kdeSupport.h \
		app.inline.h \
		line.inline.h \
		resources.inline.h \
		diffs.h \
		buffer.h \
		central.h \
		diffs.inline.h \
		buffer.inline.h

central.o: central.cpp central.h \
		text.h \
		app.h \
		resources.h \
		diffs.h \
		buffer.h \
		copyLabel.h \
		lineNumbers.h \
		help.h \
		defs.h \
		types.h \
		scrollView.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		line.h \
		resParser.h \
		kdeSupport.h \
		app.inline.h \
		line.inline.h \
		resources.inline.h \
		diffs.inline.h \
		buffer.inline.h

merged.o: merged.cpp merged.h \
		text.h \
		app.h \
		resources.h \
		diffs.h \
		buffer.h \
		defs.h \
		types.h \
		scrollView.h \
		kdeSupport.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		line.h \
		resParser.h \
		app.inline.h \
		line.inline.h \
		resources.inline.h \
		central.h \
		diffs.inline.h \
		buffer.inline.h

lineNumbers.o: lineNumbers.cpp lineNumbers.h \
		app.h \
		central.h \
		resources.h \
		diffs.h \
		buffer.h \
		defs.h \
		types.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		line.h \
		resParser.h \
		kdeSupport.h \
		app.inline.h \
		line.inline.h \
		resources.inline.h \
		diffs.inline.h \
		buffer.inline.h \
		scrollView.h

util.o: util.cpp util.h \
		exceptions.h \
		main.h \
		defs.h \
		compiler.h \
		winfixes/winfixes.h

help.o: help.cpp proginfo.h \
		help.h \
		line.h \
		resources.h \
		cmdline.h \
		resParser.h \
		kdeSupport.h \
		doc.h \
		pixmaps/xxdiff.xpm \
		defs.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		types.h \
		line.inline.h \
		resources.inline.h

exceptions.o: exceptions.cpp exceptions.h \
		cmdline.h \
		help.h \
		defs.h \
		compiler.h \
		winfixes/winfixes.h

builder.o: builder.cpp builder.h \
		defs.h \
		diffs.h \
		line.h \
		builder.inline.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		resources.h \
		diffs.inline.h \
		types.h \
		line.inline.h \
		resources.inline.h

builderFiles2.o: builderFiles2.cpp builderFiles2.h \
		exceptions.h \
		diffs.h \
		util.h \
		diffutils.h \
		buffer.h \
		defs.h \
		builder.h \
		compiler.h \
		winfixes/winfixes.h \
		line.h \
		builder.inline.h \
		resources.h \
		diffs.inline.h \
		types.h \
		line.inline.h \
		resources.inline.h \
		buffer.inline.h

builderFiles3.o: builderFiles3.cpp builderFiles3.h \
		exceptions.h \
		diffs.h \
		util.h \
		buffer.h \
		defs.h \
		builder.h \
		compiler.h \
		winfixes/winfixes.h \
		line.h \
		builder.inline.h \
		resources.h \
		diffs.inline.h \
		types.h \
		line.inline.h \
		resources.inline.h \
		buffer.inline.h

builderDirs2.o: builderDirs2.cpp builderDirs2.h \
		exceptions.h \
		diffs.h \
		util.h \
		buffer.h \
		defs.h \
		builder.h \
		compiler.h \
		winfixes/winfixes.h \
		line.h \
		builder.inline.h \
		resources.h \
		diffs.inline.h \
		types.h \
		line.inline.h \
		resources.inline.h \
		buffer.inline.h

builderUnmerge.o: builderUnmerge.cpp builderUnmerge.h \
		diffs.h \
		buffer.h \
		resources.h \
		defs.h \
		builder.h \
		line.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		builder.inline.h \
		diffs.inline.h \
		types.h \
		line.inline.h \
		resources.inline.h \
		buffer.inline.h

builderSingle.o: builderSingle.cpp builderSingle.h \
		diffs.h \
		buffer.h \
		defs.h \
		builder.h \
		line.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		builder.inline.h \
		resources.h \
		diffs.inline.h \
		types.h \
		line.inline.h \
		resources.inline.h \
		buffer.inline.h

diffs.o: diffs.cpp diffs.h \
		buffer.h \
		resources.h \
		line.h \
		defs.h \
		diffs.inline.h \
		types.h \
		line.inline.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		resources.inline.h \
		buffer.inline.h

hordiffImp.o: hordiffImp.cpp hordiffImp.h \
		resources.h \
		defs.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		resources.inline.h

line.o: line.cpp line.h \
		hordiffImp.h \
		defs.h \
		types.h \
		resources.h \
		line.inline.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		resources.inline.h

buffer.o: buffer.cpp buffer.h \
		exceptions.h \
		util.h \
		defs.h \
		types.h \
		buffer.inline.h \
		compiler.h \
		winfixes/winfixes.h

resources.o: resources.cpp app.h \
		accelUtil.h \
		resources.h \
		optionsDialog.h \
		exceptions.h \
		util.h \
		defs.h \
		line.h \
		resParser.h \
		kdeSupport.h \
		app.inline.h \
		compiler.h \
		winfixes/winfixes.h \
		types.h \
		line.inline.h \
		resources.inline.h \
		diffs.h \
		buffer.h \
		central.h \
		diffs.inline.h \
		buffer.inline.h \
		scrollView.h \
		optionsDialogBase.h

accelUtil.o: accelUtil.cpp accelUtil.h \
		resources.h \
		defs.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		resources.inline.h

resParser.o: resParser.cpp defs.h \
		resParser.h \
		exceptions.h \
		util.h \
		help.h \
		resParser_yacc.h \
		resParser_lex.h \
		kdeSupport.h \
		compiler.h \
		winfixes/winfixes.h \
		resources.h \
		resources.inline.h

markers.o: markers.cpp markers.h \
		defs.h \
		markersWidgetBase.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h

getopt.o: getopt.c getopt.h

getopt1.o: getopt1.c getopt.h

proginfo.o: proginfo.c proginfo.h

resParser_lex.o: resParser_lex.cpp resources.h \
		resParser_yacc.h \
		defs.h \
		resources.inline.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h

resParser_yacc.o: resParser_yacc.cpp resParser_yacc.h \
		resources.h \
		resParser.h \
		defs.h \
		resources.inline.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h

markersWidgetBase.h: markersWidgetBase.ui 
	$(UIC) markersWidgetBase.ui -o markersWidgetBase.h

markersWidgetBase.cpp: markersWidgetBase.h markersWidgetBase.ui 
	$(UIC) markersWidgetBase.ui -i markersWidgetBase.h -o markersWidgetBase.cpp

optionsDialogBase.h: optionsDialogBase.ui 
	$(UIC) optionsDialogBase.ui -o optionsDialogBase.h

optionsDialogBase.cpp: optionsDialogBase.h optionsDialogBase.ui 
	$(UIC) optionsDialogBase.ui -i optionsDialogBase.h -o optionsDialogBase.cpp

searchDialogBase.h: searchDialogBase.ui 
	$(UIC) searchDialogBase.ui -o searchDialogBase.h

searchDialogBase.cpp: searchDialogBase.h searchDialogBase.ui 
	$(UIC) searchDialogBase.ui -i searchDialogBase.h -o searchDialogBase.cpp

markersWidgetBase.o: markersWidgetBase.cpp markersWidgetBase.h

optionsDialogBase.o: optionsDialogBase.cpp optionsDialogBase.h

searchDialogBase.o: searchDialogBase.cpp searchDialogBase.h

moc_optionsDialog.o: moc_optionsDialog.cpp  optionsDialog.h defs.h \
		resources.h \
		optionsDialogBase.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		resources.inline.h

moc_searchDialog.o: moc_searchDialog.cpp  searchDialog.h defs.h \
		resources.h \
		searchDialogBase.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		resources.inline.h

moc_app.o: moc_app.cpp  app.h defs.h \
		line.h \
		resources.h \
		resParser.h \
		kdeSupport.h \
		app.inline.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		types.h \
		line.inline.h \
		resources.inline.h \
		diffs.h \
		buffer.h \
		central.h \
		diffs.inline.h \
		buffer.inline.h \
		scrollView.h

moc_diffs.o: moc_diffs.cpp  diffs.h line.h \
		defs.h \
		resources.h \
		diffs.inline.h \
		types.h \
		line.inline.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h \
		resources.inline.h

moc_resources.o: moc_resources.cpp  resources.h defs.h \
		resources.inline.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h

moc_copyLabel.o: moc_copyLabel.cpp  copyLabel.h defs.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h

moc_text.o: moc_text.cpp  text.h defs.h \
		types.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h

moc_scrollView.o: moc_scrollView.cpp  scrollView.h defs.h \
		types.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h

moc_central.o: moc_central.cpp  central.h defs.h \
		types.h \
		scrollView.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h

moc_merged.o: moc_merged.cpp  merged.h defs.h \
		types.h \
		scrollView.h \
		kdeSupport.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h

moc_markers.o: moc_markers.cpp  markers.h defs.h \
		markersWidgetBase.h \
		compiler.h \
		exceptions.h \
		winfixes/winfixes.h

moc_markersWidgetBase.o: moc_markersWidgetBase.cpp  markersWidgetBase.h 

moc_optionsDialogBase.o: moc_optionsDialogBase.cpp  optionsDialogBase.h 

moc_searchDialogBase.o: moc_searchDialogBase.cpp  searchDialogBase.h 

moc_optionsDialog.cpp: $(MOC) optionsDialog.h
	$(MOC) optionsDialog.h -o moc_optionsDialog.cpp

moc_searchDialog.cpp: $(MOC) searchDialog.h
	$(MOC) searchDialog.h -o moc_searchDialog.cpp

moc_app.cpp: $(MOC) app.h
	$(MOC) app.h -o moc_app.cpp

moc_diffs.cpp: $(MOC) diffs.h
	$(MOC) diffs.h -o moc_diffs.cpp

moc_resources.cpp: $(MOC) resources.h
	$(MOC) resources.h -o moc_resources.cpp

moc_copyLabel.cpp: $(MOC) copyLabel.h
	$(MOC) copyLabel.h -o moc_copyLabel.cpp

moc_text.cpp: $(MOC) text.h
	$(MOC) text.h -o moc_text.cpp

moc_scrollView.cpp: $(MOC) scrollView.h
	$(MOC) scrollView.h -o moc_scrollView.cpp

moc_central.cpp: $(MOC) central.h
	$(MOC) central.h -o moc_central.cpp

moc_merged.cpp: $(MOC) merged.h
	$(MOC) merged.h -o moc_merged.cpp

moc_markers.cpp: $(MOC) markers.h
	$(MOC) markers.h -o moc_markers.cpp

moc_markersWidgetBase.cpp: $(MOC) markersWidgetBase.h
	$(MOC) markersWidgetBase.h -o moc_markersWidgetBase.cpp

moc_optionsDialogBase.cpp: $(MOC) optionsDialogBase.h
	$(MOC) optionsDialogBase.h -o moc_optionsDialogBase.cpp

moc_searchDialogBase.cpp: $(MOC) searchDialogBase.h
	$(MOC) searchDialogBase.h -o moc_searchDialogBase.cpp

resParser_yacc.cpp: resParser.y
	$(YACC) $(YACCFLAGS) -d -o y.tab.c -p resParser resParser.y
	-$(DEL_FILE) resParser_yacc.cpp resParser_yacc.h
	-$(MOVE) y.tab.h resParser_yacc.h
	-$(MOVE) y.tab.c resParser_yacc.cpp

resParser_yacc.h: resParser_yacc.cpp

resParser_lex.cpp: resParser.l 
	$(LEX) $(LEXFLAGS) -PresParser resParser.l
	-$(DEL_FILE) resParser_lex.cpp 
	-$(MOVE) lex.resParser.c resParser_lex.cpp

####### Install

install:  

uninstall:  

#!/usr/bin/env make
#
# Extra rules to be appended to the generated qmake makefile for xxdiff build.
#

# Extra targets.
EXTRA_FILES = version.h doc.h 

.SUFFIXES: .html .txt .h


# 
# resParser.o
#

# Extra dependencies for the included lex/yacc generated files.
resParser_lex.h: resParser_lex.cpp
resParser.cpp: resParser_lex.h


#
# version.h
#

# Automatically generate a simple include file with version number in it.
version.h: ../VERSION
	echo "#define XX_VERSION \"`cat ../VERSION`\"" > $@

# Dependencies for the generated version file.
proginfo.o: version.h
proginfo.obj: version.h


#
# doc.h
#

# Convert the html/qml documentation to an C include file.
# This needs to be automated.
.html.h: 
	sed -e 's/\"/\\\"/g;s/$$/\\n\\/;1s/^/char text[]=\"/;$$s/\\$$/\"\;/' $< > $@

# Dependencies for the generated documentation file.
help.o: doc.h
help.obj: doc.h

# Convert the reStructuredText documentation to html.  (this is only used by the
# author, directly, manually, not that important for xxdiff packagers.)
.txt.html:
	rst2html.py --output-encoding=iso-8859-1 $< $@

#
# clean_extra
#

# Clean up some of the generated files automatically.
clean: clean_extra

clean_extra:
	rm -f $(EXTRA_FILES)


# Override the qmake we use because the one in the path might be different.
QMAKE = $(QTDIR)/bin/qmake


# Note: we would need to add this to be correct.  Danger!  If the Makefile gets
# remade, this file does not get appended again to the new makefile!
all: Makefile

Makefile: xxdiff.pro
	$(MAKE) -f Makefile.bootstrap makefile

