summaryrefslogtreecommitdiffstats
path: root/php/Makefile.am
blob: 5938b586fc13e3534645bc097cf06608377fffc7 (plain)
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
34
35
SUBDIRS = environs tests xml

PHP_PACKAGE=lasso

lasso_la_LDFLAGS = -export-dynamic -prefer-pic -module -avoid-version -L$(top_builddir)/lasso/.libs $(PHP_LDFLAGS)

INCLUDES = \
	-DPACKAGE=\"@PACKAGE@\" \
	-I$(top_srcdir) \
	-I$(top_srcdir)/lasso \
	$(LASSO_DEFINES) \
	$(LASSO_CFLAGS) \
	$(PHP_INCLUDES) \
	$(NULL)


mylibs = $(top_builddir)/lasso/liblasso.la

LASSOSOURCES = \
			   lasso.c \
			   lasso.h \
			   php_lasso.h

lib_LTLIBRARIES = lasso.la \
				  $(NULL)
		
prefix=@PHP_PREFIX@
libdir=@PHP_EXTENSION_DIR@
				  
lasso_la_SOURCES = $(LASSOSOURCES)
lasso_la_LIBADD = $(mylibs) \
				  $(LASSO_LIBS) \
                  ./environs/libenvirons.a \
                  ./xml/libxml.a \
				  $(NULL)