srcdir        = @srcdir@
VPATH         = @srcdir@

CMAKE_CONFIG_DIR = @CMAKE_CONFIG_DIR@
CXX           = @CXX@
CXXFLAGS      =  @CMAKE_ANSI_CXXFLAGS@ -DCMAKE_ROOT_DIR='"@CMAKE_ROOT_DIR@"' @CXXFLAGS@ -DCMAKE_HAS_AUTOCONF -I${CMAKE_CONFIG_DIR}/Source

.SUFFIXES: .cxx .java .class

all: cmake

.cxx.o:
	${CXX} ${CXXFLAGS} -c $< -o $@


OBJS = \
cmake.o  \
cmakewizard.o  \
cmakemain.o \
cmMakeDepend.o \
cmMakefile.o \
cmDocumentation.o \
cmGlobalGenerator.o \
cmLocalGenerator.o \
cmRegularExpression.o \
cmSourceFile.o \
cmSystemTools.o \
cmDirectory.o \
cmGlobalUnixMakefileGenerator.o \
cmLocalUnixMakefileGenerator.o \
cmCommands.o \
cmTarget.o \
cmCustomCommand.o \
cmCacheManager.o \
cmListFileCache.o \
cmVariableWatch.o \
cmSourceGroup.o

DEPENDS = cmConfigure.h @CMAKE_ROOT_DIR@/Source/*.h

cmakewizard.o : $(DEPENDS)
cmListFileCache.o : $(DEPENDS)
cmCollectFlags.o : $(DEPENDS)
cmake.o  : $(DEPENDS)
cmakemain.o  : $(DEPENDS)
cmMakeDepend.o : $(DEPENDS)
cmMakefile.o : $(DEPENDS)
cmGlobalGenerator.o : $(DEPENDS)
cmLocalGenerator.o : $(DEPENDS)
cmAuxSourceDirectoryCommand.o : $(DEPENDS)
cmRegularExpression.o : $(DEPENDS)
cmSourceFile.o : $(DEPENDS)
cmDirectory.o : $(DEPENDS)
cmCustomCommand.o : $(DEPENDS)
cmGlobalUnixMakefileGenerator.o : $(DEPENDS)
cmLocalUnixMakefileGenerator.o : $(DEPENDS)
cmCommands.o : $(DEPENDS) $(srcdir)/*Command*.cxx
cmTarget.o : $(DEPENDS)
cmCacheManager.o : $(DEPENDS)
cmSourceGroup.o : $(DEPENDS)
cmVariableWatch.o : $(DEPENDS)


cmake: ${OBJS}
	${CXX} ${OBJS} ${CXXFLAGS}  -o cmake

