From d8b59b1d30f4a00d3b593178be05ca1ab9df5f76 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Thu, 12 Feb 1998 12:35:56 +0000 Subject: [PATCH] Clean up Makefiles - shouldn't require configure *.in Makefiles, as they should pull their data/info from Makefile.global --- src/interfaces/ecpg/include/Makefile.in | 15 ----------- src/interfaces/ecpg/preproc/Makefile | 6 ----- src/interfaces/ecpg/preproc/Makefile.in | 36 ------------------------- 3 files changed, 57 deletions(-) delete mode 100644 src/interfaces/ecpg/include/Makefile.in delete mode 100644 src/interfaces/ecpg/preproc/Makefile.in diff --git a/src/interfaces/ecpg/include/Makefile.in b/src/interfaces/ecpg/include/Makefile.in deleted file mode 100644 index d36757111d..0000000000 --- a/src/interfaces/ecpg/include/Makefile.in +++ /dev/null @@ -1,15 +0,0 @@ -SRCDIR= ../../.. -include $(SRCDIR)/Makefile.global - -all clean:: - @echo Nothing to be done. - -install:: - install ecpglib.h $(DESTDIR)$(HEADERDIR) - install ecpgtype.h $(DESTDIR)$(HEADERDIR) - install sqlca.h $(DESTDIR)$(HEADERDIR) - -uninstall:: - rm -f $(DESTDIR)$(HEADERDIR)/ecpglib.h - rm -f $(DESTDIR)$(HEADERDIR)/ecpgtype.h - rm -f $(DESTDIR)$(HEADERDIR)/sqlca.h diff --git a/src/interfaces/ecpg/preproc/Makefile b/src/interfaces/ecpg/preproc/Makefile index 86ed28d335..5526e6ef45 100644 --- a/src/interfaces/ecpg/preproc/Makefile +++ b/src/interfaces/ecpg/preproc/Makefile @@ -6,12 +6,6 @@ MAJOR_VERSION=0 MINOR_VERSION=5 PATCHLEVEL=1 -CC=gcc -LEX=flex -LEXLIB=-lfl -YACC=/usr/bin/bison -YFLAGS=-y -d - CFLAGS=-I../include -O2 -g -Wall -DMAJOR_VERSION=$(MAJOR_VERSION) -DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) all:: ecpg diff --git a/src/interfaces/ecpg/preproc/Makefile.in b/src/interfaces/ecpg/preproc/Makefile.in deleted file mode 100644 index 8fbc4523e7..0000000000 --- a/src/interfaces/ecpg/preproc/Makefile.in +++ /dev/null @@ -1,36 +0,0 @@ -SRCDIR= ../../.. -include $(SRCDIR)/Makefile.global - -MAJOR_VERSION=0 -MINOR_VERSION=5 -PATCHLEVEL=1 - -CC=@CC@ -LEX=@LEX@ -LEXLIB=@LEXLIB@ -YACC=@YACC@ -YFLAGS=@YFLAGS@ - -CFLAGS=-I../include -O2 -g -Wall -DMAJOR_VERSION=$(MAJOR_VERSION) -DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) - -all:: ecpg - -clean: - rm -f *.o core a.out ecpg preproc.tab.h y.tab.c *~ - -install: all - install -c -m 755 ecpg $(DESTDIR)$(BINDIR) - -uninstall: - rm -f $(DESTDIR)$(BINDIR)/ecpg - -# Rule that really do something. -ecpg: y.tab.o pgc.o type.o ecpg.o ../lib/typename.o - $(CC) -g -O2 -Wall -o ecpg y.tab.o pgc.o type.o ecpg.o ../lib/typename.o $(LEXLIB) - -y.tab.h y.tab.c: preproc.y - $(YACC) $(YFLAGS) $< - -y.tab.o : y.tab.h ../include/ecpgtype.h -type.o : ../include/ecpgtype.h -pgc.o : ../include/ecpgtype.h