Mercurial > mplayer.hg
annotate libdvdcss/Makefile @ 22188:b9fa8b0ddab9
strncat() misuses, may have been exploitable.
Reported by Sascha Sommer.
author | rtogni |
---|---|
date | Sun, 11 Feb 2007 18:00:06 +0000 |
parents | 92b122592776 |
children | 8bcff5c7e387 |
rev | line source |
---|---|
20613 | 1 include ../config.mak |
2 | |
3 SRCS = css.c \ | |
4 device.c \ | |
5 error.c \ | |
6 ioctl.c \ | |
7 libdvdcss.c \ | |
8 #bsdi_ioctl \ | |
9 | |
21214 | 10 LIBNAME = libdvdcss.a |
20613 | 11 |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21215
diff
changeset
|
12 CFLAGS= -D__USE_UNIX98 -D_GNU_SOURCE \ |
20613 | 13 -DHAVE_LIMITS_H -DHAVE_ERRNO_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H \ |
20708
f5e914d834d3
Add -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 to CFLAGS like upstream does.
diego
parents:
20613
diff
changeset
|
14 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"1.2.9\" |
20613 | 15 |
16 ifeq ($(TARGET_OS),CYGWIN) | |
20713 | 17 CFLAGS+=-DSYS_CYGWIN |
20613 | 18 endif |
19 | |
20 ifeq ($(TARGET_OS),Darwin) | |
21 CFLAGS+=-D__DARWIN__ | |
22 endif | |
23 | |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21215
diff
changeset
|
24 include ../mpcommon.mak |