Commit da8b899d authored by Bruce Momjian's avatar Bruce Momjian

Update ecpg to use snprintf

parent 9418e701
......@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.49 2000/01/20 21:50:56 petere Exp $
# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.50 2000/02/28 23:28:40 momjian Exp $
#
#-------------------------------------------------------------------------
......@@ -86,6 +86,7 @@ distclean: clean
include/version.h \
interfaces/libpq/Makefile \
interfaces/ecpg/lib/Makefile \
interfaces/ecpg/preproc/Makefile \
interfaces/libpq++/Makefile \
interfaces/libpgeasy/Makefile \
interfaces/libpgtcl/Makefile \
......
......@@ -1289,6 +1289,7 @@ AC_OUTPUT(
include/version.h
interfaces/libpq/Makefile
interfaces/ecpg/lib/Makefile
interfaces/ecpg/preproc/Makefile
interfaces/libpq++/Makefile
interfaces/libpgeasy/Makefile
interfaces/libpgtcl/Makefile
......
......@@ -14,6 +14,13 @@ OBJ=preproc.o pgc.o type.o ecpg.o ecpg_keywords.o output.o\
all:: ecpg
ifneq (@SNPRINTF@,)
OBJS+=$(SRCDIR)/backend/port/snprintf.o
$(SRCDIR)/backend/port/snprintf.o:
$(MAKE) -C $(SRCDIR)/backend/port snprintf.o
endif
# Rule that really do something.
ecpg: $(OBJ)
$(CC) -o ecpg $(OBJ) $(LEXLIB) $(LDFLAGS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment