Commit 8e46a5e5 authored by Josh Coalson's avatar Josh Coalson
Browse files

add tweaks for a Solaris build

parent a2518e11
......@@ -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 \
......
......@@ -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 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment