remove gmakeisms from the mod_cdr makefile

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4652 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2007-03-19 12:16:46 +00:00
parent ce81898c5d
commit 9070ba0e14
2 changed files with 10 additions and 10 deletions
+3 -5
View File
@@ -10,10 +10,8 @@ LOCAL_OBJS=cdrcontainer.o basecdr.o baseregistry.o pddcdr.o csvcdr.o xmlcdr.o sq
#LOCAL_CFLAGS += -DSWITCH_QUEUE_ENHANCED
#LOCAL_LDFLAGS += -lcurl
ifneq ($(shell which mysql_config),)
LOCAL_CFLAGS += $(shell mysql_config --include)
LOCAL_LDFLAGS += $(shell mysql_config --libs)
LOCAL_OBJS += mysqlcdr.o
endif
LOCAL_INSERT_CFLAGS=mysql_config="\`which mysql-config 2>/dev/null \`"; if test -n "$$mysql_config"; then echo "\`mysql_config --include\`" ; fi
LOCAL_INSERT_LDFLAGS=mysql_config="\`which mysql-config 2>/dev/null \`"; if test -n "$$mysql_config"; then echo "\`mysql_config --libs\`" ; fi
LOCAL_INSERT_OBJS=mysql_config="\`which mysql-config 2>/dev/null \`"; if test -n "$$mysql_config"; then echo "mysqlcdr.o" ; fi
include ../../../../build/modmake.rules