File: Makefile.am

package info (click to toggle)
whitedb 0.7.3%2Bgit200711-1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 3,340 kB
  • sloc: ansic: 33,250; javascript: 3,299; python: 790; lex: 359; java: 277; makefile: 192; sh: 164; yacc: 138; sed: 41
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