Make it build and run on MacOS X

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-10-26 18:50:49 +00:00
parent cd5bbf0f35
commit 4ce283ff18
23 changed files with 273 additions and 45 deletions

View File

@@ -26,9 +26,11 @@ CFLAGS = $(OPTIMIZE) -I$(LIB_TARGET_DIR) $(WARNINGS) -fPIC
#CFLAGS+= $(shell if uname -m | grep -q 86; then echo "-mpentium" ; fi)
#fix for PPC processors
ifneq ($(OSARCH),Darwin)
ifneq ($(PROC),ppc)
CFLAGS+= -march=$(PROC)
endif
endif
LIB = $(LIB_TARGET_DIR)/liblpc10.a