summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/lib/Makefile.in
blob: b0fbf2d9a91c97adcd2c0bc41507867ee9417be4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#-------------------------------------------------------------------------
#
# Makefile
#    Makefile for ecpg library
#
# Copyright (c) 1994, Regents of the University of California
#
# IDENTIFICATION
#    $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile.in,v 1.68 2000/06/17 00:09:59 petere Exp $
#
#-------------------------------------------------------------------------

NAME= ecpg
SO_MAJOR_VERSION= 3
SO_MINOR_VERSION= 1.1

SRCDIR= ../../..
include $(SRCDIR)/Makefile.global

CFLAGS+= -I../include -I$(LIBPQDIR)


OBJS= execute.o typename.o descriptor.o data.o error.o prepare.o memory.o \
	connect.o misc.o

SHLIB_LINK= $(LIBPQ)

# Shared library stuff, also default 'all' target
include $(SRCDIR)/Makefile.shlib


.PHONY: install

install: install-lib $(install-shlib-dep)

.PHONY: clean

clean: clean-shlib
	rm -f lib$(NAME).a $(OBJS)

depend dep:
	$(CC) -MM $(CFLAGS) *.c >depend

ifeq (depend,$(wildcard depend))
include depend
endif