add tweaks for a Solaris build

This commit is contained in:
Josh Coalson 2002-04-25 05:19:37 +00:00
parent a2518e1133
commit 8e46a5e53e
2 changed files with 12 additions and 0 deletions

View 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 \

View 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 \