~ubuntu-branches/ubuntu/vivid/sflphone/vivid

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject/build.mak.in

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2013-06-30 11:40:56 UTC
  • mfrom: (4.1.18 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130630114056-0np50jkyqo6vnmii
Tags: 1.2.3-2
* changeset_r92d62cfc54732bbbcfff2b1d36c096b120b981a5.diff 
  - fixes automatic endian detection 
* Update Vcs: fixes vcs-field-not-canonical

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# @configure_input@
2
 
export MACHINE_NAME := auto
3
 
export OS_NAME := auto
4
 
export HOST_NAME := unix
5
 
export CC_NAME := gcc
6
 
export TARGET_NAME := @target@
7
 
export CROSS_COMPILE := @ac_cross_compile@
8
 
export LINUX_POLL := @ac_linux_poll@ 
9
 
 
10
 
export ac_prefix := @prefix@
11
 
 
12
 
LIB_SUFFIX = $(TARGET_NAME).a
13
 
 
14
 
# Additional flags
15
 
@ac_build_mak_vars@
16
 
 
17
 
# CFLAGS, LDFLAGS, and LIBS to be used by applications
18
 
export PJDIR := @ac_pjdir@
19
 
export APP_CC := @CC@
20
 
export APP_CXX := @CXX@
21
 
export APP_CFLAGS := -DPJ_AUTOCONF=1\
22
 
        @CFLAGS@\
23
 
        -I$(PJDIR)/pjlib/include\
24
 
        -I$(PJDIR)/pjlib-util/include\
25
 
        -I$(PJDIR)/pjnath/include\
26
 
        -I$(PJDIR)/pjmedia/include\
27
 
        -I$(PJDIR)/pjsip/include
28
 
export APP_CXXFLAGS := $(APP_CFLAGS)
29
 
export APP_LDFLAGS := -L$(PJDIR)/pjlib/lib\
30
 
        -L$(PJDIR)/pjlib-util/lib\
31
 
        -L$(PJDIR)/pjnath/lib\
32
 
        -L$(PJDIR)/pjmedia/lib\
33
 
        -L$(PJDIR)/pjsip/lib\
34
 
        @LDFLAGS@
35
 
export APP_LDLIBS := -lpjsua-$(TARGET_NAME)\
36
 
        -lpjsip-ua-$(TARGET_NAME)\
37
 
        -lpjsip-simple-$(TARGET_NAME)\
38
 
        -lpjsip-$(TARGET_NAME)\
39
 
        -lpjmedia-$(TARGET_NAME)\
40
 
        -lpjnath-$(TARGET_NAME)\
41
 
        -lpjlib-util-$(TARGET_NAME)\
42
 
        -lpj-$(TARGET_NAME)\
43
 
        @LIBS@
44
 
export APP_LIB_FILES = $(PJ_DIR)/pjsip/lib/libpjsua-$(LIB_SUFFIX) \
45
 
        $(PJ_DIR)/pjsip/lib/libpjsip-ua-$(LIB_SUFFIX) \
46
 
        $(PJ_DIR)/pjsip/lib/libpjsip-simple-$(LIB_SUFFIX) \
47
 
        $(PJ_DIR)/pjsip/lib/libpjsip-$(LIB_SUFFIX) \
48
 
        $(PJ_DIR)/pjmedia/lib/libpjmedia-$(LIB_SUFFIX) \
49
 
        $(PJ_DIR)/pjnath/lib/libpjnath-$(LIB_SUFFIX) \
50
 
        $(PJ_DIR)/pjlib-util/lib/libpjlib-util-$(LIB_SUFFIX) \
51
 
        $(PJ_DIR)/pjlib/lib/libpj-$(LIB_SUFFIX)
52
 
 
53
 
# Here are the variabels to use if application is using the library
54
 
# from within the source distribution
55
 
export PJ_DIR := $(PJDIR)
56
 
export PJ_CC := $(APP_CC)
57
 
export PJ_CXX := $(APP_CXX)
58
 
export PJ_CFLAGS := $(APP_CFLAGS)
59
 
export PJ_CXXFLAGS := $(APP_CXXFLAGS)
60
 
export PJ_LDFLAGS := $(APP_LDFLAGS)
61
 
export PJ_LDLIBS := $(APP_LDLIBS)
62
 
export PJ_LIB_FILES := $(APP_LIB_FILES)
63
 
 
64
 
# And here are the variables to use if application is using the
65
 
# library from the install location (i.e. --prefix)
66
 
export PJ_INSTALL_DIR := @prefix@
67
 
export PJ_INSTALL_INC_DIR := $(PJ_INSTALL_DIR)/include
68
 
export PJ_INSTALL_LIB_DIR := $(PJ_INSTALL_DIR)/lib
69
 
export PJ_INSTALL_CFLAGS := -I$(PJ_INSTALL_INC_DIR) -DPJ_AUTOCONF=1     @CFLAGS@
70
 
export PJ_INSTALL_CXXFLAGS := $(PJ_INSTALL_CFLAGS)
71
 
export PJ_INSTALL_LDFLAGS := -L$(PJ_INSTALL_LIB_DIR) $(APP_LDLIBS)