2006-11-03 12:25:56 +00:00
|
|
|
include ../config.mak
|
|
|
|
|
2007-03-13 12:10:57 +00:00
|
|
|
LIBNAME_COMMON = libdvdcss.a
|
|
|
|
|
|
|
|
SRCS_COMMON = css.c \
|
2007-03-13 21:55:23 +00:00
|
|
|
device.c \
|
|
|
|
error.c \
|
|
|
|
ioctl.c \
|
|
|
|
libdvdcss.c \
|
|
|
|
#bsdi_ioctl \
|
2006-11-03 12:25:56 +00:00
|
|
|
|
2007-03-16 22:25:17 +00:00
|
|
|
CFLAGS = -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.9\" \
|
|
|
|
-DHAVE_LIMITS_H -DHAVE_ERRNO_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H
|
2006-11-03 12:25:56 +00:00
|
|
|
|
|
|
|
ifeq ($(TARGET_OS),CYGWIN)
|
2006-11-05 20:35:16 +00:00
|
|
|
CFLAGS+=-DSYS_CYGWIN
|
2006-11-03 12:25:56 +00:00
|
|
|
endif
|
|
|
|
|
2006-11-26 18:12:36 +00:00
|
|
|
include ../mpcommon.mak
|