File: Makefile.am

package info (click to toggle)
whitedb 0.7.2-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,452 kB
  • ctags: 2,681
  • sloc: ansic: 31,714; python: 790; lex: 359; java: 277; makefile: 172; yacc: 138; sh: 87; sed: 36
file content (31 lines) | stat: -rw-r--r-- 595 bytes parent folder | download | duplicates (8)
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
# $Id:  $
# $Source:  $
#
# Compile Python extension module


# ---- options ----

# ---- targets ----

python_PYTHON = whitedb.py WGandalf.py
pyexec_LTLIBRARIES = wgdb.la

# ---- path variables ----

dbdir=../Db

# ---- extra dependencies, flags, etc -----

LIBDEPS = -lm   # dependency from libm round() should be removed
if RAPTOR
LIBDEPS += `$(RAPTOR_CONFIG) --libs`
endif

AM_CPPFLAGS = $(PYTHON_INCLUDES) -I $(dbdir)
wgdb_la_LDFLAGS = -module -avoid-version $(LIBDEPS)

# ----- all sources for the created programs -----

wgdb_la_SOURCES = wgdbmodule.c
wgdb_la_LIBADD = ../Main/libwgdb.la