diff options
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 32 |
1 files changed, 7 insertions, 25 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 741e7c5..05284fe 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,34 +1,16 @@ -lib_LTLIBRARIES = libXvMC.la libXvMCW.la +lib_LTLIBRARIES = libXvMC.la -libXvMC_la_SOURCES = \ - XvMC.c \ - XvMClibint.h - -libXvMCW_la_SOURCES = \ - XvMCWrapper.c - -AM_CFLAGS = $(CWARNFLAGS) @XVMC_CFLAGS@ -AM_CPPFLAGS = -I$(top_srcdir)/include @MALLOC_ZERO_CFLAGS@ - -libXvMC_la_LIBADD = @XVMC_LIBS@ -libXvMC_la_CFLAGS = $(AM_CFLAGS) - -libXvMCW_la_LIBADD = @XVMC_LIBS@ -libXvMCW_la_CFLAGS = \ - $(AM_CFLAGS) \ - -DXVMC_CONFIGDIR=$(sysconfdir)/X11 \ - -DXVMC_SOVERSION=\".1.0\" \ - -DXV_SOVERSION=\".1.0\" +AM_CPPFLAGS = -I$(top_srcdir)/include $(MALLOC_ZERO_CFLAGS) +AM_CFLAGS = $(CWARNFLAGS) $(XVMC_CFLAGS) +libXvMC_la_SOURCES = XvMC.c XvMClibint.h +libXvMC_la_LIBADD = $(XVMC_LIBS) libXvMC_la_LDFLAGS = -version-number 1:0:0 -no-undefined -libXvMCW_la_LDFLAGS = -version-number 1:0:0 -no-undefined - if LINT -ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ +ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) lint: - $(LINT) $(ALL_LINT_FLAGS) $(libXvMC_la_SOURCES) $(XVMC_LIBS) - $(LINT) $(ALL_LINT_FLAGS) $(libXvMCW_la_CFLAGS) $(libXvMCW_la_SOURCES) $(XVMC_LIBS) + $(LINT) $(ALL_LINT_FLAGS) $(libXvMC_la_SOURCES) $(AM_CFLAGS) $(XVMC_LIBS) endif LINT |