-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
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) $<
# 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 $
#
#-------------------------------------------------------------------------
# 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)