2002-05-02 16:46:20 +04:00
|
|
|
srcdir = @srcdir@/..
|
2002-05-03 21:46:34 +04:00
|
|
|
#VPATH = @srcdir@
|
2002-05-02 16:46:20 +04:00
|
|
|
|
|
|
|
CMAKE_CONFIG_DIR = @CMAKE_CONFIG_DIR@
|
2002-05-03 21:46:34 +04:00
|
|
|
CXX = @CXX@
|
|
|
|
CXXFLAGS = @CMAKE_ANSI_CXXFLAGS@ -DCMAKE_ROOT_DIR='"@CMAKE_ROOT_DIR@"' @CXXFLAGS@ \
|
|
|
|
-DCMAKE_HAS_AUTOCONF -I${CMAKE_CONFIG_DIR}/Source
|
2002-05-02 16:46:20 +04:00
|
|
|
|
|
|
|
.SUFFIXES: .cxx .java .class
|
|
|
|
|
|
|
|
all: cmake
|
|
|
|
|
2002-05-03 21:46:34 +04:00
|
|
|
OBJS = \
|
|
|
|
cmCacheManager.o \
|
|
|
|
cmCommands.o \
|
|
|
|
cmCustomCommand.o \
|
|
|
|
cmDirectory.o \
|
|
|
|
cmListFileCache.o \
|
|
|
|
cmMakeDepend.o \
|
|
|
|
cmMakefile.o \
|
|
|
|
cmMakefileGenerator.o \
|
|
|
|
cmRegularExpression.o \
|
|
|
|
cmSourceFile.o \
|
|
|
|
cmSourceGroup.o \
|
|
|
|
cmSystemTools.o \
|
|
|
|
cmTarget.o \
|
|
|
|
cmUnixMakefileGenerator.o \
|
|
|
|
cmake.o \
|
|
|
|
cmakemain.o \
|
|
|
|
cmakewizard.o
|
2002-05-02 16:46:20 +04:00
|
|
|
|
2002-05-03 21:46:34 +04:00
|
|
|
DEPENDS = ${CMAKE_CONFIG_DIR}/Source/cmConfigure.h Makefile
|
|
|
|
|
|
|
|
cmCacheManager.o : ${srcdir}/cmCacheManager.cxx $(DEPENDS)
|
|
|
|
${CXX} ${CXXFLAGS} -c ${srcdir}/cmCacheManager.cxx -o cmCacheManager.o
|
|
|
|
cmCommands.o : ${srcdir}/cmCommands.cxx $(DEPENDS) $(srcdir)/*Command*.cxx
|
|
|
|
${CXX} ${CXXFLAGS} -c ${srcdir}/cmCommands.cxx -o cmCommands.o
|
|
|
|
cmCustomCommand.o : ${srcdir}/cmCustomCommand.cxx $(DEPENDS)
|
|
|
|
${CXX} ${CXXFLAGS} -c ${srcdir}/cmCustomCommand.cxx -o cmCustomCommand.o
|
|
|
|
cmDirectory.o : ${srcdir}/cmDirectory.cxx $(DEPENDS)
|
|
|
|
${CXX} ${CXXFLAGS} -c ${srcdir}/cmDirectory.cxx -o cmDirectory.o
|
|
|
|
cmListFileCache.o : ${srcdir}/cmListFileCache.cxx $(DEPENDS)
|
|
|
|
${CXX} ${CXXFLAGS} -c ${srcdir}/cmListFileCache.cxx -o cmListFileCache.o
|
|
|
|
cmMakeDepend.o : ${srcdir}/cmMakeDepend.cxx $(DEPENDS)
|
|
|
|
${CXX} ${CXXFLAGS} -c ${srcdir}/cmMakeDepend.cxx -o cmMakeDepend.o
|
|
|
|
cmMakefile.o : ${srcdir}/cmMakefile.cxx $(DEPENDS)
|
|
|
|
${CXX} ${CXXFLAGS} -c ${srcdir}/cmMakefile.cxx -o cmMakefile.o
|
|
|
|
cmMakefileGenerator.o : ${srcdir}/cmMakefileGenerator.cxx $(DEPENDS)
|
|
|
|
${CXX} ${CXXFLAGS} -c ${srcdir}/cmMakefileGenerator.cxx -o cmMakefileGenerator.o
|
|
|
|
cmRegularExpression.o : ${srcdir}/cmRegularExpression.cxx $(DEPENDS)
|
|
|
|
${CXX} ${CXXFLAGS} -c ${srcdir}/cmRegularExpression.cxx -o cmRegularExpression.o
|
|
|
|
cmSourceFile.o : ${srcdir}/cmSourceFile.cxx $(DEPENDS)
|
|
|
|
${CXX} ${CXXFLAGS} -c ${srcdir}/cmSourceFile.cxx -o cmSourceFile.o
|
|
|
|
cmSourceGroup.o : ${srcdir}/cmSourceGroup.cxx $(DEPENDS)
|
|
|
|
${CXX} ${CXXFLAGS} -c ${srcdir}/cmSourceGroup.cxx -o cmSourceGroup.o
|
|
|
|
cmSystemTools.o : ${srcdir}/cmSystemTools.cxx $(DEPENDS)
|
|
|
|
${CXX} ${CXXFLAGS} -c ${srcdir}/cmSystemTools.cxx -o cmSystemTools.o
|
|
|
|
cmTarget.o : ${srcdir}/cmTarget.cxx $(DEPENDS)
|
|
|
|
${CXX} ${CXXFLAGS} -c ${srcdir}/cmTarget.cxx -o cmTarget.o
|
|
|
|
cmUnixMakefileGenerator.o : ${srcdir}/cmUnixMakefileGenerator.cxx $(DEPENDS)
|
|
|
|
${CXX} ${CXXFLAGS} -c ${srcdir}/cmUnixMakefileGenerator.cxx -o cmUnixMakefileGenerator.o
|
|
|
|
cmake.o : ${srcdir}/cmake.cxx $(DEPENDS)
|
|
|
|
${CXX} ${CXXFLAGS} -c ${srcdir}/cmake.cxx -o cmake.o
|
|
|
|
cmakemain.o : ${srcdir}/cmakemain.cxx $(DEPENDS)
|
|
|
|
${CXX} ${CXXFLAGS} -c ${srcdir}/cmakemain.cxx -o cmakemain.o
|
|
|
|
cmakewizard.o : ${srcdir}/cmakewizard.cxx $(DEPENDS)
|
|
|
|
${CXX} ${CXXFLAGS} -c ${srcdir}/cmakewizard.cxx -o cmakewizard.o
|
2002-05-02 16:46:20 +04:00
|
|
|
|
|
|
|
cmake: ${OBJS}
|
|
|
|
${CXX} ${OBJS} ${CXXFLAGS} -o cmake
|
|
|
|
|
2002-05-03 21:46:34 +04:00
|
|
|
.PHONY: clean
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm -f *.o cmake
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
-rm -f Makefile
|