summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 69adcbcb86c3c11d5017728af247ee0400222e6f (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# 
#  $Id$
# 
#  Copyright © 2004 Keith Packard
# 
#  Permission to use, copy, modify, distribute, and sell this software and its
#  documentation for any purpose is hereby granted without fee, provided that
#  the above copyright notice appear in all copies and that both that
#  copyright notice and this permission notice appear in supporting
#  documentation, and that the name of the authors not be used in
#  advertising or publicity pertaining to distribution of the software without
#  specific, written prior permission.  The authors make no
#  representations about the suitability of this software for any purpose.  It
#  is provided "as is" without express or implied warranty.
# 
#  THE AUTHORS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
#  EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
#  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
#  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
#  PERFORMANCE OF THIS SOFTWARE.
#

PROGRAM=lightpipe

man_MANS=lightpipe.1

LOCAL_DOCS=$(man_MANS)

AM_CFLAGS = $(LIGHTPIPE_CFLAGS)	$(WARN_CFLAGS)

bin_PROGRAMS = lightpipe

lib_LTLIBRARIES = liblightpipe.la

liblightpipe_la_SOURCES = \
	lpapi.c \
	lpdamage.c \
	lpdisplay.c \
	lpevent.c \
	lpimage.c \
	lpinit.c \
	lpint.h \
	lptable.c

#
# Library version info.  Check the libtool docs for
# instructions on when and how to change this value
#
# bump when the ABI changes
LIGHTPIPE_CURRENT=1
# bump for non-ABI changes, reset to zero when CURRENT changes
LIGHTPIPE_REVISION=0
# bump when the ABI changes in backward-compatible fashion
LIGHTPIPE_AGE=0

liblightpipe_la_LIBADD = $(LIGHTPIPE_LIBS)
liblightpipe_la_LDFLAGS = -version-info ${LIGHTPIPE_CURRENT}:${LIGHTPIPE_REVISION}:${LIGHTPIPE_AGE} -no-undefined

liblightpipeincludedir = $(includedir)/X11/extensions
liblightpipeinclude_HEADERS = lightpipe.h

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = lightpipe.pc

EXTRA_DIST=$(LOCAL_DOCS) lightpipe.pc.in autogen.sh

lightpipe_SOURCES = lightpipe.c

lightpipe_LDADD = $(LIGHTPIPE_LIBS) liblightpipe.la