~mm-yuhu/gearmand/server-funcs

« back to all changes in this revision

Viewing changes to libgearman-server/Makefile.am

  • Committer: Eric Day
  • Date: 2009-09-24 23:43:15 UTC
  • mto: (211.2.23 fixes)
  • mto: This revision was merged to the branch mainline in revision 216.
  • Revision ID: eday@oddments.org-20090924234315-6g1q3wv58yd7mj47
Separated out libgearman (client & worker only) and libgearman-server (server and embedded gearmand w/ libevent).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Gearman server and library
 
2
# Copyright (C) 2008 Brian Aker, Eric Day
 
3
# All rights reserved.
 
4
#
 
5
# Use and distribution licensed under the BSD license.  See
 
6
# the COPYING file in the parent directory for full text.
 
7
 
 
8
if HAVE_LIBDRIZZLE
 
9
QUEUE_LIBDRIZZLE_H= queue_libdrizzle.h
 
10
QUEUE_LIBDRIZZLE_C= queue_libdrizzle.c
 
11
endif
 
12
 
 
13
if HAVE_LIBMEMCACHED
 
14
QUEUE_LIBMEMCACHED_H= queue_libmemcached.h
 
15
QUEUE_LIBMEMCACHED_C= queue_libmemcached.c
 
16
endif
 
17
 
 
18
if HAVE_LIBSQLITE3
 
19
QUEUE_LIBSQLITE3_H= queue_libsqlite3.h
 
20
QUEUE_LIBSQLITE3_C= queue_libsqlite3.c
 
21
endif
 
22
 
 
23
if HAVE_LIBPQ
 
24
QUEUE_LIBPQ_H= queue_libpq.h
 
25
QUEUE_LIBPQ_C= queue_libpq.c
 
26
endif
 
27
 
 
28
lib_LTLIBRARIES= libgearman-server.la
 
29
 
 
30
libgearman_serverincludedir= ${includedir}/libgearman-server
 
31
 
 
32
dist_libgearman_serverinclude_HEADERS= \
 
33
        client.h \
 
34
        conf.h \
 
35
        conf_module.h \
 
36
        conn.h \
 
37
        constants.h \
 
38
        function.h \
 
39
        job.h \
 
40
        packet.h \
 
41
        server.h \
 
42
        structs.h \
 
43
        thread.h \
 
44
        worker.h \
 
45
        $(QUEUE_LIBDRIZZLE_H) \
 
46
        $(QUEUE_LIBMEMCACHED_H) \
 
47
        $(QUEUE_LIBSQLITE3_H) \
 
48
        $(QUEUE_LIBPQ_H) \
 
49
        protocol_http.h \
 
50
        gearmand.h \
 
51
        gearmand_thread.h \
 
52
        gearmand_con.h
 
53
 
 
54
noinst_HEADERS= \
 
55
        common.h
 
56
 
 
57
libgearman_server_la_SOURCES= \
 
58
        client.c \
 
59
        conf.c \
 
60
        conf_module.c \
 
61
        conn.c \
 
62
        function.c \
 
63
        job.c \
 
64
        packet.c \
 
65
        server.c \
 
66
        thread.c \
 
67
        worker.c \
 
68
        $(QUEUE_LIBDRIZZLE_C) \
 
69
        $(QUEUE_LIBMEMCACHED_C) \
 
70
        $(QUEUE_LIBSQLITE3_C) \
 
71
        $(QUEUE_LIBPQ_C) \
 
72
        protocol_http.c \
 
73
        gearmand.c \
 
74
        gearmand_thread.c \
 
75
        gearmand_con.c
 
76
 
 
77
libgearman_server_la_CFLAGS= \
 
78
        ${AM_CFLAGS} \
 
79
        -DBUILDING_LIBGEARMAN
 
80
 
 
81
libgearman_server_la_LDFLAGS= \
 
82
        -version-info \
 
83
        $(GEARMAN_SERVER_LIBRARY_VERSION) \
 
84
        $(LD_VERSION_SCRIPT)
 
85
 
 
86
libgearman_server_la_LIBADD= \
 
87
        $(top_builddir)/libgearman/libgearman.la \
 
88
        $(LTLIBEVENT) \
 
89
        $(LTLIBDRIZZLE) \
 
90
        $(LTLIBMEMCACHED) \
 
91
        $(LTLIBSQLITE3) \
 
92
        $(LTLIBPQ)
 
93
 
 
94
EXTRA_DIST= libgearman-server.ver