[GnomeMeeting-devel-list] Win32 cross-compilation : the pwlib files



Hi,

here are the necessary files to cross-build pwlib.

Snark


INCLUDE_DIR		= $(top_srcdir)/include
COMPONENT_SRC_DIR	= $(top_srcdir)/src/ptclib
COMMON_SRC_DIR		= $(top_srcdir)/src/ptlib/common
BASE_SRC_DIR		= $(top_srcdir)/src/ptlib/msos
#VPATH_CXX		:= $(COMMON_SRC_DIR) $(COMPONENT_SRC_DIR)
PLUGIN_DIR		= ../../../plugins

lib_LTLIBRARIES = libpt.la

INCLUDES = -I$(top_srcdir)/include

libpt_la_SOURCES =

# try and keep the order of modules in reverse order of usage so any
# global statics will be constructed/destructed in the correct order

if COMPILE_SASL2
libpt_la_SOURCES	+= $(COMPONENT_SRC_DIR)/psasl.cxx 
endif

if COMPILE_OPENLDAP
libpt_la_SOURCES	+= \
	$(COMPONENT_SRC_DIR)/pldap.cxx \
	$(COMPONENT_SRC_DIR)/pils.cxx
endif

if COMPILE_OPENSSL
libpt_la_SOURCES += $(COMPONENT_SRC_DIR)/pssl.cxx 
endif

if COMPILE_SDL
libpt_la_SOURCES += $(COMPONENT_SRC_DIR)/vsdl.cxx
endif


if COMPILE_VIDEO

libpt_la_SOURCES += \
	$(COMMON_SRC_DIR)/vfakeio.cxx \
	$(COMMON_SRC_DIR)/videoio.cxx \
	$(COMMON_SRC_DIR)/vconvert.cxx \
	$(COMMON_SRC_DIR)/pvidchan.cxx 

if COMPILE_SHM_VIDEO_DEVICES
libpt_la_SOURCES	+= $(BASE_SRC_DIR)/shmvideo.cxx
endif

if ! COMPILE_PLUGINS

if COMPILE_LINUX
#VPATH_CXX += $(PLUGIN_DIR)/vidinput_v4l
libpt_la_SOURCES += $(PLUGIN_DIR)/vidinput_v4l/vidinput_v4l.cxx
endif

endif  # COMPILE_PLUGINS

endif # HAS_VIDEO

if COMPILE_AUDIO

libpt_la_SOURCES += $(COMMON_SRC_DIR)/sound.cxx 

if ! COMPILE_PLUGINS

if COMPILE_LINUX
#VPATH_CXX += $(PLUGIN_DIR)/sound_oss
libpt_la_SOURCES += $(PLUGIN_DIR)/sound_oss/sound_oss.cxx
endif # linux

if COMPILE_ALSA
#VPATH_CXX += $(PLUGIN_DIR)/sound_alsa
libpt_la_SOURCES += $(PLUGIN_DIR)/sound_alsa/sound_alsa.cxx
endif  # COMPILE_ALSA

if COMPILE_BEOS
libpt_la_SOURCES += $(BASE_SRC_DIR)/beaudio.cxx
endif  # beos

endif  # COMPILE_PLUGINS

if COMPILE_MACOSX
libpt_la_SOURCES += $(BASE_SRC_DIR)/maccoreaudio.cxx
endif # Darwin

endif  # COMPILE_AUDIO

## Various modules

if COMPILE_EXPAT
libpt_la_SOURCES += $(COMPONENT_SRC_DIR)/pxml.cxx 

if COMPILE_XMLRPC
libpt_la_SOURCES += \
	$(COMPONENT_SRC_DIR)/pxmlrpc.cxx \
	$(COMPONENT_SRC_DIR)/pxmlrpcs.cxx 
endif

if COMPILE_SOAP
libpt_la_SOURCES += $(COMPONENT_SRC_DIR)/psoap.cxx 
endif

if COMPILE_VXML
libpt_la_SOURCES += $(COMPONENT_SRC_DIR)/vxml.cxx 
endif

endif # COMPILE_EXPAT

