mirror of https://github.com/postgres/postgres
Update ecpg to use snprintf
This commit is contained in:
parent
9418e701b3
commit
da8b899d6c
|
@ -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)
|
Loading…
Reference in New Issue