summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-08-20 20:47:34 +0000
committerBenny Prijono <bennylp@teluu.com>2006-08-20 20:47:34 +0000
commit763d1e9a8ed2e44419760db370e9280426a0b617 (patch)
treef4c5765dfe86b65375a06cc505a8334361cffadd /build
parentdc216fbe98f8335de253cf671528b6e0dc2cb509 (diff)
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
Diffstat (limited to 'build')
-rw-r--r--build/m-auto.mak1
-rw-r--r--build/os-auto.mak.in11
-rw-r--r--build/os-darwinos.mak2
-rw-r--r--build/os-linux.mak2
-rw-r--r--build/os-rtems.mak2
-rw-r--r--build/os-sunos.mak3
-rw-r--r--build/os-win32.mak3
7 files changed, 19 insertions, 5 deletions
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 :=