File: Makefile

package info (click to toggle)
ip4r 1.04-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 128 kB
  • ctags: 235
  • sloc: ansic: 1,420; makefile: 51
file content (17 lines) | stat: -rw-r--r-- 462 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

MODULES = ip4r
DATA_built = ip4r.sql
DOCS = README.ip4r

ifdef USE_PGXS
PG_CPPFLAGS = -DIP4R_PGVER=$(shell echo $(VERSION) | awk -F. '{ print ($$1*1000+$$2)*1000+$$3 }')
PGXS ?= $(shell pg_config --pgxs)
include $(PGXS)
else
subdir = contrib/ip4r
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
CFLAGS += -DIP4R_PGVER=$(shell echo $(VERSION) | awk -F. '{ print ($$1*1000+$$2)*1000+$$3 }')
include $(top_srcdir)/contrib/contrib-global.mk
endif