if COMPILE_SASL2
libpt_la_SOURCES += \
	$(COMPONENT_SRC_DIR)/xmpp.cxx \
	$(COMPONENT_SRC_DIR)/xmpp_c2s.cxx \
	$(COMPONENT_SRC_DIR)/xmpp_muc.cxx \
	$(COMPONENT_SRC_DIR)/xmpp_roster.cxx
endif

if COMPILE_RESOLVER
libpt_la_SOURCES += \
	$(COMPONENT_SRC_DIR)/pdns.cxx \
	$(COMPONENT_SRC_DIR)/enum.cxx 
endif

if COMPILE_TTS
libpt_la_SOURCES += $(COMPONENT_SRC_DIR)/ptts.cxx 
endif

if COMPILE_ASN
libpt_la_SOURCES += \
	$(COMPONENT_SRC_DIR)/asner.cxx \
	$(COMPONENT_SRC_DIR)/pasn.cxx 
endif

if COMPILE_SNMP
libpt_la_SOURCES += \
	$(COMPONENT_SRC_DIR)/snmpclnt.cxx \
	$(COMPONENT_SRC_DIR)/snmpserv.cxx \
	$(COMPONENT_SRC_DIR)/psnmp.cxx 
endif

if COMPILE_FTP
libpt_la_SOURCES += \
	$(COMPONENT_SRC_DIR)/ftpclnt.cxx \
	$(COMPONENT_SRC_DIR)/ftpsrvr.cxx \
	$(COMPONENT_SRC_DIR)/ftp.cxx 
endif

if COMPILE_TELNET
libpt_la_SOURCES += $(COMPONENT_SRC_DIR)/telnet.cxx 
endif

if COMPILE_STUN
libpt_la_SOURCES += \
	$(COMPONENT_SRC_DIR)/pstun.cxx \
	$(COMPONENT_SRC_DIR)/pnat.cxx
endif

if COMPILE_SOCKS
libpt_la_SOURCES += $(COMPONENT_SRC_DIR)/socks.cxx 
endif

if COMPILE_PIPECHAN
libpt_la_SOURCES += $(COMMON_SRC_DIR)/pipechan.cxx 
endif

if COMPILE_REMCONN
libpt_la_SOURCES += $(BASE_SRC_DIR)/remconn.cxx 
endif

if COMPILE_WAVFILE
libpt_la_SOURCES += $(COMPONENT_SRC_DIR)/pwavfile.cxx 
endif

if COMPILE_DTMF
libpt_la_SOURCES += $(COMPONENT_SRC_DIR)/dtmf.cxx 
endif

if COMPILE_SERIAL
libpt_la_SOURCES += \
	$(BASE_SRC_DIR)/winserial.cxx \
	$(COMPONENT_SRC_DIR)/modem.cxx 
endif

if COMPILE_POP3SMTP
libpt_la_SOURCES += \
	$(COMPONENT_SRC_DIR)/inetmail.cxx 
endif

if COMPILE_HTTP
libpt_la_SOURCES += \
	$(COMPONENT_SRC_DIR)/http.cxx \
	$(COMPONENT_SRC_DIR)/httpclnt.cxx 
endif

if COMPILE_HTTPSVC
libpt_la_SOURCES += \
	$(BASE_SRC_DIR)/svcproc.cxx \
	$(COMPONENT_SRC_DIR)/httpsvc.cxx \
	$(COMPONENT_SRC_DIR)/httpform.cxx \
	$(COMPONENT_SRC_DIR)/httpsrvr.cxx \
	$(COMPONENT_SRC_DIR)/html.cxx 

if COMPILE_OPENSSL
libpt_la_SOURCES += $(COMPONENT_SRC_DIR)/shttpsvc.cxx
endif #COMPILE_OPENSSL
endif #COMPILE_HTTPSVC

if COMPILE_CONFIG_FILE
libpt_la_SOURCES += $(BASE_SRC_DIR)/wincfg.cxx 
endif

libpt_la_SOURCES += \
	$(COMPONENT_SRC_DIR)/ipacl.cxx \
	$(COMPONENT_SRC_DIR)/qchannel.cxx \
	$(COMPONENT_SRC_DIR)/delaychan.cxx \
	$(COMPONENT_SRC_DIR)/memfile.cxx \
	$(COMPONENT_SRC_DIR)/cypher.cxx \
	$(COMPONENT_SRC_DIR)/random.cxx \
	$(COMPONENT_SRC_DIR)/inetprot.cxx

