diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-09 18:25:42 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-09 18:25:42 +0000 |
commit | 66e1b5c8ed24d6d44098971168486f96cabd8dba (patch) | |
tree | 3f8c85122b6c21365745e1236af53a958acdee55 /libdvdread | |
parent | 33b60f66f298a2215495f86c0e97ae4b97ec863d (diff) | |
download | mpv-66e1b5c8ed24d6d44098971168486f96cabd8dba.tar.bz2 mpv-66e1b5c8ed24d6d44098971168486f96cabd8dba.tar.xz |
Allow disabling internal libdvdcss.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20821 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdvdread')
-rw-r--r-- | libdvdread/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libdvdread/Makefile b/libdvdread/Makefile index afce21d535..3db80769b5 100644 --- a/libdvdread/Makefile +++ b/libdvdread/Makefile @@ -18,9 +18,12 @@ LIB=libdvdread .SUFFIXES: .c .o -CFLAGS= -I../libdvdcss -I.. $(OPTFLAGS) -D__USE_UNIX98 -D_GNU_SOURCE \ - -DHAVE_DVDCSS_DVDCSS_H -DSTDC_HEADERS -DHAVE_LIMITS_H \ - -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 +CFLAGS= -I.. $(OPTFLAGS) -D__USE_UNIX98 -D_GNU_SOURCE -DSTDC_HEADERS \ + -DHAVE_LIMITS_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 + +ifeq ($(DVDCSS_INTERNAL),yes) +CFLAGS += -I../libdvdcss -DHAVE_DVDCSS_DVDCSS_H +endif .c.o: $(CC) $(CFLAGS) -c -o $@ $< |