File: Makefile.am

package info (click to toggle)
dspam 3.10.1+dfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 6,656 kB
  • sloc: ansic: 26,034; sh: 12,546; perl: 5,469; makefile: 690; sql: 379
file content (29 lines) | stat: -rw-r--r-- 856 bytes parent folder | download
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
# $Id: Makefile.am,v 1.6.2 2009/11/14 01:19:13 sbajic Exp $
# tools.pgsql_drv/Makefile.am
#

EXTRA_DIST = pgsql_objects.sql virtual_users.sql purge.sql purge-pe.sql

AM_CPPFLAGS = \
  -DLOGDIR=\"$(logdir)\" -DCONFIG_DEFAULT=\"$(sysconfdir)/dspam.conf\" \
  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_GNU_SOURCE -I$(top_srcdir)

CFLAGS = @CFLAGS@ -I$(top_srcdir)/src

bin_PROGRAMS = dspam_pg2int8

DEFS = @DEFS@ -DLOGDIR=\"$(logdir)\" \
       -DCONFIG_DEFAULT=\"$(sysconfdir)/dspam.conf\"\
       -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_GNU_SOURCE

dspam_pg2int8_SOURCES = dspam_pg2int8.c ../read_config.c ../config_api.c ../pref.c
dspam_pg2int8_LDFLAGS = 
if DYNAMIC_DRIVER
if BUILD_PGSQL_DRV 
dspam_pg2int8_CPPFLAGS = $(libpgsql_drv_cppflags) 
dspam_pg2int8_LDFLAGS += $(libpgsql_drv_libs) $(libpgsql_drv_ldflags)
endif
endif

LDADD = ../libdspam.la