mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
builds all the files needed for its regression tests, but the tests themselves fail because of diffs in the #line directives output by ecpg itself. Not sure what to do about that.
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile for ecpg compatibility library
|
|
#
|
|
# Copyright (c) 1994, Regents of the University of California
|
|
#
|
|
# $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/Makefile,v 1.24 2006/08/28 16:13:10 tgl Exp $
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
subdir = src/interfaces/ecpg/compatlib
|
|
top_builddir = ../../../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
NAME= ecpg_compat
|
|
SO_MAJOR_VERSION= 2
|
|
SO_MINOR_VERSION= 2
|
|
DLTYPE= library
|
|
|
|
override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \
|
|
-I$(libpq_srcdir) -I$(top_srcdir)/src/include/utils $(CPPFLAGS)
|
|
override CFLAGS += $(PTHREAD_CFLAGS)
|
|
SHLIB_LINK = -L../ecpglib -lecpg -L../pgtypeslib -lpgtypes $(libpq) \
|
|
$(filter -lintl -lssl -lcrypto -lkrb5 -lcrypt -lm, $(LIBS)) \
|
|
$(PTHREAD_LIBS)
|
|
|
|
OBJS= informix.o
|
|
|
|
all: all-lib
|
|
|
|
# Shared library stuff
|
|
include $(top_srcdir)/src/Makefile.shlib
|
|
|
|
install: all installdirs install-lib
|
|
|
|
installdirs:
|
|
$(mkinstalldirs) '$(DESTDIR)$(libdir)'
|
|
|
|
uninstall: uninstall-lib
|
|
|
|
clean distclean maintainer-clean: clean-lib
|
|
rm -f $(OBJS)
|
|
|
|
depend dep:
|
|
$(CC) -MM $(CFLAGS) *.c >depend
|
|
|
|
ifeq (depend,$(wildcard depend))
|
|
include depend
|
|
endif
|