Makefile.in 1.49 KB
Newer Older
1 2 3
srcdir        = @srcdir@
VPATH         = @srcdir@

4 5
CMAKE_CONFIG_DIR = @CMAKE_CONFIG_DIR@
CXX           = @CXX@
6
CXXFLAGS      =  @CMAKE_ANSI_CXXFLAGS@ -DCMAKE_ROOT_DIR='"@CMAKE_ROOT_DIR@"' @CXXFLAGS@ -DCMAKE_HAS_AUTOCONF -I${CMAKE_CONFIG_DIR}/Source
7 8 9

.SUFFIXES: .cxx .java .class

Ken Martin's avatar
Ken Martin committed
10 11
all: cmake

12 13
.cxx.o:
	${CXX} ${CXXFLAGS} -c $< -o $@
14 15 16


OBJS = \
Ken Martin's avatar
Ken Martin committed
17
cmake.o  \
18
cmakewizard.o  \
19
cmakemain.o \
20
cmMakeDepend.o \
21
cmMakefile.o \
22
cmDocumentation.o \
Ken Martin's avatar
Ken Martin committed
23 24
cmGlobalGenerator.o \
cmLocalGenerator.o \
25
cmRegularExpression.o \
26
cmSourceFile.o \
27
cmSystemTools.o \
28
cmDirectory.o \
Ken Martin's avatar
Ken Martin committed
29 30
cmGlobalUnixMakefileGenerator.o \
cmLocalUnixMakefileGenerator.o \
31
cmCommands.o \
32
cmTarget.o \
33
cmCustomCommand.o \
34
cmCacheManager.o \
35
cmListFileCache.o \
36
cmVariableWatch.o \
37
cmSourceGroup.o
38

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

41 42
cmakewizard.o : $(DEPENDS)
cmListFileCache.o : $(DEPENDS)
43
cmCollectFlags.o : $(DEPENDS)
Ken Martin's avatar
Ken Martin committed
44
cmake.o  : $(DEPENDS)
45
cmakemain.o  : $(DEPENDS)
46 47
cmMakeDepend.o : $(DEPENDS)
cmMakefile.o : $(DEPENDS)
Ken Martin's avatar
Ken Martin committed
48 49
cmGlobalGenerator.o : $(DEPENDS)
cmLocalGenerator.o : $(DEPENDS)
50 51
cmAuxSourceDirectoryCommand.o : $(DEPENDS)
cmRegularExpression.o : $(DEPENDS)
52
cmSourceFile.o : $(DEPENDS)
53
cmDirectory.o : $(DEPENDS)
54
cmCustomCommand.o : $(DEPENDS)
Ken Martin's avatar
Ken Martin committed
55 56
cmGlobalUnixMakefileGenerator.o : $(DEPENDS)
cmLocalUnixMakefileGenerator.o : $(DEPENDS)
57
cmCommands.o : $(DEPENDS) $(srcdir)/*Command*.cxx
58
cmTarget.o : $(DEPENDS)
59
cmCacheManager.o : $(DEPENDS)
60
cmSourceGroup.o : $(DEPENDS)
61
cmVariableWatch.o : $(DEPENDS)
62

63

Ken Martin's avatar
Ken Martin committed
64
cmake: ${OBJS}
Bill Hoffman's avatar
Bill Hoffman committed
65
	${CXX} ${OBJS} ${CXXFLAGS}  -o cmake
66