tizen 2.4 release
[framework/uifw/xorg/lib/libxshmfence.git] / src / Makefile.am
1 lib_LTLIBRARIES = libxshmfence.la
2
3 if PTHREAD
4 PTHREAD_SOURCES=xshmfence_pthread.c xshmfence_pthread.h
5 endif
6
7 if FUTEX
8 FUTEX_SOURCES=xshmfence_futex.c xshmfence_futex.h
9 endif
10
11 libxshmfence_la_SOURCES = \
12         xshmfenceint.h \
13         xshmfence_alloc.c \
14         $(PTHREAD_SOURCES) \
15         $(FUTEX_SOURCES)
16
17 AM_CFLAGS = $(CWARNFLAGS)
18
19 libxshmfence_la_LDFLAGS = -version-number 1:0:0 -no-undefined
20 libxshmfence_la_LIBADD = @PTHREAD_LIBS@
21
22 libxshmfenceincludedir = $(includedir)/X11
23 libxshmfenceinclude_HEADERS = xshmfence.h
24
25 if LINT
26 ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
27                 $(AM_CPPFLAGS) $(CPPFLAGS)
28
29 lint:
30         $(LINT) $(ALL_LINT_FLAGS) $(libxshmfence_la_SOURCES) $(LIBS)
31 endif LINT