~gearman-developers/gearman-interface/gearman-interface

« back to all changes in this revision

Viewing changes to php/Makefile.am

  • Committer: Monty Taylor
  • Date: 2009-07-21 20:41:39 UTC
  • Revision ID: mordred@inaugust.com-20090721204139-rcyse999id1lbu1h
Python worker initial import.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- Mode: Makefile -*-
 
2
#  drizzle-interface: Interface Wrappers for Drizzle
 
3
#  Copyright (C) 2008 Sun Microsystems, Inc.
 
4
#  
 
5
#  This program is free software; you can redistribute it and/or modify
 
6
#  it under the terms of the GNU General Public License as published by
 
7
#  the Free Software Foundation; either version 2 of the License, or 
 
8
#  (at your option) any later version.
 
9
#  
 
10
#  This program is distributed in the hope that it will be useful,
 
11
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
#  GNU General Public License for more details.
 
14
#
 
15
#  You should have received a copy of the GNU General Public License
 
16
#  along with this program; if not, write to the Free Software
 
17
#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
18
 
 
19
EXTRA_LTLIBRARIES= libswig.la
 
20
libswig_la_SOURCES= libdrizzle.i
 
21
 
 
22
phparchdir=${PHP_EXTDIR}
 
23
nobase_phparch_LTLIBRARIES= drizzle/libdrizzle.la
 
24
 
 
25
drizzle_libdrizzle_la_SOURCES= libdrizzle.cc
 
26
drizzle_libdrizzle_la_CXXFLAGS= ${DRIZZLE_CFLAGS} ${PHP_CPPFLAGS}
 
27
drizzle_libdrizzle_la_LIBADD= ${DRIZZLE_LIBS}
 
28
drizzle_libdrizzle_la_LDFLAGS= -module -avoid-version
 
29
drizzle_libdrizzle_la_DEPENDENCIES= libdrizzle.so
 
30
 
 
31
BUILT_SOURCES= libdrizzle.cc
 
32
 
 
33
CLEANFILES=core* libdrizzle.cc libdrizzle.so php_libdrizzle.h libdrizzle.php
 
34
 
 
35
SWIG_OPTS=-php
 
36
 
 
37
SUFFIXES = .cc .i
 
38
 
 
39
.i.cc:
 
40
        $(SWIG) $(SWIG_OPTS) -MD -MF ${DEPDIR}/$*.Tpo -o $@ $<
 
41
        @mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
 
42
 
 
43
drizzle/libdrizzle.cc: libdrizzle.i
 
44
 
 
45
libdrizzle.so:
 
46
        @ln -sf drizzle/.libs/libdrizzle.so libdrizzle.so
 
47
        
 
48
distclean-local:
 
49
        rm -rf drizzle
 
50