changeset 20610:8571e14f3f43

Move the rest of the config.h parameters to the Makefile.
author diego
date Fri, 03 Nov 2006 10:36:45 +0000
parents c90f6e02a589
children 1ad26f971cef
files libmpdvdkit2/Makefile libmpdvdkit2/config.h
diffstat 2 files changed, 2 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdvdkit2/Makefile	Fri Nov 03 10:09:39 2006 +0000
+++ b/libmpdvdkit2/Makefile	Fri Nov 03 10:36:45 2006 +0000
@@ -34,10 +34,11 @@
 #	 \ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 
 # -funroll-loops  removed, triggered gcc 3.0.4 (3.x?) bug
-CFLAGS= -I. $(OPTFLAGS) \
+CFLAGS= -I.. $(OPTFLAGS) \
 	-DSYS_LINUX -D__USE_UNIX98 -D_REENTRANT -D_GNU_SOURCE \
 	-DHAVE_DVDCSS_DVDCSS_H -DSTDC_HEADERS -DHAVE_LIMITS_H \
 	-DHAVE_ERRNO_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H \
+	-DVERSION=\"1.2.9\"
 
 ifeq ($(TARGET_OS),CYGWIN)
 CFLAGS+=-DSYS_CYGWIN -DWIN32
--- a/libmpdvdkit2/config.h	Fri Nov 03 10:09:39 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-#include "../config.h"
-
-/* Version number of package */
-#define VERSION "1.2.9"