File: Makefile.am

package info (click to toggle)
entity 0.7.2-6
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,352 kB
  • ctags: 5,272
  • sloc: ansic: 61,707; sh: 7,921; makefile: 732; perl: 399
file content (33 lines) | stat: -rw-r--r-- 786 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
30
31
32
33
## Process this file with automake to produce Makefile.in
entitydatadir 	= 	$(libdir)/entity
clibdir 	= 	$(entitydatadir)/clib

INCLUDES = -I$(top_builddir)/g-extensions \
	   -I$(top_builddir)/entity	  \
	   -I$(top_builddir)/expat-1.1	  \
	   -DENTITYPY=\"$(entitydatadir)\"	  \
	   $(PYTHON_CFLAGS)

RENDPYTHON_SOURCES  =	python-embed.c

if BUILD_PYTHON

if STATIC_PYTHON

librendpython_la_LIBADD = $(PYTHON_LDFLAGS)
noinst_LIBRARIES = librendpython.a
librendpython_a_SOURCES = $(RENDPYTHON_SOURCES)

else

## NEXT LINE IS ONLY FOR TESTING, i'm sick of automake
librendpython_la_LIBADD = $(PYTHON_LDFLAGS) -lpthread
clib_LTLIBRARIES = librendpython.la
librendpython_la_SOURCES = $(RENDPYTHON_SOURCES)

endif

endif

librendpython_la_LDFLAGS = -avoid-version -module -export-dynamic