if COMPILE_LINUX
libpt_la_SOURCES += \
	$(BASE_SRC_DIR)/uicmp.cxx \
	$(BASE_SRC_DIR)/socket.cxx \
	$(BASE_SRC_DIR)/udll.cxx \
	$(BASE_SRC_DIR)/channel.cxx \
	$(BASE_SRC_DIR)/osutil.cxx \
	$(BASE_SRC_DIR)/tlib.cxx \
	$(BASE_SRC_DIR)/switch.cxx \
	$(BASE_SRC_DIR)/assert.cxx
endif

if COMPILE_MINGW
libpt_la_SOURCES += \
	$(BASE_SRC_DIR)/vfw.cxx \
	$(BASE_SRC_DIR)/sound_win32.cxx \
        $(BASE_SRC_DIR)/ptlib.cxx \
        $(BASE_SRC_DIR)/icmp.cxx \
        $(BASE_SRC_DIR)/winsock.cxx \
        $(BASE_SRC_DIR)/win32.cxx \
        $(BASE_SRC_DIR)/assert.cxx \
        $(BASE_SRC_DIR)/dllmain.cxx \
        $(BASE_SRC_DIR)/ethsock.cxx
endif

libpt_la_SOURCES += \
	$(COMMON_SRC_DIR)/pethsock.cxx \
	$(COMMON_SRC_DIR)/pluginmgr.cxx \
	$(COMMON_SRC_DIR)/notifier_ext.cxx \
	$(COMMON_SRC_DIR)/getdate.y \
        $(COMMON_SRC_DIR)/pluginmgr.cxx \
	$(COMMON_SRC_DIR)/sockets.cxx \
	$(COMMON_SRC_DIR)/qos.cxx \
	$(COMMON_SRC_DIR)/ptime.cxx \
	$(COMMON_SRC_DIR)/pchannel.cxx \
	$(COMMON_SRC_DIR)/pconfig.cxx \
	$(COMMON_SRC_DIR)/osutils.cxx \
	$(COMMON_SRC_DIR)/safecoll.cxx \
	$(COMMON_SRC_DIR)/serial.cxx \
	$(COMMON_SRC_DIR)/collect.cxx \
	$(COMMON_SRC_DIR)/contain.cxx \
	$(COMMON_SRC_DIR)/object.cxx   # must be last module


baseincludedir = $(includedir)
baseinclude_HEADERS = \
	$(INCLUDE_DIR)/ptbuildopts.h \
	$(INCLUDE_DIR)/ptlib.h

ptclibincludedir = $(includedir)/ptclib
ptclibinclude_HEADERS = \
	$(INCLUDE_DIR)/ptclib/asnber.h \
	$(INCLUDE_DIR)/ptclib/asner.h \
	$(INCLUDE_DIR)/ptclib/asnper.h \
	$(INCLUDE_DIR)/ptclib/asnxer.h \
	$(INCLUDE_DIR)/ptclib/cypher.h \
	$(INCLUDE_DIR)/ptclib/delaychan.h \
	$(INCLUDE_DIR)/ptclib/dtmf.h \
	$(INCLUDE_DIR)/ptclib/enum.h \
	$(INCLUDE_DIR)/ptclib/ftp.h \
	$(INCLUDE_DIR)/ptclib/html.h \
	$(INCLUDE_DIR)/ptclib/http.h \
	$(INCLUDE_DIR)/ptclib/httpform.h \
	$(INCLUDE_DIR)/ptclib/httpsvc.h \
	$(INCLUDE_DIR)/ptclib/inetmail.h \
	$(INCLUDE_DIR)/ptclib/inetprot.h \
	$(INCLUDE_DIR)/ptclib/ipacl.h \
	$(INCLUDE_DIR)/ptclib/memfile.h \
	$(INCLUDE_DIR)/ptclib/mime.h \
	$(INCLUDE_DIR)/ptclib/modem.h \
	$(INCLUDE_DIR)/ptclib/pasn.h \
	$(INCLUDE_DIR)/ptclib/pdns.h \
	$(INCLUDE_DIR)/ptclib/pils.h \
	$(INCLUDE_DIR)/ptclib/pldap.h \
	$(INCLUDE_DIR)/ptclib/pnat.h \
	$(INCLUDE_DIR)/ptclib/psasl.h \
	$(INCLUDE_DIR)/ptclib/psnmp.h \
	$(INCLUDE_DIR)/ptclib/psoap.h \
	$(INCLUDE_DIR)/ptclib/pssl.h \
	$(INCLUDE_DIR)/ptclib/pstun.h \
	$(INCLUDE_DIR)/ptclib/ptts.h \
	$(INCLUDE_DIR)/ptclib/pwavfile.h \
	$(INCLUDE_DIR)/ptclib/pxml.h \
	$(INCLUDE_DIR)/ptclib/pxmlrpc.h \
	$(INCLUDE_DIR)/ptclib/pxmlrpcs.h \
	$(INCLUDE_DIR)/ptclib/qchannel.h \
	$(INCLUDE_DIR)/ptclib/random.h \
	$(INCLUDE_DIR)/ptclib/shttpsvc.h \
	$(INCLUDE_DIR)/ptclib/socks.h \
	$(INCLUDE_DIR)/ptclib/telnet.h \
	$(INCLUDE_DIR)/ptclib/url.h \
	$(INCLUDE_DIR)/ptclib/vsdl.h \
	$(INCLUDE_DIR)/ptclib/vxml.h \
	$(INCLUDE_DIR)/ptclib/xmpp.h \
	$(INCLUDE_DIR)/ptclib/xmpp_c2s.h \
	$(INCLUDE_DIR)/ptclib/xmpp_muc.h \
	$(INCLUDE_DIR)/ptclib/xmpp_roster.h

