# Generated automatically from Makefile.in by configure.

FLAGS=-I.  -DAO_COMPILE_SOLARIS -DAO_DEFAULT=AO_SOLARIS -g $(CFLAGS)
OPT=-xO4 -fast -w -fsimple -native -xcg92 $(FLAGS)
DEBUG=-v -g $(FLAGS)
PROFILE=-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc $(FLAGS)
CC=cc
LD=cc
LIBS=
LDFLAGS= $(FLAGS)
AR=ar
INSTALL=install
RANLIB=ranlib

LIBAO_FILES=audio_out.o ao_null.o ao_wav.o  ao_solaris.o

.PHONY: all debug profile target clean distclean install

all:
	@$(MAKE) target CFLAGS="$(OPT)"

debug:
	@$(MAKE) target CFLAGS="$(DEBUG)"

profile:
	@$(MAKE) target CFLAGS="$(PROFILE)"

target: libao.a

libao.a: $(LIBAO_FILES)
	$(AR) -r libao.a $(LIBAO_FILES)
	$(RANLIB) libao.a

.c.o:
	$(CC) $(FLAGS) -c $<

clean:
	-rm -rf *.o *.a *~ *.out

distclean: clean
	-rm -f Makefile config.h config.log config.cache config.status ao_libs.inc


