3 # Make file for ptlib library
5 # Portable Windows Library
7 # Copyright (c) 1993-1998 Equivalence Pty. Ltd.
9 # The contents of this file are subject to the Mozilla Public License
10 # Version 1.0 (the "License"); you may not use this file except in
11 # compliance with the License. You may obtain a copy of the License at
12 # http://www.mozilla.org/MPL/
14 # Software distributed under the License is distributed on an "AS IS"
15 # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
16 # the License for the specific language governing rights and limitations
19 # The Original Code is Portable Windows Library.
21 # The Initial Developer of the Original Code is Equivalence Pty. Ltd.
23 # Portions are Copyright (C) 1993 Free Software Foundation, Inc.
24 # All Rights Reserved.
26 # Contributor(s): ______________________________________.
29 # Revision 1.148 2007/08/02 18:48:56 shorne
30 # Added SNMP Server support
32 # Revision 1.147 2007/06/14 00:43:04 csoutheren
33 # Removed warnings on Linux
34 # Fixed Makefiles for new socket bundle code
36 # Revision 1.146 2007/04/13 18:17:57 shorne
37 # added ODBC support for linux thx Michal Z
39 # Revision 1.145 2006/10/10 07:16:55 csoutheren
40 # Tweaked default build options to suite more common configurations
42 # Revision 1.144 2006/09/20 23:26:22 csoutheren
43 # Added guid.cxx to the Makefile
45 # Revision 1.143 2006/08/10 03:53:20 csoutheren
46 # Apply 1532388 - Fix PVXML log message
47 # Thanks to Stanislav Brabec
49 # Revision 1.142 2006/07/18 05:17:24 csoutheren
50 # Added shared memory video devices
51 # Thanks to Hannes Friederich
53 # Revision 1.141 2006/02/20 06:49:45 csoutheren
54 # Added video file and video file input device code
56 # Revision 1.140 2006/02/08 04:02:25 csoutheren
57 # Added ability to enable and disable socket aggregation
59 # Revision 1.139 2006/01/29 22:46:41 csoutheren
60 # Added support for cameras that return MJPEG streams
61 # Thanks to Luc Saillard and Damien Sandras
63 # Revision 1.138 2005/08/04 03:19:08 dereksmithies
64 # Add xmpp_muc (XMPP multi user conference) to the compile process for unix.
65 # Correct compile errors under unix.
67 # Revision 1.137 2005/07/13 11:15:26 csoutheren
68 # Backported NAT abstraction files from isvo branch
70 # Revision 1.136 2005/02/03 01:25:44 csoutheren
71 # Make sure code still links when plugins not enabled
73 # Revision 1.135 2005/01/31 08:05:41 csoutheren
74 # More patches for MacOSX, thanks to Hannes Friederich
76 # Revision 1.134 2005/01/26 05:38:04 csoutheren
77 # Added ability to remove config file support
79 # Revision 1.133 2005/01/11 06:22:10 csoutheren
80 # Fixed problem with removing HTTP classes
82 # Revision 1.132 2005/01/03 12:48:43 csoutheren
83 # Added new configure options and ability to disable/enable modules
85 # Revision 1.131 2005/01/03 04:41:39 csoutheren
86 # Normalise handling of configure flags
87 # Add --enable-minsize option (more to follow)
89 # Revision 1.130 2004/10/28 20:07:11 csoutheren
90 # Fixes for MacOSX platforms, thanks to Hannes Friederich
92 # Revision 1.129 2004/05/31 22:59:04 csoutheren
95 # Revision 1.128 2004/04/28 11:26:43 csoutheren
96 # Hopefully fixed SASL and SASL2 problems
98 # Revision 1.127 2004/04/26 04:17:19 rjongbloed
101 # Revision 1.126 2004/04/24 06:13:06 rjongbloed
102 # Changed XMPP code to only be compiled if have EXPAT
104 # Revision 1.125 2004/04/24 01:37:43 csoutheren
105 # Added PNotifier extensions and XMPP (Jabber) support,
106 # thanks to Federico Pinna and Reitek S.p.A.
108 # Revision 1.124 2004/04/18 12:37:41 csoutheren
109 # Modified to detect sem_wait etc on Linux systems
111 # Revision 1.123 2004/04/02 03:59:46 ykiryanov
112 # Uncommented beaudio code
114 # Revision 1.122 2004/03/17 05:52:59 csoutheren
115 # Removed obsolete udp.cxx
117 # Revision 1.121 2004/02/15 22:36:29 csoutheren
118 # Included ALSA in default non-plugin sound drivers
120 # Revision 1.120 2003/11/18 10:41:20 csoutheren
121 # Fixed problem with linking in static plugins
123 # Revision 1.119 2003/11/14 05:32:09 csoutheren
124 # Removed video input device
126 # Revision 1.118 2003/11/12 03:29:51 csoutheren
127 # Initial version of plugin code from Snark of GnomeMeeting with changes
128 # by Craig Southeren of Post Increment
130 # Revision 1.117 2003/10/27 04:06:13 csoutheren
131 # Added code to allow compilation of new QoS code on Unix
133 # Revision 1.116 2003/10/06 02:30:06 dereksmithies
134 # Remove Stun.cxx as it is not in the repositary.
136 # Revision 1.115 2003/09/17 08:57:33 csoutheren
137 # Moved PSmartPointer and PNotifier into seperate files
138 # Added detection for system regex libraries on all platforms
140 # Revision 1.114 2003/07/28 18:44:01 dsandras
141 # Make use of the libc regex on Linux.
143 # Revision 1.113 2003/05/22 12:41:42 dsandras
145 # Check if TRY_1394AVC/DC=1 to compile support for it or not.
147 # Revision 1.112 2003/04/28 08:37:06 craigs
150 # Revision 1.111 2003/04/16 08:05:50 craigs
151 # CHanged checks of variosu vars to use ifeq
153 # Revision 1.110 2003/04/15 08:05:43 craigs
156 # Revision 1.109 2003/04/14 21:20:59 dereks
157 # Fix problems for Firewire video. Thanks to Snark on #gnomemeeting
159 # Revision 1.108 2003/03/31 09:03:04 robertj
160 # Added ILS support file.
162 # Revision 1.107 2003/03/28 03:03:28 craigs
165 # Revision 1.106 2003/02/24 17:49:02 rogerh
166 # Add Mac Core Audio changes from Shawn.
168 # Revision 1.105 2003/02/18 03:55:59 dereks
169 # Add 1394AVC pathces from Georgi Georgiev. Thanks!
171 # Revision 1.104 2003/02/04 22:51:20 robertj
172 # Added basic SOAP support, thanks Andreas Sikkema
174 # Revision 1.103 2003/02/04 07:41:10 craigs
175 # Added stun elements
177 # Revision 1.102 2003/01/11 05:30:13 robertj
178 # Added support for IEEE 1394 AV/C cameras, thanks Georgi Georgiev
180 # Revision 1.101 2003/01/06 18:41:08 rogerh
181 # Add NetBSD patches, taken from the NetBSD pkg patches.
182 # Submitted by Andreas Wrede
184 # Revision 1.100 2002/11/22 10:14:07 robertj
185 # QNX port, thanks Xiaodan Tang
187 # Revision 1.99 2002/11/05 01:43:39 robertj
188 # Added missing VxWorks files.
190 # Revision 1.98 2002/10/21 13:01:33 rogerh
191 # bison 1.5 and above need -o to specify the output filename
193 # Revision 1.97 2002/10/10 04:43:44 robertj
194 # VxWorks port, thanks Martijn Roest
196 # Revision 1.96 2002/10/02 08:59:13 craigs
199 # Revision 1.95 2002/09/09 06:42:00 robertj
200 # Added check for Sun audio header before compiling module, thanks Nils Bokermann
202 # Revision 1.94 2002/08/29 01:45:07 robertj
203 # Changed default opt build to include PTRACE
205 # Revision 1.93 2002/08/14 15:18:54 craigs
206 # Added ptts.cxx to build
208 # Revision 1.92 2002/06/27 05:39:34 craigs
211 # Revision 1.91 2002/06/27 03:53:01 robertj
212 # Added PMemoryFile class.
214 # Revision 1.90 2002/05/01 04:16:43 robertj
215 # Added thread safe collection classes.
217 # Revision 1.89 2002/04/18 05:12:20 robertj
218 # Changed /usr/include to SYSINCDIR helps with X-compiling, thanks Bob Lindell
220 # Revision 1.88 2002/04/02 11:59:32 craigs
223 # Revision 1.87 2002/02/20 02:37:26 dereks
224 # Initial release of Firewire camera support for linux.
225 # Many thanks to Ryutaroh Matsumoto <ryutaroh@rmatsumoto.org>.
227 # Revision 1.86 2002/01/23 12:09:46 rogerh
228 # Add dtmf decoder to the compilation
230 # Revision 1.85 2002/01/22 03:55:32 craigs
231 # Moved PWavFile to PTCLib
233 # Revision 1.84 2001/12/06 05:39:05 craigs
234 # Added support for PXML component library
236 # Revision 1.83 2001/11/27 22:42:13 robertj
237 # Changed to make system to better support non-shared library building.
239 # Revision 1.82 2001/11/25 23:28:04 robertj
240 # Fixed correct setting of HAS_VIDEO_CAPTURE compile flag
242 # Revision 1.81 2001/08/11 15:38:43 rogerh
243 # Add Mac OS Carbon changes from John Woods <jfw@jfwhome.funhouse.com>
245 # Revision 1.80 2001/07/20 07:36:59 rogerh
246 # Move ESD detection.
248 # Revision 1.79 2001/07/19 09:53:29 rogerh
249 # Add the PWAVFile class to read and write .wav files
251 # Revision 1.78 2001/07/19 09:27:12 rogerh
252 # Add support for EsounD and esd (the Enlightenment Sound Daemon).
253 # This allows OhPhone to run on platforms where EsounD and esd have been
254 # ported which includes Mac OS X.
255 # Code written by Shawn Pai-Hsiang Hsiao <shawn@eecs.harvard.edu>.
257 # Revision 1.77 2001/07/10 03:45:14 robertj
258 # Added queue channel and delay channel classes to ptclib.
260 # Revision 1.76 2001/07/09 06:16:15 yurik
261 # Jac Goudsmit's BeOS changes of July,6th. Cleaning up media subsystem etc.
263 # Revision 1.75 2001/06/27 17:25:46 rogerh
264 # Compile the dummyvideo.cxx file on platforms with no video capture hardware
266 # Revision 1.74 2001/06/26 15:49:15 rogerh
267 # Define HAS_VIDEOCAPTURE on platforms with video capture code
269 # Revision 1.73 2001/06/26 14:20:36 rogerh
270 # Compile the generic video files on all platforms
272 # Revision 1.72 2001/05/29 03:34:39 craigs
273 # Changed to use new HAS_OPENSSL define
275 # Revision 1.71 2001/02/27 01:05:24 robertj
276 # Updated regular expression parser to latest version from Henry Spencer.
278 # Revision 1.70 2001/02/23 08:42:17 rogerh
279 # Add dummyaudio as the default SOUND_SOURCE
281 # Revision 1.69 2001/02/15 04:58:51 robertj
282 # Added class to do secure HTTP based service process.
284 # Revision 1.68 2001/01/24 02:51:15 robertj
285 # Changed definition of list of files for make clean to more correct position
286 # as expected by common.mak
288 # Revision 1.67 2001/01/04 18:13:32 rogerh
289 # Tidy up the Makefile when building video4bsd.cxx
291 # Revision 1.66 2001/01/04 18:02:16 rogerh
292 # remove some old parts refering to linux
294 # Revision 1.65 2001/01/03 23:10:09 craigs
295 # Fixed Makefile problem when video not available
297 # Revision 1.64 2001/01/03 16:48:13 rogerh
298 # Rename V4L_SOURCE to VIDEO_SOURCE (to be less platform specific).
299 # Specify which files to use for VIDEO_SOURCE on non-linux systems eg BSD.
301 # Revision 1.63 2000/12/19 22:20:26 dereks
302 # Add video channel classes to connect to the PwLib PVideoInputDevice class.
303 # Add PFakeVideoInput class to generate test images for video.
305 # Revision 1.62 2000/12/16 13:00:46 rogerh
306 # BeOS changes, submitted by Yuri Kiryanov <openh323@kiryanov.com>
308 # Revision 1.61 2000/07/26 02:40:30 robertj
309 # Added video I/O devices.
311 # Revision 1.60 2000/06/21 01:01:22 robertj
312 # AIX port, thanks Wolfgang Platzer (wolfgang.platzer@infonova.at).
314 # Revision 1.59 2000/04/26 00:40:48 robertj
315 # Redesigned version number system to have single file to change on releases.
317 # Revision 1.58 2000/04/19 00:13:52 robertj
320 # Revision 1.57 2000/04/09 18:19:23 rogerh
321 # Add my changes for NetBSD support.
323 # Revision 1.56 2000/03/08 18:22:03 rogerh
324 # Select oss.cxx sound support for OpenBSD
326 # Revision 1.55 2000/03/03 00:30:31 robertj
327 # Removed ptclilb/proto directory.
329 # Revision 1.54 2000/02/24 11:03:27 craigs
330 # Fixed problem with making PW programs
332 # Revision 1.53 2000/02/17 12:09:19 robertj
333 # Added better random number generator after finding major flaws in MSVCRT version.
335 # Revision 1.52 2000/02/15 23:11:34 robertj
336 # Audio support for FreeBSD, thanks Roger Hardiman.
338 # Revision 1.51 2000/01/31 01:56:48 robertj
339 # Fixed BeOS compatibility problem.
341 # Revision 1.50 2000/01/22 00:52:06 craigs
342 # Added ability to use in any directory, and to create shared libraries
344 # Revision 1.49 2000/01/10 02:22:41 craigs
345 # Updated for new OpenSSL functionality
347 # Revision 1.48 1999/09/27 01:04:42 robertj
348 # BeOS support changes.
350 # Revision 1.47 1999/07/03 04:31:53 robertj
351 # Fixed problems with not including oss.cxx in library if OSTYPE not "linux"
353 # Revision 1.46 1999/06/28 09:28:02 robertj
354 # Portability issues, especially n BeOS (thanks Yuri!)
356 # Revision 1.45 1999/06/21 00:57:10 robertj
357 # Fixed inclusion of getdate.tab.c to clean files.
359 # Revision 1.44 1999/06/09 15:41:18 robertj
360 # Added better UI to make files.
362 # Revision 1.43 1999/04/18 09:36:31 robertj
363 # Get date grammar build.
365 # Revision 1.42 1999/04/16 14:37:41 craigs
366 # Added build for getdate.y
368 # Revision 1.41 1999/03/02 05:41:59 robertj
371 # Revision 1.40 1999/02/25 03:44:58 robertj
372 # Sound driver implementation changes for various unix platforms.
374 # Revision 1.39 1999/02/22 13:24:47 robertj
375 # Added first cut sound implmentation.
377 # Revision 1.38 1999/02/19 11:33:51 robertj
378 # Added IP access control lists file.
380 # Revision 1.37 1999/01/22 00:30:46 robertj
381 # Yet more build environment changes.
383 # Revision 1.36 1999/01/21 08:27:18 robertj
384 # Added tarfiles target
386 # Revision 1.35 1999/01/16 09:54:04 robertj
387 # Changed some macros to more informative names.
389 # Revision 1.34 1998/12/04 12:53:14 craigs
390 # Fixed problem with regex in wrong directory
392 # Revision 1.33 1998/12/02 02:10:19 robertj
393 # New directory structure
395 # Revision 1.32 1998/11/22 10:44:10 craigs
396 # New GUI build system - for sure!
398 # Revision 1.31 1998/11/22 08:11:28 craigs
399 # Changed for new GUI build mechanism
401 # Revision 1.29 1998/10/15 07:03:46 robertj
402 # Moved object.cxx to last place so memory leak destructor is called at the right time.
404 # Revision 1.28 1998/09/24 07:40:34 robertj
405 # Moved structured file to common.
406 # Removed small files only containing pragma implementations
408 # Revision 1.27 1998/09/24 04:20:50 robertj
409 # Added open software license.
411 # Revision 1.26 1998/08/21 05:32:14 robertj
412 # Allowed for multiple "all" target, so can build lib from app makefile.
414 # Revision 1.25 1998/02/12 04:17:55 robertj
415 # Made DEBUG variable optional
417 # Revision 1.24 1998/01/26 07:25:21 robertj
418 # Removed tiny files, as now have pragma in the common files.
420 # Revision 1.22 1998/01/04 09:41:20 robertj
421 # Changed perasn.cxx to asner.cxx
423 # Revision 1.21 1998/01/04 08:29:37 craigs
426 # Revision 1.20 1997/04/22 11:00:01 craigs
427 # Added SSL and DLL functions
429 # Revision 1.19 1996/11/17 08:35:50 craigs
430 # Fixed distsrc target
432 # Revision 1.18 1996/11/17 02:35:12 craigs
433 # Removed SSL from list of build targets
435 # Revision 1.16 1996/10/31 10:30:03 craigs
438 # Revision 1.15 1996/09/21 05:41:41 craigs
439 # Added new common files
441 # Revision 1.14 1996/08/03 12:05:10 craigs
442 # *** empty log message ***
444 # Revision 1.13 1996/07/03 06:32:18 craigs
445 # Removed spurious lines causing warnings during library make
447 # Revision 1.12 1996/06/29 11:37:28 craigs
448 # Added unix system type to object directories
449 # Added support for Linux shared libraries
451 # Revision 1.11 1996/06/19 01:56:26 craigs
452 # Added uhttpsvc to the list
454 # Revision 1.10 1996/06/14 09:30:43 craigs
455 # Included buildinc stuff
457 # Revision 1.9 1996/05/10 11:03:22 craigs
458 # Fixed distsrc rule to only include ptlib stuff
460 # Revision 1.8 1996/05/03 13:48:58 craigs
463 # Revision 1.7 1996/05/02 10:53:24 craigs
464 # Fixed problem with SUN4 target
466 # Revision 1.6 1996/04/17 11:12:20 craigs
467 # Latest version pre mibmaster release 1.0
469 # Revision 1.5 1996/04/15 10:50:13 craigs
470 # Last revision prior to release of MibMaster
472 # Revision 1.4 1996/01/26 11:09:04 craigs
473 # *** empty log message ***
475 # Revision 1.3 1995/12/08 13:18:13 craigs
478 # Revision 1.2 1995/07/09 00:35:42 craigs
479 # Latest and greatest omnibus change
481 # Revision 1.1 1995/01/16 20:50:44 craigs
484 # Revision 1.1 1993/07/12 21:22:16 craigs
490 PWLIBDIR
:= $(HOME
)/pwlib
493 include $(PWLIBDIR
)/make
/unix.mak
495 OBJDIR
= $(PT_OBJDIR
)
496 LIBDIR
= $(PW_LIBDIR
)
497 TARGET
= $(LIBDIR
)/$(PTLIB_FILE
)
498 VERSION_FILE
= $(PWLIBDIR
)/version.h
500 ##########################################
502 COMPONENT_SRC_DIR
= ..
/..
/ptclib
503 COMMON_SRC_DIR
= ..
/common
504 VPATH_CXX
:= $(COMMON_SRC_DIR
) $(COMPONENT_SRC_DIR
)
505 PLUGIN_DIR
= ..
/..
/..
/plugins
508 #####CFLAGS += -DPTRACING=1
510 # try and keep the order of modules in reverse order of usage so any
511 # global statics will be constructed/destructed in the correct order
514 SOURCES
+= $(COMPONENT_SRC_DIR
)/psasl.
cxx
519 $(COMPONENT_SRC_DIR
)/pldap.
cxx \
520 $(COMPONENT_SRC_DIR
)/pils.
cxx
524 SOURCES
+= $(COMPONENT_SRC_DIR
)/pssl.
cxx
528 SOURCES
+= $(COMPONENT_SRC_DIR
)/vsdl.
cxx
532 SOURCES
+= $(COMPONENT_SRC_DIR
)/podbc.
cxx
536 ## Note this is mostly handled by the plugin system
541 SOURCES
+= $(COMMON_SRC_DIR
)/vfakeio.
cxx \
542 $(COMMON_SRC_DIR
)/videoio.
cxx \
543 $(COMMON_SRC_DIR
)/vconvert.
cxx \
544 $(COMMON_SRC_DIR
)/pvidchan.
cxx \
545 $(COMMON_SRC_DIR
)/tinyjpeg.c \
546 $(COMMON_SRC_DIR
)/jidctflt.c
548 ifdef USE_SHM_VIDEO_DEVICES
549 SOURCES
+= shmvideo.
cxx
554 ifeq ($(OSTYPE
),linux
)
555 VPATH_CXX
+= $(PLUGIN_DIR
)/vidinput_v4l
556 SOURCES
+= $(PLUGIN_DIR
)/vidinput_v4l
/vidinput_v4l.
cxx
564 ## Note this is mostly handled by the plugin system
568 SOURCES
+= $(COMMON_SRC_DIR
)/sound.
cxx
572 ifeq ($(OSTYPE
),linux
)
573 VPATH_CXX
+= $(PLUGIN_DIR
)/sound_oss
574 SOURCES
+= $(PLUGIN_DIR
)/sound_oss
/sound_oss.
cxx
578 VPATH_CXX
+= $(PLUGIN_DIR
)/sound_alsa
579 SOURCES
+= $(PLUGIN_DIR
)/sound_alsa
/sound_alsa.
cxx
582 ifeq ($(OSTYPE
),beos
)
583 SOURCES
+= beaudio.
cxx
586 #ifeq ($(OSTYPE),Darwin)
587 #SOURCES += maccoreaudio.cxx
592 # Although not an external plugin, the MacOSX
593 # CoreAudio sound driver still is in plugin form
594 # and requires the PPluginManager
595 ifeq ($(OSTYPE
),Darwin
)
596 SOURCES
+= maccoreaudio.
cxx
604 SOURCES
+= $(COMPONENT_SRC_DIR
)/pxml.
cxx
608 $(COMPONENT_SRC_DIR
)/pxmlrpc.
cxx \
609 $(COMPONENT_SRC_DIR
)/pxmlrpcs.
cxx
613 SOURCES
+= $(COMPONENT_SRC_DIR
)/psoap.
cxx
617 SOURCES
+= $(COMPONENT_SRC_DIR
)/vxml.
cxx
622 $(COMPONENT_SRC_DIR
)/xmpp.
cxx \
623 $(COMPONENT_SRC_DIR
)/xmpp_c2s.
cxx \
624 $(COMPONENT_SRC_DIR
)/xmpp_muc.
cxx \
625 $(COMPONENT_SRC_DIR
)/xmpp_roster.
cxx
632 $(COMPONENT_SRC_DIR
)/pdns.
cxx \
633 $(COMPONENT_SRC_DIR
)/enum.
cxx
637 SOURCES
+= $(COMPONENT_SRC_DIR
)/ptts.
cxx
642 $(COMPONENT_SRC_DIR
)/asner.
cxx \
643 $(COMPONENT_SRC_DIR
)/pasn.
cxx
648 $(COMPONENT_SRC_DIR
)/snmpclnt.
cxx \
649 $(COMPONENT_SRC_DIR
)/snmpserv.
cxx \
650 $(COMPONENT_SRC_DIR
)/psnmp.
cxx \
651 $(COMPONENT_SRC_DIR
)/snmp.
cxx \
652 $(COMPONENT_SRC_DIR
)/rfc1155.
cxx
657 $(COMPONENT_SRC_DIR
)/ftpclnt.
cxx \
658 $(COMPONENT_SRC_DIR
)/ftpsrvr.
cxx \
659 $(COMPONENT_SRC_DIR
)/ftp.
cxx
663 SOURCES
+= $(COMPONENT_SRC_DIR
)/telnet.
cxx
667 SOURCES
+= $(COMPONENT_SRC_DIR
)/pstun.
cxx \
668 $(COMPONENT_SRC_DIR
)/pnat.
cxx
672 SOURCES
+= $(COMPONENT_SRC_DIR
)/socks.
cxx
676 SOURCES
+= pipechan.
cxx
680 SOURCES
+= remconn.
cxx
684 SOURCES
+= $(COMPONENT_SRC_DIR
)/pwavfile.
cxx
688 SOURCES
+= $(COMPONENT_SRC_DIR
)/dtmf.
cxx
694 $(COMPONENT_SRC_DIR
)/modem.
cxx
699 $(COMPONENT_SRC_DIR
)/inetmail.
cxx
704 $(COMPONENT_SRC_DIR
)/http.
cxx \
705 $(COMPONENT_SRC_DIR
)/httpclnt.
cxx
711 $(COMPONENT_SRC_DIR
)/httpsvc.
cxx \
712 $(COMPONENT_SRC_DIR
)/httpform.
cxx \
713 $(COMPONENT_SRC_DIR
)/httpsrvr.
cxx \
714 $(COMPONENT_SRC_DIR
)/html.
cxx
717 SOURCES
+= $(COMPONENT_SRC_DIR
)/shttpsvc.
cxx
721 ifdef HAS_CONFIG_FILE
722 SOURCES
+= config.
cxx
726 SOURCES
+= $(COMPONENT_SRC_DIR
)/sockagg.
cxx
730 SOURCES
+= $(COMPONENT_SRC_DIR
)/pvidfile.
cxx \
731 $(COMPONENT_SRC_DIR
)/pvfiledev.
cxx
734 GETDATE_SOURCE
= $(COMMON_SRC_DIR
)/getdate.tab.c
737 $(COMPONENT_SRC_DIR
)/ipacl.
cxx \
738 $(COMPONENT_SRC_DIR
)/qchannel.
cxx \
739 $(COMPONENT_SRC_DIR
)/delaychan.
cxx \
740 $(COMPONENT_SRC_DIR
)/memfile.
cxx \
741 $(COMPONENT_SRC_DIR
)/cypher.
cxx \
742 $(COMPONENT_SRC_DIR
)/random.
cxx \
743 $(COMPONENT_SRC_DIR
)/inetprot.
cxx \
744 $(COMPONENT_SRC_DIR
)/notifier_ext.
cxx \
745 $(COMPONENT_SRC_DIR
)/guid.
cxx \
755 $(COMMON_SRC_DIR
)/pluginmgr.
cxx \
756 $(COMMON_SRC_DIR
)/sockets.
cxx \
757 $(COMMON_SRC_DIR
)/psockbun.
cxx \
758 $(COMMON_SRC_DIR
)/qos.
cxx \
759 $(COMMON_SRC_DIR
)/ptime.
cxx \
760 $(COMMON_SRC_DIR
)/osutils.
cxx \
761 $(COMMON_SRC_DIR
)/safecoll.
cxx \
762 $(COMMON_SRC_DIR
)/collect.
cxx \
763 $(COMMON_SRC_DIR
)/contain.
cxx \
764 $(COMMON_SRC_DIR
)/object.
cxx # must be last module
766 ifneq ($(HAS_REGEX
),1)
767 OBJS
= $(OBJDIR
)/regcomp.o
$(OBJDIR
)/regexec.o
$(OBJDIR
)/regerror.o
$(OBJDIR
)/regfree.o
770 CLEAN_FILES
= $(GETDATE_SOURCE
)
773 #######################################################
775 include ..
/..
/..
/make
/common.mak
777 #######################################################
784 $(OBJDIR
)/regcomp.o
: $(COMMON_SRC_DIR
)/regex
/regcomp.c
785 $(CC
) $(CFLAGS
) $(DEBUG_FLAG
) $(OPTCCFLAGS
) -c
-DPOSIX_MISTAKE
-I
$(COMMON_SRC_DIR
)/regex
-o
$@
-c
$<
787 $(OBJDIR
)/regexec.o
: $(COMMON_SRC_DIR
)/regex
/regexec.c
788 $(CC
) $(CFLAGS
) $(DEBUG_FLAG
) $(OPTCCFLAGS
) -c
-DPOSIX_MISTAKE
-I
$(COMMON_SRC_DIR
)/regex
-o
$@
-c
$<
790 $(OBJDIR
)/regerror.o
: $(COMMON_SRC_DIR
)/regex
/regerror.c
791 $(CC
) $(CFLAGS
) $(DEBUG_FLAG
) $(OPTCCFLAGS
) -c
-DPOSIX_MISTAKE
-I
$(COMMON_SRC_DIR
)/regex
-o
$@
-c
$<
793 $(OBJDIR
)/regfree.o
: $(COMMON_SRC_DIR
)/regex
/regfree.c
794 $(CC
) $(CFLAGS
) $(DEBUG_FLAG
) $(OPTCCFLAGS
) -c
-DPOSIX_MISTAKE
-I
$(COMMON_SRC_DIR
)/regex
-o
$@
-c
$<
797 ifdef REQUIRES_SEPARATE_SWITCH
798 $(OBJDIR
)/switch.o
: .
/switch.
cxx
799 @if
[ ! -d
$(OBJDIR
) ] ; then mkdir
-p
$(OBJDIR
) ; fi
800 $(CPLUS
) $(CFLAGS
) $(STDCCFLAGS
) -c
$< -o
$@
803 $(OBJDIR
)/getdate.tab.o
: $(GETDATE_SOURCE
)
804 $(CC
) $(CFLAGS
) $(STDCCFLAGS
) -c
$< -o
$@
806 $(DEPDIR
)/getdate.tab.dep
: $(GETDATE_SOURCE
)
807 $(CC
) $(STDCCFLAGS
) -M
$< >> $@
809 $(GETDATE_SOURCE
): $(COMMON_SRC_DIR
)/getdate.y
810 bison
$(COMMON_SRC_DIR
)/getdate.y
-o
$(COMMON_SRC_DIR
)/getdate.tab.c
812 #######################################################
814 LIB_BASENAME
=$(PTLIB_BASE
)
815 LIB_FILENAME
=$(PTLIB_FILE
)
817 include $(PWLIBDIR
)/make
/lib.mak
819 #######################################################