comparison src/Makefile.in.in @ 245:51092a27c943 r20-5b21

Import from CVS: tag r20-5b21
author cvs
date Mon, 13 Aug 2007 10:17:54 +0200
parents 557eaa0339bf
children 83b3d10dcba9
comparison
equal deleted inserted replaced
244:78d4f1140794 245:51092a27c943
25 all: xemacs 25 all: xemacs
26 .PHONY : all release dump-elc dump-elcs all-elc all-elcs lint 26 .PHONY : all release dump-elc dump-elcs all-elc all-elcs lint
27 27
28 ## For performance and consistency, no built-in rules. 28 ## For performance and consistency, no built-in rules.
29 .SUFFIXES: 29 .SUFFIXES:
30 .SUFFIXES: .c .o .i .h .dep 30 .SUFFIXES: .c .cc .o .i .h .dep
31 31
32 @SET_MAKE@ 32 @SET_MAKE@
33 SHELL=/bin/sh 33 SHELL=/bin/sh
34 RM = rm -f 34 RM = rm -f
35 35
84 ## least lets you restrict the classes of files that it applies to. 84 ## least lets you restrict the classes of files that it applies to.
85 ## This allows us to kludge around the problem. 85 ## This allows us to kludge around the problem.
86 86
87 #ifdef USE_GNU_MAKE 87 #ifdef USE_GNU_MAKE
88 vpath %.c @srcdir@ 88 vpath %.c @srcdir@
89 vpath %.cc @srcdir@
89 vpath %.h @srcdir@ 90 vpath %.h @srcdir@
90 ## now list files that should NOT be searched in the srcdir. 91 ## now list files that should NOT be searched in the srcdir.
91 ## This includes any .c or .h built from something else 92 ## This includes any .c or .h built from something else
92 ## (e.g. a .in file). 93 ## (e.g. a .in file).
93 vpath config.h 94 vpath config.h
134 135
135 #ifdef SOLARIS2 136 #ifdef SOLARIS2
136 %.o : %.c 137 %.o : %.c
137 #else 138 #else
138 .c.o: 139 .c.o:
140 #endif
141 $(CC) -c $(cflags) $<
142
143 #ifdef SOLARIS2
144 %.o : %.cc
145 #else
146 .cc.o:
139 #endif 147 #endif
140 $(CC) -c $(cflags) $< 148 $(CC) -c $(cflags) $<
141 149
142 ## Create preprocessor output (debugging purposes only) 150 ## Create preprocessor output (debugging purposes only)
143 .c.i: 151 .c.i: