summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 06e9ffd0d4962eb69d36da49d3d6caecf73776e3 (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
lib_LTLIBRARIES = libXv.la

libXv_la_SOURCES = \
         Xv.c \
         Xvlibint.h

libXv_la_LIBADD = @XV_LIBS@
AM_CPPFLAGS = @XV_CFLAGS@ -I$(top_srcdir)/include @MALLOC_ZERO_CFLAGS@
AM_CFLAGS = $(CWARNFLAGS)

libXv_la_LDFLAGS = -version-number 1:0:0 -no-undefined

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

lint:
	$(LINT) $(ALL_LINT_FLAGS) $(libXv_la_SOURCES) $(XV_LIBS)
endif LINT

if MAKE_LINT_LIB
lintlibdir = $(libdir)

lintlib_DATA = $(LINTLIB)

$(LINTLIB): $(libXv_la_SOURCES)
	$(LINT) -y -oXv -x $(ALL_LINT_FLAGS) $(libXv_la_SOURCES)

CLEANFILES = $(LINTLIB)
endif MAKE_LINT_LIB