mirror of
https://github.com/postgres/postgres.git
synced 2025-05-29 16:21:20 +03:00
Update ecpg to use snprintf
This commit is contained in:
parent
9418e701b3
commit
da8b899d6c
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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 \
|
include/version.h \
|
||||||
interfaces/libpq/Makefile \
|
interfaces/libpq/Makefile \
|
||||||
interfaces/ecpg/lib/Makefile \
|
interfaces/ecpg/lib/Makefile \
|
||||||
|
interfaces/ecpg/preproc/Makefile \
|
||||||
interfaces/libpq++/Makefile \
|
interfaces/libpq++/Makefile \
|
||||||
interfaces/libpgeasy/Makefile \
|
interfaces/libpgeasy/Makefile \
|
||||||
interfaces/libpgtcl/Makefile \
|
interfaces/libpgtcl/Makefile \
|
||||||
|
@ -1289,6 +1289,7 @@ AC_OUTPUT(
|
|||||||
include/version.h
|
include/version.h
|
||||||
interfaces/libpq/Makefile
|
interfaces/libpq/Makefile
|
||||||
interfaces/ecpg/lib/Makefile
|
interfaces/ecpg/lib/Makefile
|
||||||
|
interfaces/ecpg/preproc/Makefile
|
||||||
interfaces/libpq++/Makefile
|
interfaces/libpq++/Makefile
|
||||||
interfaces/libpgeasy/Makefile
|
interfaces/libpgeasy/Makefile
|
||||||
interfaces/libpgtcl/Makefile
|
interfaces/libpgtcl/Makefile
|
||||||
|
@ -14,6 +14,13 @@ OBJ=preproc.o pgc.o type.o ecpg.o ecpg_keywords.o output.o\
|
|||||||
|
|
||||||
all:: ecpg
|
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.
|
# Rule that really do something.
|
||||||
ecpg: $(OBJ)
|
ecpg: $(OBJ)
|
||||||
$(CC) -o ecpg $(OBJ) $(LEXLIB) $(LDFLAGS)
|
$(CC) -o ecpg $(OBJ) $(LEXLIB) $(LDFLAGS)
|
Loading…
x
Reference in New Issue
Block a user