ptlibincludedir = $(includedir)/ptlib
ptlibinclude_HEADERS = \
	$(INCLUDE_DIR)/ptlib/MacMainIf.h \
	$(INCLUDE_DIR)/ptlib/args.h \
	$(INCLUDE_DIR)/ptlib/array.h \
	$(INCLUDE_DIR)/ptlib/channel.h \
	$(INCLUDE_DIR)/ptlib/conchan.h \
	$(INCLUDE_DIR)/ptlib/config.h \
	$(INCLUDE_DIR)/ptlib/contain.h \
	$(INCLUDE_DIR)/ptlib/contain.inl \
	$(INCLUDE_DIR)/ptlib/critsec.h \
	$(INCLUDE_DIR)/ptlib/dict.h \
	$(INCLUDE_DIR)/ptlib/dynalink.h \
	$(INCLUDE_DIR)/ptlib/ethsock.h \
	$(INCLUDE_DIR)/ptlib/file.h \
	$(INCLUDE_DIR)/ptlib/filepath.h \
	$(INCLUDE_DIR)/ptlib/icmpsock.h \
	$(INCLUDE_DIR)/ptlib/indchan.h \
	$(INCLUDE_DIR)/ptlib/int64.h \
	$(INCLUDE_DIR)/ptlib/ipdsock.h \
	$(INCLUDE_DIR)/ptlib/ipsock.h \
	$(INCLUDE_DIR)/ptlib/ipxsock.h \
	$(INCLUDE_DIR)/ptlib/lists.h \
	$(INCLUDE_DIR)/ptlib/mail.h \
	$(INCLUDE_DIR)/ptlib/mutex.h \
	$(INCLUDE_DIR)/ptlib/notifier.h \
	$(INCLUDE_DIR)/ptlib/notifier_ext.h \
	$(INCLUDE_DIR)/ptlib/object.h \
	$(INCLUDE_DIR)/ptlib/osutil.inl \
	$(INCLUDE_DIR)/ptlib/pdirect.h \
	$(INCLUDE_DIR)/ptlib/pfactory.h \
	$(INCLUDE_DIR)/ptlib/pipechan.h \
	$(INCLUDE_DIR)/ptlib/plugin.h \
	$(INCLUDE_DIR)/ptlib/pluginmgr.h \
	$(INCLUDE_DIR)/ptlib/pprocess.h \
	$(INCLUDE_DIR)/ptlib/psharedptr.h \
	$(INCLUDE_DIR)/ptlib/pstring.h \
	$(INCLUDE_DIR)/ptlib/psync.h \
	$(INCLUDE_DIR)/ptlib/ptime.h \
	$(INCLUDE_DIR)/ptlib/qos.h \
	$(INCLUDE_DIR)/ptlib/remconn.h \
	$(INCLUDE_DIR)/ptlib/safecoll.h \
	$(INCLUDE_DIR)/ptlib/semaphor.h \
	$(INCLUDE_DIR)/ptlib/serchan.h \
	$(INCLUDE_DIR)/ptlib/sfile.h \
	$(INCLUDE_DIR)/ptlib/smartptr.h \
	$(INCLUDE_DIR)/ptlib/socket.h \
	$(INCLUDE_DIR)/ptlib/sockets.h \
	$(INCLUDE_DIR)/ptlib/sound.h \
	$(INCLUDE_DIR)/ptlib/spxsock.h \
	$(INCLUDE_DIR)/ptlib/svcproc.h \
	$(INCLUDE_DIR)/ptlib/syncpoint.h \
	$(INCLUDE_DIR)/ptlib/syncthrd.h \
	$(INCLUDE_DIR)/ptlib/tcpsock.h \
	$(INCLUDE_DIR)/ptlib/textfile.h \
	$(INCLUDE_DIR)/ptlib/thread.h \
	$(INCLUDE_DIR)/ptlib/timeint.h \
	$(INCLUDE_DIR)/ptlib/timer.h \
	$(INCLUDE_DIR)/ptlib/udpsock.h \
	$(INCLUDE_DIR)/ptlib/vconvert.h \
	$(INCLUDE_DIR)/ptlib/video.h \
	$(INCLUDE_DIR)/ptlib/videoio.h \
	$(INCLUDE_DIR)/ptlib/videoio1394dc.h

