summaryrefslogtreecommitdiff
path: root/ext/informix/Makefile.in
blob: 468a0d5b8f89acf58e198601fce3604c8ab004d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $Id$

DEPTH     = ../..
topsrcdir = @topsrcdir@
srcdir    = @srcdir@
VPATH     = @srcdir@

LTLIBRARY_NAME    = libinformix.la
LTLIBRARY_SOURCES = ifx.c
LTLIBRARY_LIBADD  = $(IFX_LIBS)
CLEANFILES        = ifx.c

include $(topsrcdir)/build/ltlib.mk

ifx.c: $(srcdir)/ifx.ec
	(if test -d $(INFORMIXDIR); then \
	   esql -e $(IFX_ESQL_FLAGS) $(srcdir)/ifx.ec; \
	 else \
	   touch ifx.c; \
	 fi)