view Makefile.am @ 119:bd8601b74c3d src

this is causing more harm than good libdvdread is now considered to be the only "official reference" concerning headers for DVD structures and we should always use them. Problems only arise, if applications do not (this lately was a problem in xine).
author mroi
date Sat, 08 Mar 2003 14:04:20 +0000
parents 48ba92648842
children f7a26cd00c93
line wrap: on
line source

lib_LTLIBRARIES = libdvdnav.la

AM_CFLAGS = @THREAD_CFLAGS@

libdvdnav_la_SOURCES = decoder.c dvdnav.c vm.c vmcmd.c \
		       read_cache.c navigation.c highlight.c \
		       searching.c settings.c remap.c
libdvdnav_la_LDFLAGS = $(DVDREAD_LIBS) $(THREAD_LIBS) \
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
#	-release $(DVDNAV_MAJOR).$(DVDNAV_MINOR).$(DVDNAV_SUB)

include_HEADERS = decoder.h dvdnav.h dvdnav_events.h \
	dvdnav_internal.h vm.h vmcmd.h read_cache.h dvd_types.h \
	remap.h

EXTRA_DIST = README.MAP FELLOWSHIP.map

###
# Install header files (default=$includedir/xine)
#
install-includeHEADERS: $(include_HEADERS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(includedir)/dvdnav
	@list='$(include_HEADERS)'; for p in $$list; do \
	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/dvdnav/$$p"; \
	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/dvdnav/$$p; \
	done


###
# Remove them
#
uninstall-includeHEADERS:
	@$(NORMAL_UNINSTALL)
	list='$(include_HEADERS)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(includedir)/dvdnav/$$p; \
	done

debug:
	$(MAKE) CFLAGS="$(DEBUG_CFLAGS)"

install-debug: debug
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

mostlyclean-generic:
	-rm -f *~ \#* .*~ .\#*

maintainer-clean-generic:
	-@echo "This command is intended for maintainers to use;"
	-@echo "it deletes files that may require special tools to rebuild."
	-rm -f Makefile.in