ptlibunixincludedir = $(includedir)/ptlib/unix/ptlib
ptlibunixinclude_HEADERS = \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/beaudio.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/bevideo.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/channel.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/conchan.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/config.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/contain.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/critsec.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/dynalink.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/ethsock.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/file.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/filepath.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/icmpsock.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/ipdsock.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/ipsock.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/maccoreaudio.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/mutex.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/pdirect.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/pipechan.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/pmachdep.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/pprocess.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/ptime.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/ptlib.inl \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/remconn.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/resampler.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/semaphor.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/serchan.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/sfile.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/socket.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/sound.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/svcproc.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/syncpoint.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/tcpsock.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/textfile.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/thread.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/timeint.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/timer.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/udpsock.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/video.h \
	$(INCLUDE_DIR)/ptlib/unix/ptlib/videoio.h

ptlibmsosincludedir = $(includedir)/ptlib/msos/ptlib
ptlibmsosinclude_HEADERS = \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/channel.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/conchan.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/config.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/contain.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/critsec.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/debstrm.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/dynalink.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/epacket.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/ethsock.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/file.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/filepath.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/icmpsock.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/ipdsock.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/ipsock.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/ipxsock.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/mail.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/mutex.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/pdirect.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/pipechan.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/pprocess.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/ptime.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/ptlib.inl \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/remconn.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/semaphor.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/serchan.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/sfile.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/socket.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/sound.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/sound_win32.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/spxsock.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/svcproc.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/syncpoint.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/tcpsock.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/textfile.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/thread.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/timeint.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/timer.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/udpsock.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/video.h \
	$(INCLUDE_DIR)/ptlib/msos/ptlib/videoio.h \
	$(INCLUDE_DIR)/ptlib/msos/AUTOEXP.DAT \
	$(INCLUDE_DIR)/ptlib/msos/ptlib.dtf \
	$(INCLUDE_DIR)/ptlib/msos/ptlib.ignore \
	$(INCLUDE_DIR)/ptlib/msos/ptlib_2003.dtf \
	$(INCLUDE_DIR)/ptlib/msos/ptlibd.dtf \
	$(INCLUDE_DIR)/ptlib/msos/ptlibd_2003.dtf \
	$(INCLUDE_DIR)/ptlib/msos/unistd.h

