forked from ZhengYang/odbc_fdw
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
38 lines (31 loc) · 848 Bytes
/
Makefile
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
##########################################################################
#
# foreign-data wrapper for ODBC
#
# Copyright (c) 2011, PostgreSQL Global Development Group
#
# This software is released under the PostgreSQL Licence
#
# Author: Zheng Yang <zhengyang4k@gmail.com>
#
# IDENTIFICATION
# odbc_fdw/Makefile
#
##########################################################################
MODULE_big = odbc_fdw
OBJS = odbc_fdw.o
EXTENSION = odbc_fdw
DATA = odbc_fdw--1.0.sql
REGRESS = odbc_fdw
EXTRA_CLEAN = sql/odbc_fdw.sql expected/odbc_fdw.out
SHLIB_LINK = -lodbc
ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = contrib/odbc_fdw
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif