summaryrefslogtreecommitdiff
path: root/pjlib/build/os-auto.mak.in
blob: e4a7970d1251ccb4af39e0439a679b8393540eed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# @configure_input@

# Determine OS specific files
AC_OS_OBJS=@ac_os_objs@

#
# PJLIB_OBJS specified here are object files to be included in PJLIB
# (the library) for this specific operating system. Object files common 
# to all operating systems should go in Makefile instead.
#
export PJLIB_OBJS +=	$(AC_OS_OBJS) \
			addr_resolv_sock.o \
			log_writer_stdout.o \
			os_timestamp_common.o \
			pool_policy_malloc.o sock_bsd.o sock_select.o

#
# TEST_OBJS are operating system specific object files to be included in
# the test application.
#
export TEST_OBJS +=	@ac_main_obj@

#
# Additional LDFLAGS for pjlib-test
#
# Disabled, as this causes duplicated LDFLAGS, which may raise linking errors
#export TEST_LDFLAGS += @LDFLAGS@ @LIBS@

#
# TARGETS are make targets in the Makefile, to be executed for this given
# operating system.
#
export TARGETS	    =	$(PJLIB_LIB) $(PJLIB_SONAME)
export TARGETS_EXE  =   $(TEST_EXE)

ifeq (@ac_ssl_has_ec@,1)
export PJLIB_CFLAGS += -DPJ_SSL_SOCK_OSSL_HAS_EC=1
endif

ifeq (@ac_ssl_has_sigalg@,1)
export PJLIB_CFLAGS += -DPJ_SSL_SOCK_OSSL_HAS_SIGALG=1
endif