#
# This file was generated from Makefile.in on Mon May 12 22:32:30 CEST 2008
#

DOXYGEN   = /Users/dimitri/doxygen
TMAKEPATH = /Users/dimitri/doxygen/tmake/lib/macosx-c++
ENV       = env TMAKEPATH=$(TMAKEPATH)
TMAKE     = /Users/dimitri/doxygen/tmake/bin/tmake
MAKE      = /Developer/usr/bin/make
PERL      = /usr/bin/perl
RM        = rm -f
CP        = cp
VERSION   = 1.5.5
INSTALL   = /usr/local
INSTTOOL  = /sw/bin/install
DOXYDOCS  = ..
DOCDIR    = $(INSTALL)/share/doc/packages/doxygen
QTDIR     = /Developer/qt
HAVE_DOT  = /usr/local/bin/dot
#
# 
#
# Copyright (C) 1997-2008 by Dimitri van Heesch.
# 
# Permission to use, copy, modify, and distribute this software and its
# documentation under the terms of the GNU General Public License is hereby 
# granted. No representations are made about the suitability of this software 
# for any purpose. It is provided "as is" without express or implied warranty.
# See the GNU General Public License for more details.
# 

all: version.cpp config.h config.l portable.h portable.cpp Makefile.doxywizard  
	$(MAKE) -f Makefile.doxywizard QTDIR=$(QTDIR) $@

version.cpp: ../../src/version.cpp
	$(CP) ../../src/version.cpp version.cpp

portable.cpp: ../../src/portable.cpp
	$(CP) ../../src/portable.cpp portable.cpp

portable.h: ../../src/portable.h
	$(CP) ../../src/portable.h portable.h

config.h: ../../src/config.h
	$(CP) ../../src/config.h config.h

config.l: ../../src/config.l
	$(CP) ../../src/config.l config.l

Makefile.doxywizard: doxywizard.pro 
	$(ENV) $(PERL) $(TMAKE) doxywizard.pro >Makefile.doxywizard

tmake: 
	$(ENV) $(PERL) $(TMAKE) doxywizard.pro >Makefile.doxywizard

clean: Makefile.doxywizard 
	$(MAKE) -f Makefile.doxywizard clean 
	$(RM) config.cpp 

distclean: clean
	$(RM) Makefile.doxywizard version.cpp config.l config.h portable.h portable.cpp

MAN1DIR = man/man1

install:
	$(INSTTOOL) -d $(INSTALL)/bin	
	$(INSTTOOL) -m 755 ../../bin/doxywizard $(INSTALL)/bin	
	$(INSTTOOL) -d $(INSTALL)/$(MAN1DIR)
	cat ../../doc/doxywizard.1 | sed -e "s/DATE/$(DATE)/g" -e "s/VERSION/$(VERSION)/g" > doxywizard.1
	$(INSTTOOL) -m 644 doxywizard.1 $(INSTALL)/$(MAN1DIR)/doxywizard.1
	rm doxywizard.1

FORCE:
