summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/lib/Makefile
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-02-10 16:44:17 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-02-10 16:44:17 +0000
commit38201e21d0849a469e165085e4d12ac0969f5018 (patch)
treeb9e0e9db026ea6b3838f57025aebbca014f998f4 /src/interfaces/ecpg/lib/Makefile
parenta8313f9671c621852dbdf16b6f47e19ceda489ea (diff)
downloadpostgresql-38201e21d0849a469e165085e4d12ac0969f5018.tar.gz
Erk, the whole directory structure changed on us here...
Diffstat (limited to 'src/interfaces/ecpg/lib/Makefile')
-rw-r--r--src/interfaces/ecpg/lib/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/lib/Makefile b/src/interfaces/ecpg/lib/Makefile
new file mode 100644
index 0000000000..e3722e8aec
--- /dev/null
+++ b/src/interfaces/ecpg/lib/Makefile
@@ -0,0 +1,26 @@
+# Generated automatically from Makefile.in by configure.
+SRCDIR= ../../..
+include $(SRCDIR)/Makefile.global
+
+PQ_INCLUDE=-I$(SRCDIR)/include -I$(SRCDIR)/interfaces/libpq
+
+all: lib
+
+lib: libecpg.a
+
+clean:
+ rm -f *.o *.a core a.out *~
+
+install: libecpg.a
+ install -m 644 libecpg.a $(LIBDIR)
+
+uninstall::
+ rm -f $(LIBDIR)/libecpg.a
+
+# Rules that do something
+libecpg.a : libecpg.a(ecpglib.o) libecpg.a(typename.o)
+
+ecpglib.o : ecpglib.c ../include/ecpglib.h ../include/ecpgtype.h
+ $(CC) -O2 -g -Wall -I../include $(PQ_INCLUDE) -c ecpglib.c
+typename.o : typename.c ../include/ecpgtype.h
+ $(CC) -g -O2 -Wall -I../include $(PQ_INCLUDE) -c typename.c