1lib_LTLIBRARIES = libXcursor.la
2
3libXcursor_la_SOURCES = xcursorint.h cursor.c display.c file.c library.c xlib.c
4
5ICONDIR=@ICONDIR@
6XCURSORPATH=@XCURSORPATH@
7
8libXcursor_la_LIBADD = $(XCURSOR_LIBS)
9AM_CFLAGS = \
10	$(XCURSOR_CFLAGS) \
11	$(CWARNFLAGS)\
12	-DICONDIR=\"$(ICONDIR)\" \
13	-DXCURSORPATH=\"$(XCURSORPATH)\"
14
15AM_CPPFLAGS = -I$(top_srcdir)/include/X11/Xcursor
16
17#
18# Shared library version info.  This is not the same as the package version
19#
20libXcursor_la_LDFLAGS = -version-number 1:0:2 -no-undefined
21
22libXcursorincludedir = $(includedir)/X11/Xcursor
23libXcursorinclude_HEADERS = $(top_builddir)/include/X11/Xcursor/Xcursor.h
24
25if LINT
26ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
27		$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
28
29lint:
30	$(LINT) $(ALL_LINT_FLAGS) $(libXcursor_la_SOURCES) $(XCURSOR_LIBS)
31endif LINT
32