summaryrefslogtreecommitdiff
path: root/lib/libXcursor/src/Makefile.am
blob: a8734f3825440e461c346ea1b93cef13284d3abb (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
lib_LTLIBRARIES = libXcursor.la

libXcursor_la_SOURCES = xcursorint.h cursor.c display.c file.c library.c xlib.c

ICONDIR=@ICONDIR@
XCURSORPATH=@XCURSORPATH@

libXcursor_la_LIBADD = $(XCURSOR_LIBS)
AM_CFLAGS = $(XCURSOR_CFLAGS) \
	-DICONDIR=\"$(ICONDIR)\" -DXCURSORPATH=\"$(XCURSORPATH)\"

INCLUDES = -I$(top_srcdir)/include/X11/Xcursor

#
# Shared library version info.  This is not the same as the package version
#
libXcursor_la_LDFLAGS = -version-number 1:0:2 -no-undefined

libXcursorincludedir = $(includedir)/X11/Xcursor
libXcursorinclude_HEADERS = $(top_srcdir)/include/X11/Xcursor/Xcursor.h 

if LINT
ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
		$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)

lint:
	$(LINT) $(ALL_LINT_FLAGS) $(libXcursor_la_SOURCES) $(XCURSOR_LIBS)
endif LINT