From 763d1e9a8ed2e44419760db370e9280426a0b617 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Sun, 20 Aug 2006 20:47:34 +0000 Subject: Finishing autoconf work, also fixed compilation error in publish.h git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@689 74dad513-b988-da41-8d7b-12977e46ad98 --- build/m-auto.mak | 1 + build/os-auto.mak.in | 11 +++++++++++ build/os-darwinos.mak | 2 +- build/os-linux.mak | 2 +- build/os-rtems.mak | 2 +- build/os-sunos.mak | 3 ++- build/os-win32.mak | 3 ++- 7 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 build/m-auto.mak create mode 100644 build/os-auto.mak.in (limited to 'build') diff --git a/build/m-auto.mak b/build/m-auto.mak new file mode 100644 index 00000000..3bd2ac34 --- /dev/null +++ b/build/m-auto.mak @@ -0,0 +1 @@ +# Nothing needs to be defined here diff --git a/build/os-auto.mak.in b/build/os-auto.mak.in new file mode 100644 index 00000000..3d99927e --- /dev/null +++ b/build/os-auto.mak.in @@ -0,0 +1,11 @@ +# @configure_input@ + +export OS_CFLAGS := $(CC_DEF)PJ_AUTOCONF=1 @CFLAGS@ + +export OS_CXXFLAGS := $(CC_DEF)PJ_AUTOCONF=1 @CXXFLAGS@ + +export OS_LDFLAGS := @LDFLAGS@ @LIBS@ + +export OS_SOURCES := + + diff --git a/build/os-darwinos.mak b/build/os-darwinos.mak index 22e80516..9db31a16 100644 --- a/build/os-darwinos.mak +++ b/build/os-darwinos.mak @@ -2,7 +2,7 @@ export OS_CFLAGS := $(CC_DEF)PJ_DARWINOS=1 export OS_CXXFLAGS := -export OS_LDFLAGS := $(CC_LIB)pthread$(LIBEXT2) -framework CoreAudio +export OS_LDFLAGS := $(CC_LIB)pthread$(LIBEXT2) -framework CoreAudio -lm export OS_SOURCES := diff --git a/build/os-linux.mak b/build/os-linux.mak index c0c4a445..4c9e4ec3 100644 --- a/build/os-linux.mak +++ b/build/os-linux.mak @@ -2,7 +2,7 @@ export OS_CFLAGS := $(CC_DEF)PJ_LINUX=1 export OS_CXXFLAGS := -export OS_LDFLAGS := $(CC_LIB)pthread$(LIBEXT2) +export OS_LDFLAGS := $(CC_LIB)pthread$(LIBEXT2) -lm export OS_SOURCES := diff --git a/build/os-rtems.mak b/build/os-rtems.mak index 78729402..af99dbfc 100644 --- a/build/os-rtems.mak +++ b/build/os-rtems.mak @@ -11,7 +11,7 @@ export OS_CFLAGS := $(CC_DEF)PJ_RTEMS=1 \ export OS_CXXFLAGS := -export OS_LDFLAGS := -B$(RTEMS_LIBRARY_PATH)/lib/ -specs bsp_specs -qrtems +export OS_LDFLAGS := -B$(RTEMS_LIBRARY_PATH)/lib/ -specs bsp_specs -qrtems -lm export OS_SOURCES := diff --git a/build/os-sunos.mak b/build/os-sunos.mak index 4af21040..608f9ebb 100644 --- a/build/os-sunos.mak +++ b/build/os-sunos.mak @@ -5,7 +5,8 @@ export OS_CXXFLAGS := export OS_LDFLAGS := $(CC_LIB)pthread$(LIBEXT2) \ $(CC_LIB)socket$(LIBEXT2) \ $(CC_LIB)rt$(LIBEXT2) \ - $(CC_LIB)nsl$(LIBEXT2) + $(CC_LIB)nsl$(LIBEXT2) \ + $(CC_LIB)m$(LIBEXT2) export OS_SOURCES := diff --git a/build/os-win32.mak b/build/os-win32.mak index 3f29776c..816a97f1 100644 --- a/build/os-win32.mak +++ b/build/os-win32.mak @@ -4,7 +4,8 @@ export OS_CXXFLAGS := export OS_LDFLAGS := $(CC_LIB)wsock32$(LIBEXT2) \ $(CC_LIB)ws2_32$(LIBEXT2)\ - $(CC_LIB)ole32$(LIBEXT2) + $(CC_LIB)ole32$(LIBEXT2)\ + $(CC_LIB)m$(LIBEXT2) export OS_SOURCES := -- cgit v1.2.3