ptlibwinceincludedir = $(includedir)/ptlib/wince/ptlib
ptlibwinceinclude_HEADERS = \
	$(INCLUDE_DIR)/ptlib/wince/sys/socket.h \
	$(INCLUDE_DIR)/ptlib/wince/sys/file.h \
	$(INCLUDE_DIR)/ptlib/wince/sys/param.h \
	$(INCLUDE_DIR)/ptlib/wince/sys/stat.h \
	$(INCLUDE_DIR)/ptlib/wince/sys/types.h \
	$(INCLUDE_DIR)/ptlib/wince/alloca.h \
	$(INCLUDE_DIR)/ptlib/wince/assert.h \
	$(INCLUDE_DIR)/ptlib/wince/ceostream.h \
	$(INCLUDE_DIR)/ptlib/wince/cevfw.h \
	$(INCLUDE_DIR)/ptlib/wince/config.h \
	$(INCLUDE_DIR)/ptlib/wince/crtdbg.h \
	$(INCLUDE_DIR)/ptlib/wince/ctype.h \
	$(INCLUDE_DIR)/ptlib/wince/direct.h \
	$(INCLUDE_DIR)/ptlib/wince/errno.h \
	$(INCLUDE_DIR)/ptlib/wince/fcntl.h \
	$(INCLUDE_DIR)/ptlib/wince/imagehlp.h \
	$(INCLUDE_DIR)/ptlib/wince/io.h \
	$(INCLUDE_DIR)/ptlib/wince/iomanip.h \
	$(INCLUDE_DIR)/ptlib/wince/ios.h \
	$(INCLUDE_DIR)/ptlib/wince/iostream.h \
	$(INCLUDE_DIR)/ptlib/wince/istream.h \
	$(INCLUDE_DIR)/ptlib/wince/lisp.h \
	$(INCLUDE_DIR)/ptlib/wince/mmsystemx.h \
	$(INCLUDE_DIR)/ptlib/wince/nspapi.h \
	$(INCLUDE_DIR)/ptlib/wince/nucpp.h \
	$(INCLUDE_DIR)/ptlib/wince/ostream.h \
	$(INCLUDE_DIR)/ptlib/wince/process.h \
	$(INCLUDE_DIR)/ptlib/wince/regexp.h \
	$(INCLUDE_DIR)/ptlib/wince/share.h \
	$(INCLUDE_DIR)/ptlib/wince/signal.h \
	$(INCLUDE_DIR)/ptlib/wince/snmp.h \
	$(INCLUDE_DIR)/ptlib/wince/stdlibx.h \
	$(INCLUDE_DIR)/ptlib/wince/streamb.h \
	$(INCLUDE_DIR)/ptlib/wince/strings.h \
	$(INCLUDE_DIR)/ptlib/wince/strstrea.h \
	$(INCLUDE_DIR)/ptlib/wince/strstream.h \
	$(INCLUDE_DIR)/ptlib/wince/svcguid.h \
	$(INCLUDE_DIR)/ptlib/wince/syntax.h \
	$(INCLUDE_DIR)/ptlib/wince/time.h \
	$(INCLUDE_DIR)/ptlib/wince/wsipx.h \
	$(INCLUDE_DIR)/ptlib/wince/wsnwlink.h

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = pwlib.pc
AC_INIT(include/ptlib.h)
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE(libpt, 1.9.2)

AC_CONFIG_SUBDIRS(plugins)

dnl =======================================================================
dnl
dnl basics
dnl
dnl =======================================================================

AC_PROG_CC

AC_PROG_CXX

AC_PROG_LIBTOOL

AC_PROG_YACC

AC_PROG_INSTALL

AC_LANG_CPLUSPLUS

dnl =======================================================================
dnl
dnl bare metal
dnl
dnl =======================================================================

dnl =======================================================================
dnl
dnl build tools
dnl
dnl =======================================================================

