add tweaks for a Solaris build
authorJosh Coalson <jcoalson@users.sourceforce.net>
Thu, 25 Apr 2002 05:19:37 +0000 (05:19 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Thu, 25 Apr 2002 05:19:37 +0000 (05:19 +0000)
src/flac/Makefile.lite
src/libFLAC/Makefile.lite

index cc8280b..cdce131 100644 (file)
@@ -24,10 +24,15 @@ ifeq ($(DARWIN_BUILD),yes)
 INCLUDES     = -I./include -I../../include
 LIBS         = -lFLAC -lc -lm
 else
+ifeq ($(SOLARIS_BUILD),yes)
+INCLUDES     = -I./include -I../../include
+LIBS         = -lFLAC -lm
+else
 #@@@ TODO: conditionalize ogg includes, defines, and -logg
 INCLUDES     = -I./include -I../../include -I$(HOME)/local/include -DFLAC__HAS_OGG
 LIBS         = -lFLAC -lm -L$(HOME)/local/lib -logg
 endif
+endif
 
 OBJS = \
        analyze.o \
index f60cdc0..2e9aeef 100644 (file)
@@ -24,18 +24,25 @@ LIB_NAME  = libFLAC
 ifeq ($(DARWIN_BUILD),yes)
 DEFINES = -DFLAC__NO_NASM -DFLAC__ALIGN_MALLOC_DATA
 else
+ifeq ($(SOLARIS_BUILD),yes)
+DEFINES = -DFLAC__NO_NASM -DFLAC__ALIGN_MALLOC_DATA
+else
 DEFINES = -DFLAC__CPU_IA32 -DFLAC__HAS_NASM -DFLAC__ALIGN_MALLOC_DATA
 endif
+endif
 INCLUDES  = -I./include -I../../include
 DEBUG_CFLAGS = -DFLAC__OVERFLOW_DETECT
 
 ifeq ($(DARWIN_BUILD),yes)
 else
+ifeq ($(SOLARIS_BUILD),yes)
+else
 ASM_OBJS = \
        ia32/cpu_asm.o \
        ia32/fixed_asm.o \
        ia32/lpc_asm.o
 endif
+endif
 
 OBJS = $(ASM_OBJS) \
        bitbuffer.o \