File: Makefile

package info (click to toggle)
pg-snakeoil 1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 224 kB
  • sloc: ansic: 159; sql: 26; makefile: 24; sh: 13
file content (18 lines) | stat: -rw-r--r-- 377 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# pg_snakeoil/Makefile

MODULE_big = pg_snakeoil
OBJS = pg_snakeoil.o

EXTENSION = pg_snakeoil
DATA = pg_snakeoil--0.4--1.sql \
       pg_snakeoil--1.sql
PGFILEDESC = "pg_snakeoil - clamav antivirus integration"

REGRESS = pg_snakeoil

# Only works when using pgxs
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
PG_LIBS=-lclamav
SHLIB_LINK=-lclamav