annotate libdvdcss/Makefile @ 22603:1765c6c02f21

Add live555 include flags to CXXFLAGS only. patch by Carl Eugen Hoyos, cehoyos ag.or at
author diego
date Thu, 15 Mar 2007 18:07:12 +0000
parents a6364c234e1d
children 34c5e9089683
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20613
e68f255d7d64 Move libdvdcss into its own subdirectory.
diego
parents:
diff changeset
1 include ../config.mak
e68f255d7d64 Move libdvdcss into its own subdirectory.
diego
parents:
diff changeset
2
22528
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 21259
diff changeset
3 LIBNAME_COMMON = libdvdcss.a
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 21259
diff changeset
4
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 21259
diff changeset
5 SRCS_COMMON = css.c \
22531
090ec2169aee cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents: 22528
diff changeset
6 device.c \
090ec2169aee cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents: 22528
diff changeset
7 error.c \
090ec2169aee cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents: 22528
diff changeset
8 ioctl.c \
090ec2169aee cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents: 22528
diff changeset
9 libdvdcss.c \
090ec2169aee cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents: 22528
diff changeset
10 #bsdi_ioctl \
20613
e68f255d7d64 Move libdvdcss into its own subdirectory.
diego
parents:
diff changeset
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
e68f255d7d64 Move libdvdcss into its own subdirectory.
diego
parents:
diff changeset
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
e68f255d7d64 Move libdvdcss into its own subdirectory.
diego
parents:
diff changeset
15
e68f255d7d64 Move libdvdcss into its own subdirectory.
diego
parents:
diff changeset
16 ifeq ($(TARGET_OS),CYGWIN)
20713
7564585e63a4 WIN32 was already being set from config.h.
diego
parents: 20708
diff changeset
17 CFLAGS+=-DSYS_CYGWIN
20613
e68f255d7d64 Move libdvdcss into its own subdirectory.
diego
parents:
diff changeset
18 endif
e68f255d7d64 Move libdvdcss into its own subdirectory.
diego
parents:
diff changeset
19
21259
92b122592776 Merge common parts of all Makefiles into one file included by all.
diego
parents: 21215
diff changeset
20 include ../mpcommon.mak