P_MINGW=1
AC_DEFINE(P_MINGW, 1, [check if we're using mingw])

AM_CONDITIONAL(COMPILE_MINGW, test x"${P_MINGW}" = "x1")
AM_CONDITIONAL(COMPILE_LINUX, test x"${P_LINUX}" = "x1")
AM_CONDITIONAL(COMPILE_MACOSX, test x"${P_MACOSX}" = "x1")
AM_CONDITIONAL(COMPILE_BEOS, test x"${P_BEOS}" = "x1")

dnl =======================================================================
dnl
dnl features
dnl
dnl =======================================================================

dnl =======================================================================
dnl
dnl components
dnl
dnl =======================================================================

dnl BEGIN unsorted junk

dnl =======================================================================
dnl CATEGORY I
dnl
dnl P_PTHREADS
dnl PBYTE_ORDER, PBIG_ENDIAN, PLITTLE_ENDIAN (AC_C_BIGENDIAN())
dnl default_resolver
dnl default_openldap
dnl default_openssl
dnl default_expat
dnl default_sdl
dnl default_sasl
dnl default_plugins
dnl default_tts
dnl default_asn
dnl default_stun
dnl default_pipechan
dnl default_dtmf
dnl default_wavfile
dnl default_socks
dnl default_ftp
dnl default_snmp
dnl default_telnet
dnl default_remconn=no
dnl default_serial
dnl default_pop3smtp
dnl default_audio
dnl default_video
dnl default_http
dnl default_httpsvc
dnl default_soap
dnl default_xmlrpc
dnl default_jabber
dnl default_configfile
dnl default_alsa
dnl default_oss
dnl default_ipv6
dnl default_qos
dnl ==> there's nice code about this in pwlib's configure.ac
dnl P_HAS_RECVMSG
dnl recvmsg
dnl P_HAS_STL_STREAMS
dnl P_HAS_ATOMIC_INT / P_NEEDS_GNU_CXX_NAMESPACE
dnl select_large_fdset
dnl upad128_t
dnl
dnl =======================================================================
dnl CATEGORY II
dnl
dnl PWLIBDIR
dnl PWINSTDIR
dnl INSTALLPREFIX
dnl LIBDIR
dnl MAJOR_VERSION
dnl MINOR_VERSION
dnl BUILD_NUMBER
dnl PWLIB_VERSION
dnl STDCCFLAGS
dnl SHAREDLIBEXT
dnl ENDLDLIBS
dnl TARGETDIR
dnl MACHTYPE
dnl PHAS_TEMPLATES
dnl gcc_version
dnl
dnl =======================================================================
dnl CATEGORY III
dnl
dnl need_pragma
dnl NEEDS_PTHREADS
dnl OSTYPE
dnl OS_TAG
dnl OSRELEASE
dnl P_64BIT
dnl LIB64
dnl PHAS_TEMPLATES (defined as 1 !!!)
dnl SHAREDLIBEXT / P_SHAREDLIBEXT
dnl
dnl =======================================================================
dnl CATEGORY IV
dnl
dnl -felide-constructors
dnl -Wreorder
dnl -Woverloaded-virtual
dnl DEFAULT_RTTI
dnl AC_CHECK_SIZEOF(int)
dnl PNO_LONG_DOUBLE
dnl check for flex or lex?!
dnl check for ar/gar !?
dnl check for bison and not yacc ?!
dnl P_HAS_POSIX_READDIR_R
dnl --enable-minsize
dnl --enable-openh323
dnl

HAS_OPENLDAP=1
HAS_REGEX=1
HAS_TTS=1
HAS_ASN=1
HAS_STUN=1
HAS_PIPECHAN=1
HAS_DTMF=1
HAS_WAVFILE=1
HAS_SOCKS=1
HAS_FTP=1
HAS_SNMP=1
HAS_TELNET=1
HAS_SERIAL=1
HAS_POP3SMTP=1
HAS_HTTP=1
HAS_HTTPSVC=1
HAS_CONFIG_FILE=1
HAS_PLUGINS=1
HAS_VIDEO_CAPTURE=1
HAS_AUDIO=1
HAS_VIDEO=1
P_HTTP=1
P_HTTPSVC=1
P_CONFIG_FILE=1
P_LDAP=1
PHAS_TEMPLATES=1

AC_DEFINE([HAS_PLUGINS], 1, [check if plugins' support should be in])
AC_DEFINE([HAS_VIDEO_CAPTURE], 1, [check if video input support should be in])
AC_DEFINE([HAS_AUDIO], 1, [check if audio support should be in])
AC_DEFINE([HAS_VIDEO], 1, [check if video support should be in])
AC_DEFINE([P_HTTP], 1, [check if http support should be in])
AC_DEFINE([P_HTTPSVC], 1, [check if http svc support should be in])
AC_DEFINE([P_CONFIG_FILE], 1, [check if config file support should be in])
AC_DEFINE([P_LDAP], 1, [check if ldap support is in])
AC_DEFINE([PHAS_TEMPLATES], 1, [check if templates are supported])

AM_CONDITIONAL(COMPILE_SASL2, test "${HAS_SASL2}" = "1")
AM_CONDITIONAL(COMPILE_OPENLDAP, test "${HAS_OPENLDAP}" = "1")
AM_CONDITIONAL(COMPILE_OPENSSL, test "${HAS_OPENSSL}" = "1")
AM_CONDITIONAL(COMPILE_SDL, test "${HAS_SDL}" = "1")
AM_CONDITIONAL(COMPILE_VIDEO, test "${HAS_VIDEO}" = "1")
AM_CONDITIONAL(COMPILE_SHM_VIDEO_DEVICES, test "${USE_SHM_VIDEO_DEVICES}" = "1")
AM_CONDITIONAL(COMPILE_PLUGINS, test "${HAS_PLUGINS}" = "1")
AM_CONDITIONAL(COMPILE_AUDIO, test "${HAS_AUDIO}" = "1")
AM_CONDITIONAL(COMPILE_ALSA, test "${HAS_ALSA}" = "1")
AM_CONDITIONAL(COMPILE_EXPAT, test "${HAS_EXPAT}" = "1")
AM_CONDITIONAL(COMPILE_XMLRPC, test "${HAS_XMLRPC}" = "1")
AM_CONDITIONAL(COMPILE_SOAP, test "${HAS_SOAP}" = "1")
AM_CONDITIONAL(COMPILE_VXML, test "${HAS_VXML}" = "1")
AM_CONDITIONAL(COMPILE_RESOLVER, test "${HAS_RESOLVER}" = "1")
AM_CONDITIONAL(COMPILE_TTS, test "${HAS_TTS}" = "1")
AM_CONDITIONAL(COMPILE_ASN, test "${HAS_ASN}" = "1")
AM_CONDITIONAL(COMPILE_SNMP, test "${HAS_SNMP}" = "1")
AM_CONDITIONAL(COMPILE_FTP, test "${HAS_FTP}" = "1")
AM_CONDITIONAL(COMPILE_TELNET, test "${HAS_TELNET}" = "1")
AM_CONDITIONAL(COMPILE_STUN, test "${HAS_STUN}" = "1")
AM_CONDITIONAL(COMPILE_SOCKS, test "${HAS_SOCKS}" = "1")
AM_CONDITIONAL(COMPILE_PIPECHAN, test "${HAS_PIPECHAN}" = "1")
AM_CONDITIONAL(COMPILE_REMCONN, test "${HAS_REMCONN}" = "1")
AM_CONDITIONAL(COMPILE_WAVFILE, test "${HAS_WAVFILE}" = "1")
AM_CONDITIONAL(COMPILE_DTMF, test "${HAS_DTMF}" = "1")
AM_CONDITIONAL(COMPILE_SERIAL, test "${HAS_SERIAL}" = "1")
AM_CONDITIONAL(COMPILE_POP3SMTP, test "${HAS_POP3SMTP}" = "1")
AM_CONDITIONAL(COMPILE_HTTP, test "${HAS_HTTP}" = "1")
AM_CONDITIONAL(COMPILE_HTTPSVC, test "${HAS_HTTPSVC}" = "1")
AM_CONDITIONAL(COMPILE_CONFIG_FILE, test "${HAS_CONFIG_FILE}" = "1")
AM_CONDITIONAL(COMPILE_REGEX, test "${HAS_REGEX}" = "1")

dnl END unsorted junk
AC_DEFINE_UNQUOTED(PWLIB_VERSION, "${VERSION}")

LIBS="-lldap_r -llber -lldap -lwinmm -lwsock32 -lsnmpapi -lmpr -lcomdlg32 -lgdi32 -lavicap32 -lregex"
AC_SUBST(LIBS)

AC_CONFIG_HEADERS(include/autoheader.h)
AC_CONFIG_HEADERS(include/ptbuildopts.h)
AC_OUTPUT(pwlib.pc)

AC_OUTPUT(Makefile)
prefix=/home/jpuydt/Gnomemeeting/Cross/windows
incdir=${prefix}/include
libdir=${prefix}/lib
Name: pwlib
Description: Portable Windows Library
Version: @VERSION@
Cflags: -I${incdir}
Libs: -L${libdir} -lpt @LIBS@


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]