forked from EnterpriseDB/mysql_fdw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
38 lines (32 loc) · 901 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 MySQL
#
# Copyright (c) 2011, PostgreSQL Global Development Group
#
# This software is released under the PostgreSQL Licence
#
# Author: Dave Page <dpage@pgadmin.org>
#
# IDENTIFICATION
# mysql_fdw/Makefile
#
##########################################################################
MODULE_big = mysql_fdw
OBJS = mysql_fdw.o
EXTENSION = mysql_fdw
DATA = mysql_fdw--1.0.sql
REGRESS = mysql_fdw
MYSQL_CONFIG = mysql_config
SHLIB_LINK := $(shell $(MYSQL_CONFIG) --libs)
PG_CPPFLAGS := $(shell $(MYSQL_CONFIG) --include)
ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = contrib/mysql_fdw
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif