228 echo '/* Automatically generated file. Do not edit */' > $@ ; \
229 echo 'char *sqliteOpcodeNames[] = { "???", ' >> $@ ; \
230 grep '^case OP_' $(SRCDIR)/vdbe.c | \
231 sed -e 's/^.*OP_/ "/' -e 's/:.*$$/", /' >> $@ ; \
232 echo '};' >> $@
233
234 testfixture: FRC
235 @if [ -f $(TCLBASE)/include/tcl.h ]; then \
236 unset SUNPRO_DEPENDENCIES; \
237 echo $(LINK.c) -o testfixture $(TESTSRC) $(LIBRARY) $(LDLIBS) ;\
238 exec $(LINK.c) -o testfixture $(TESTSRC) $(LIBRARY) $(LDLIBS) ;\
239 else \
240 echo "$(TCLBASE)/include/tcl.h: not found."; \
241 exit 1; \
242 fi
243
244 parse.h parse.c : $(SRCDIR)/parse.y $(TOOLDIR)/lemon.c $(TOOLDIR)/lempar.c
245 -$(RM) parse_tmp.y lempar.c
246 $(CP) $(SRCDIR)/parse.y parse_tmp.y
247 $(CP) $(TOOLDIR)/lempar.c lempar.c
248 $(NATIVECC) -o lemon $(TOOLDIR)/lemon.c
249 ./lemon parse_tmp.y
250 -$(RM) parse.c parse.h
251 $(CP) parse_tmp.h parse.h
252 $(CP) parse_tmp.c parse.c
253
254 objs/%-native.o: $(SRCDIR)/%.c $(GENHDR)
255 $(COMPILE.c) -o $@ $<
256 $(POST_PROCESS_O)
257
258 objs/%-native.o: %.c $(GENHDR)
259 $(COMPILE.c) -o $@ $<
260 $(POST_PROCESS_O)
261
262 objs/parse-native.o: parse.c $(GENHDR)
263 $(COMPILE.c) -o $@ parse.c
264 $(POST_PROCESS_O)
265
266 objs/%.o pics/%.o: $(SRCDIR)/%.c $(GENHDR)
267 $(COMPILE.c) -o $@ $<
268 $(POST_PROCESS_O)
|
228 echo '/* Automatically generated file. Do not edit */' > $@ ; \
229 echo 'char *sqliteOpcodeNames[] = { "???", ' >> $@ ; \
230 grep '^case OP_' $(SRCDIR)/vdbe.c | \
231 sed -e 's/^.*OP_/ "/' -e 's/:.*$$/", /' >> $@ ; \
232 echo '};' >> $@
233
234 testfixture: FRC
235 @if [ -f $(TCLBASE)/include/tcl.h ]; then \
236 unset SUNPRO_DEPENDENCIES; \
237 echo $(LINK.c) -o testfixture $(TESTSRC) $(LIBRARY) $(LDLIBS) ;\
238 exec $(LINK.c) -o testfixture $(TESTSRC) $(LIBRARY) $(LDLIBS) ;\
239 else \
240 echo "$(TCLBASE)/include/tcl.h: not found."; \
241 exit 1; \
242 fi
243
244 parse.h parse.c : $(SRCDIR)/parse.y $(TOOLDIR)/lemon.c $(TOOLDIR)/lempar.c
245 -$(RM) parse_tmp.y lempar.c
246 $(CP) $(SRCDIR)/parse.y parse_tmp.y
247 $(CP) $(TOOLDIR)/lempar.c lempar.c
248 $(NATIVECC) $(NATIVE_CFLAGS) -o lemon $(TOOLDIR)/lemon.c
249 ./lemon parse_tmp.y
250 -$(RM) parse.c parse.h
251 $(CP) parse_tmp.h parse.h
252 $(CP) parse_tmp.c parse.c
253
254 objs/%-native.o: $(SRCDIR)/%.c $(GENHDR)
255 $(COMPILE.c) -o $@ $<
256 $(POST_PROCESS_O)
257
258 objs/%-native.o: %.c $(GENHDR)
259 $(COMPILE.c) -o $@ $<
260 $(POST_PROCESS_O)
261
262 objs/parse-native.o: parse.c $(GENHDR)
263 $(COMPILE.c) -o $@ parse.c
264 $(POST_PROCESS_O)
265
266 objs/%.o pics/%.o: $(SRCDIR)/%.c $(GENHDR)
267 $(COMPILE.c) -o $@ $<
268 $(POST_PROCESS_O)
|