summaryrefslogtreecommitdiff
path: root/src/input/libdvdnav/Makefile.am
blob: 4c0d5c229018ff545f8c52b6ba56908c16bec496 (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
DVD_CFLAGS = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \
  -I$(top_srcdir)/src/input/libdvdread/

CFLAGS = @CFLAGS@ $(DVD_CFLAGS) 

noinst_LTLIBRARIES = libdvdnav.la

libdvdnav_la_SOURCES = decoder.c dvdnav.c vm.c vmcmd.c \
		       read_cache.c navigation.c highlight.c \
		       searching.c settings.c
libdvdnav_la_LDFLAGS = $(THREAD_LIBS) \
	-avoid-version -module

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

debug:
	@$(MAKE) CFLAGS="$(DEBUG_CFLAGS) $(DVD_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