Clean up Makefiles - shouldn't require configure *.in Makefiles, as they should
authorMarc G. Fournier
Thu, 12 Feb 1998 12:35:56 +0000 (12:35 +0000)
committerMarc G. Fournier
Thu, 12 Feb 1998 12:35:56 +0000 (12:35 +0000)
pull their data/info from Makefile.global

src/interfaces/ecpg/include/Makefile.in [deleted file]
src/interfaces/ecpg/preproc/Makefile
src/interfaces/ecpg/preproc/Makefile.in [deleted file]

diff --git a/src/interfaces/ecpg/include/Makefile.in b/src/interfaces/ecpg/include/Makefile.in
deleted file mode 100644 (file)
index d367571..0000000
+++ /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
index 86ed28d335fc1a41714bd64d59fa1b25cfd55d62..5526e6ef459a4beb5cd3b3b38457c27d0093bdcc 100644 (file)
@@ -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 (file)
index 8fbc452..0000000
+++ /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