> The snprintf stuff in interfaces/ecpg/preproc/Makefile.in is broken.

Please
> apply the attached patch.
>
> Andreas Kardos
>
>
This commit is contained in:
Bruce Momjian 2000-03-14 15:55:17 +00:00
parent 44a9639123
commit ab9b4d8086
2 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION) \
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \ -DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \
-DINCLUDE_PATH=\"$(HEADERDIR)\" -g -DINCLUDE_PATH=\"$(HEADERDIR)\" -g
OBJ=preproc.o pgc.o type.o ecpg.o ecpg_keywords.o output.o\ OBJS=preproc.o pgc.o type.o ecpg.o ecpg_keywords.o output.o\
keywords.o c_keywords.o ../lib/typename.o descriptor.o variable.o keywords.o c_keywords.o ../lib/typename.o descriptor.o variable.o
all:: ecpg all:: ecpg
@ -22,8 +22,8 @@ $(SRCDIR)/backend/port/snprintf.o:
endif endif
# Rule that really do something. # Rule that really do something.
ecpg: $(OBJ) ecpg: $(OBJS)
$(CC) -o ecpg $(OBJ) $(LEXLIB) $(LDFLAGS) $(CC) -o ecpg $(OBJS) $(LEXLIB) $(LDFLAGS)
preproc.c preproc.h: preproc.y preproc.c preproc.h: preproc.y
$(YACC) $(YFLAGS) $< $(YACC) $(YFLAGS) $<

View File

@ -4,7 +4,7 @@
# Makefile for Java JDBC interface # Makefile for Java JDBC interface
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/jdbc/Attic/Makefile,v 1.17 2000/03/08 01:58:25 momjian Exp $ # $Header: /cvsroot/pgsql/src/interfaces/jdbc/Attic/Makefile,v 1.18 2000/03/14 15:55:17 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
@ -151,7 +151,7 @@ jdbc2real: postgresql/DriverClass.class \
# Note: This works by storing all compiled classes under the postgresql # Note: This works by storing all compiled classes under the postgresql
# directory. We use this later for compiling the dual-mode driver. # directory. We use this later for compiling the dual-mode driver.
# #
postgresql.jar: $(OBJ) $(OBJ_COMMON) postgresql.jar: $(OBJ_COMMON)
$(JAR) -c0f $@ `$(FIND) postgresql -name "*.class" -print` \ $(JAR) -c0f $@ `$(FIND) postgresql -name "*.class" -print` \
$(wildcard postgresql/*.properties) $(wildcard postgresql/*.properties)