fix default versioning behavior
authorJosh Coalson <jcoalson@users.sourceforce.net>
Mon, 18 Jun 2001 21:30:39 +0000 (21:30 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Mon, 18 Jun 2001 21:30:39 +0000 (21:30 +0000)
build/exe.mk
build/lib.mk
include/FLAC/format.h

index 74e32a9..369464d 100644 (file)
@@ -30,8 +30,8 @@ PROGRAM     = $(BINPATH)/$(PROGRAM_NAME)
 
 all : release
 
-debug   : CFLAGS = -g -O0 -DDEBUG $(DEBUG_CFLAGS) -Wall -W $(DEFINES) $(INCLUDES)
-release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG $(RELEASE_CFLAGS) -Wall -W $(DEFINES) $(INCLUDES)
+debug   : CFLAGS = -g -O0 -DDEBUG $(DEBUG_CFLAGS) -Wall -W -DVERSION="1.0devel" $(DEFINES) $(INCLUDES)
+release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG $(RELEASE_CFLAGS) -Wall -W -DVERSION="1.0devel" $(DEFINES) $(INCLUDES)
 
 LFLAGS  = -L$(LIBPATH)
 
index 179b0a6..47eee47 100644 (file)
@@ -29,8 +29,8 @@ DYNAMIC_LIB = $(LIBPATH)/$(LIB_NAME).so
 
 all : release
 
-debug   : CFLAGS = -g -O0 -DDEBUG $(DEBUG_CFLAGS) -Wall -W $(DEFINES) $(INCLUDES)
-release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG $(RELEASE_CFLAGS) -Wall -W $(DEFINES) $(INCLUDES)
+debug   : CFLAGS = -g -O0 -DDEBUG $(DEBUG_CFLAGS) -Wall -W -DVERSION="1.0devel" $(DEFINES) $(INCLUDES)
+release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG $(RELEASE_CFLAGS) -Wall -W -DVERSION="1.0devel" $(DEFINES) $(INCLUDES)
 
 LFLAGS  = -L$(LIBPATH)
 
index dc11a3c..0714c3a 100644 (file)
@@ -40,8 +40,6 @@
 /* VERSION should come from configure */
 #ifdef VERSION
 #define FLAC__VERSION_STRING VERSION
-#else
-#define FLAC__VERSION_STRING "0.10"
 #endif
 
 extern const byte     FLAC__STREAM_SYNC_STRING[4]; /* = "fLaC" */;