diff --git a/src/GNUmakefile.in b/src/GNUmakefile.in index ea65315199c50d89ce0e8e5dd19779febaaa0537..263cadadb48157bff93f440edaa1c7949a9a7fbb 100644 --- a/src/GNUmakefile.in +++ b/src/GNUmakefile.in @@ -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 \ diff --git a/src/configure.in b/src/configure.in index 5a5e3cf6da53565231c8bbfa852c98cbfcd9fd22..fc91938220eb3ccbd282da068a7d352fc1949d89 100644 --- a/src/configure.in +++ b/src/configure.in @@ -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 diff --git a/src/interfaces/ecpg/preproc/Makefile b/src/interfaces/ecpg/preproc/Makefile.in similarity index 90% rename from src/interfaces/ecpg/preproc/Makefile rename to src/interfaces/ecpg/preproc/Makefile.in index 3fa7307de2182abc6dea52fce32de1c57b0574ac..d97a0717a95bb6ec73ac894ef769fe3a83bc2c5b 100644 --- a/src/interfaces/ecpg/preproc/Makefile +++ b/src/interfaces/ecpg/preproc/Makefile.in @@ -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)