summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-05-09 17:13:11 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-05-09 17:13:11 -0700
commitdbf88774a77d91f3f7996071dfccf61636afa77b (patch)
tree8bda07b87cdcd3f11a1620fbc3e8c9a0314f82a6 /src
parent7cc28e8ae807e69663e0a73cd12edf9963277a2d (diff)
Adjust flags definitions to fix lint library build
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 394233f..0948474 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,7 +5,8 @@ libXv_la_SOURCES = \
Xvlibint.h
libXv_la_LIBADD = @XV_LIBS@
-AM_CFLAGS = @XV_CFLAGS@ -I$(top_srcdir)/include @MALLOC_ZERO_CFLAGS@
+AM_CPPFLAGS = @XV_CFLAGS@ -I$(top_srcdir)/include @MALLOC_ZERO_CFLAGS@
+AM_CFLAGS = $(CWARNFLAGS)
libXv_la_LDFLAGS = -version-number 1:0:0 -no-undefined
@@ -23,6 +24,8 @@ lintlibdir = $(libdir)
lintlib_DATA = $(LINTLIB)
$(LINTLIB): $(libXau_la_SOURCES)
- $(LINT) -y -oXv -x $(ALL_LINT_FLAGS) $(libXv_la_SOURCES)
+ $(LINT) -y -oXv -x $(ALL_LINT_FLAGS) $(libXv_la_SOURCES)
+
+CLEANFILES = $(LINTLIB)
endif MAKE_LINT_LIB