Commit ab9b4d80 authored by Bruce Momjian's avatar Bruce Momjian

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

Please
> apply the attached patch.
>
> Andreas Kardos
>
>
parent 44a96391
......@@ -9,7 +9,7 @@ CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION) \
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \
-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
all:: ecpg
......@@ -22,8 +22,8 @@ $(SRCDIR)/backend/port/snprintf.o:
endif
# Rule that really do something.
ecpg: $(OBJ)
$(CC) -o ecpg $(OBJ) $(LEXLIB) $(LDFLAGS)
ecpg: $(OBJS)
$(CC) -o ecpg $(OBJS) $(LEXLIB) $(LDFLAGS)
preproc.c preproc.h: preproc.y
$(YACC) $(YFLAGS) $<
......
......@@ -4,7 +4,7 @@
# Makefile for Java JDBC interface
#
# 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
# 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` \
$(wildcard postgresql/*.properties)
......
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