⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 安装 H323需要的pwlib库
💻
📖 第 1 页 / 共 2 页
字号:
# Added new common files## Revision 1.14  1996/08/03 12:05:10  craigs# *** empty log message ***## Revision 1.13  1996/07/03 06:32:18  craigs# Removed spurious lines causing warnings during library make## Revision 1.12  1996/06/29 11:37:28  craigs# Added unix system type to object directories# Added support for Linux shared libraries## Revision 1.11  1996/06/19 01:56:26  craigs# Added uhttpsvc to the list## Revision 1.10  1996/06/14 09:30:43  craigs# Included buildinc stuff## Revision 1.9  1996/05/10 11:03:22  craigs# Fixed distsrc rule to only include ptlib stuff## Revision 1.8  1996/05/03 13:48:58  craigs# Sun4 fixes## Revision 1.7  1996/05/02  10:53:24  craigs# Fixed problem with SUN4 target## Revision 1.6  1996/04/17 11:12:20  craigs# Latest version pre mibmaster release 1.0## Revision 1.5  1996/04/15 10:50:13  craigs# Last revision prior to release of MibMaster## Revision 1.4  1996/01/26 11:09:04  craigs# *** empty log message ***## Revision 1.3  1995/12/08 13:18:13  craigs# Lots of changes## Revision 1.2  1995/07/09 00:35:42  craigs# Latest and greatest omnibus change## Revision 1.1  1995/01/16 20:50:44  craigs# Initial revision## Revision 1.1  1993/07/12  21:22:16  craigs# Initial revision##ifndef PWLIBDIRPWLIBDIR := $(HOME)/pwlibendifinclude $(PWLIBDIR)/make/unix.makOBJDIR	= $(PT_OBJDIR)LIBDIR  = $(PW_LIBDIR)TARGET  = $(LIBDIR)/$(PTLIB_FILE)VERSION_FILE = $(PWLIBDIR)/version.h##########################################COMPONENT_SRC_DIR	= ../../ptclibCOMMON_SRC_DIR		= ../commonVPATH_CXX		:= $(COMMON_SRC_DIR) $(COMPONENT_SRC_DIR)PLUGIN_DIR		= ../../../plugins#####CFLAGS += -DPTRACING=1# try and keep the order of modules in reverse order of usage so any# global statics will be constructed/destructed in the correct orderifeq (1,$(HAS_SASL2))SASL_SOURCE := $(COMPONENT_SRC_DIR)/psasl.cxx endififeq (1,$(HAS_OPENLDAP))LDAP_SOURCE := $(COMPONENT_SRC_DIR)/pldap.cxx \               $(COMPONENT_SRC_DIR)/pils.cxxendififeq (1,$(HAS_OPENSSL))SSL_SOURCE := $(COMPONENT_SRC_DIR)/pssl.cxx \              $(COMPONENT_SRC_DIR)/shttpsvc.cxxendififeq (1,$(HAS_SDL))SDL_SOURCE := $(COMPONENT_SRC_DIR)/vsdl.cxxendif## VIDEOCAPTURE DRIVERS## Note this is mostly handled by the plugin systemVIDEO_SOURCE := $(COMMON_SRC_DIR)/vfakeio.cxx \                $(COMMON_SRC_DIR)/videoio.cxx \	        $(COMMON_SRC_DIR)/vconvert.cxx	        ifeq (1,$(USE_SHM_VIDEO_DEVICES))VIDEO_SOURCE	+= shmvideo.cxxendififeq ($(HAS_PLUGINS),0)ifeq ($(OSTYPE),linux)VPATH_CXX	+= $(PLUGIN_DIR)/vidinput_v4lVIDEO_SOURCE	+= $(PLUGIN_DIR)/vidinput_v4l/vidinput_v4l.cxxendif# ifneq (,$(wildcard $(SYSINCDIR)/linux/videodev.h))# VIDEO_CAPTURE_SOURCE = video4linux.cxx# endif# VIDEO_CAPTURE_SOURCE = dummyvideo.cxx## ifeq ($(OSTYPE),FreeBSD)# VIDEO_CAPTURE_SOURCE = video4bsd.cxx# endif# # ifeq ($(OSTYPE),OpenBSD)# VIDEO_CAPTURE_SOURCE = video4bsd.cxx# endif# # ifeq ($(OSTYPE),NetBSD)# VIDEO_CAPTURE_SOURCE = video4bsd.cxx# endif# # ifeq (1,$(TRY_1394DC))# VIDEO_CAPTURE_SOURCE += video4dc1394.cxx# endif# # ifeq (1,$(TRY_1394AVC))# VIDEO_CAPTURE_SOURCE += video4avc1394.cxx# endifendif  #  HAS_PLUGINS## SOUND DRIVERS## Note this is mostly handled by the plugin systemifeq ($(HAS_PLUGINS),0)ifeq ($(OSTYPE),linux)VPATH_CXX	+= $(PLUGIN_DIR)/sound_ossSOUND_SOURCE	= $(PLUGIN_DIR)/sound_oss/sound_oss.cxxifeq ($(HAS_ALSA),1)VPATH_CXX	+= $(PLUGIN_DIR)/sound_alsaSOUND_SOURCE	= $(PLUGIN_DIR)/sound_alsa/sound_alsa.cxxendifendif#  #Set SOUND_SOURCE to dummyaudio, a file which links but does not#  #actually play or record audio.#  #This will then be overridden by platform specific audio files.#  #  SOUND_SOURCE = dummyaudio.cxx#  #  #  ifeq ($(OSTYPE),solaris)#  ifneq (,$(wildcard /usr/include/sys/audioio.h))#  SOUND_SOURCE = sunaudio.cxx#  endif#  endif#  #  ifeq ($(OSTYPE),FreeBSD)#  SOUND_SOURCE = oss.cxx#  endif#  #  ifeq ($(OSTYPE),OpenBSD)#  SOUND_SOURCE = oss.cxx#  endif#  #  ifeq ($(OSTYPE),NetBSD)#  SOUND_SOURCE = oss.cxx#  endif#  #  ifeq ($(OSTYPE),AIX)#  SOUND_SOURCE = ossaix.cxx#  endif#    ifeq ($(OSTYPE),beos)#  #  ifdef MEDIA_KIT_UPDATE  SOUND_SOURCE = beaudio.cxx#  else#  BEAUDIO_SRC_DIR	= ./beaudio#  VPATH_CXX += $(BEAUDIO_SRC_DIR)#  #  SOUND_SOURCE = beaudio.cxx \#  	$(BEAUDIO_SRC_DIR)/MediaRecorder.cxx \#  	$(BEAUDIO_SRC_DIR)/MediaRecorderNode.cxx#  endif# # VIDEO_SOURCE = $(COMMON_SRC_DIR)/vfakeio.cxx \#                $(COMMON_SRC_DIR)/videoio.cxx \# 	       	   video4beos.cxx \# 	       	   $(COMMON_SRC_DIR)/vconvert.cxx endif# # ifeq ($(OSTYPE),Carbon)# MACAUDIO_SRC_DIR	= ./macosaudio# VPATH_CXX += $(MACAUDIO_SRC_DIR)# # SOUND_SOURCE = macosaudio.cxx \# 	$(MACAUDIO_SRC_DIR)/ringbuffer.cxx \# 	$(MACAUDIO_SRC_DIR)/MacMain.cxx \# 	$(MACAUDIO_SRC_DIR)/SequenceGrabber.cxx \# 	$(MACAUDIO_SRC_DIR)/SoundMangler.cxx# endififeq ($(OSTYPE),Darwin)SOUND_SOURCE = maccoreaudio.cxxendif # ifeq ($(OSTYPE),VxWorks)# SOUND_SOURCE = vxaudio.cxx# endif# # ifdef HAS_ESD# SOUND_SOURCE = esdaudio.cxx# endif# # ifeq ($(OSTYPE),QNX)# SOUND_SOURCE = qsa.cxx# endifendif  #  HAS_PLUGINSifeq (1,$(HAS_EXPAT))PXML_SOURCE	= $(COMPONENT_SRC_DIR)/pxml.cxx \		  $(COMPONENT_SRC_DIR)/pxmlrpc.cxx \		  $(COMPONENT_SRC_DIR)/pxmlrpcs.cxx \		  $(COMPONENT_SRC_DIR)/psoap.cxx \		  $(COMPONENT_SRC_DIR)/vxml.cxx ifeq (1,$(HAS_SASL2))PXML_SOURCE    += $(COMPONENT_SRC_DIR)/xmpp.cxx \		  $(COMPONENT_SRC_DIR)/xmpp_c2s.cxx \		  $(COMPONENT_SRC_DIR)/xmpp_roster.cxxendifendifGETDATE_SOURCE = $(COMMON_SRC_DIR)/getdate.tab.cSOURCES	= \	$(COMPONENT_SRC_DIR)/asner.cxx \	$(COMPONENT_SRC_DIR)/ipacl.cxx \	$(COMPONENT_SRC_DIR)/modem.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)/socks.cxx \	$(COMPONENT_SRC_DIR)/httpsvc.cxx \	$(COMPONENT_SRC_DIR)/snmpclnt.cxx \	$(COMPONENT_SRC_DIR)/snmpserv.cxx \	$(COMPONENT_SRC_DIR)/psnmp.cxx \	$(COMPONENT_SRC_DIR)/pasn.cxx \	$(COMPONENT_SRC_DIR)/httpform.cxx \	$(COMPONENT_SRC_DIR)/httpclnt.cxx \	$(COMPONENT_SRC_DIR)/httpsrvr.cxx \	$(COMPONENT_SRC_DIR)/http.cxx \	$(COMPONENT_SRC_DIR)/html.cxx \	$(COMPONENT_SRC_DIR)/ftpclnt.cxx \	$(COMPONENT_SRC_DIR)/ftpsrvr.cxx \	$(COMPONENT_SRC_DIR)/ftp.cxx \	$(COMPONENT_SRC_DIR)/inetmail.cxx \	$(COMPONENT_SRC_DIR)/inetprot.cxx \	$(COMPONENT_SRC_DIR)/telnet.cxx \	$(COMPONENT_SRC_DIR)/pwavfile.cxx \	$(COMPONENT_SRC_DIR)/dtmf.cxx \	$(COMPONENT_SRC_DIR)/ptts.cxx \	$(COMPONENT_SRC_DIR)/pstun.cxx \	$(COMPONENT_SRC_DIR)/pdns.cxx \	$(COMPONENT_SRC_DIR)/enum.cxx \	$(COMPONENT_SRC_DIR)/notifier_ext.cxx \        $(SDL_SOURCE) \	$(SSL_SOURCE) \	$(LDAP_SOURCE) \	$(SASL_SOURCE) \	$(VIDEO_SOURCE) \	$(GETDATE_SOURCE) \	$(PXML_SOURCE) \        $(SOUND_SOURCE) \	uicmp.cxx \	$(COMMON_SRC_DIR)/sound.cxx \	$(COMMON_SRC_DIR)/pluginmgr.cxx \	$(COMMON_SRC_DIR)/sockets.cxx \	$(COMMON_SRC_DIR)/qos.cxx \	$(COMMON_SRC_DIR)/pvidchan.cxx \	socket.cxx \	svcproc.cxx \	remconn.cxx \	config.cxx \	udll.cxx \	$(COMMON_SRC_DIR)/ptime.cxx \	pipechan.cxx \	serchan.cxx \	$(COMMON_SRC_DIR)/sfile.cxx \	channel.cxx \	osutil.cxx \	$(COMMON_SRC_DIR)/osutils.cxx \	$(COMMON_SRC_DIR)/safecoll.cxx \	tlib.cxx \	switch.cxx \	assert.cxx \	$(COMMON_SRC_DIR)/collect.cxx \	$(COMMON_SRC_DIR)/contain.cxx \	$(COMMON_SRC_DIR)/object.cxx   # must be last moduleifneq ($(HAS_REGEX),1)OBJS	= $(OBJDIR)/regcomp.o $(OBJDIR)/regexec.o $(OBJDIR)/regerror.o $(OBJDIR)/regfree.oendifCLEAN_FILES = $(GETDATE_SOURCE)#######################################################include ../../../make/common.mak#######################################################alllibs:	$(MAKE) both	$(MAKE) bothshared$(OBJDIR)/regcomp.o: $(COMMON_SRC_DIR)/regex/regcomp.c	$(CC) $(CFLAGS) $(DEBUG_FLAG) $(OPTCCFLAGS) -c -DPOSIX_MISTAKE -I$(COMMON_SRC_DIR)/regex -o $@ -c $<$(OBJDIR)/regexec.o: $(COMMON_SRC_DIR)/regex/regexec.c	$(CC) $(CFLAGS) $(DEBUG_FLAG) $(OPTCCFLAGS) -c -DPOSIX_MISTAKE -I$(COMMON_SRC_DIR)/regex -o $@ -c $<$(OBJDIR)/regerror.o: $(COMMON_SRC_DIR)/regex/regerror.c	$(CC) $(CFLAGS) $(DEBUG_FLAG) $(OPTCCFLAGS) -c -DPOSIX_MISTAKE -I$(COMMON_SRC_DIR)/regex -o $@ -c $<$(OBJDIR)/regfree.o: $(COMMON_SRC_DIR)/regex/regfree.c	$(CC) $(CFLAGS) $(DEBUG_FLAG) $(OPTCCFLAGS) -c -DPOSIX_MISTAKE -I$(COMMON_SRC_DIR)/regex -o $@ -c $<ifdef REQUIRES_SEPARATE_SWITCH $(OBJDIR)/switch.o: ./switch.cxx	@if [ ! -d $(OBJDIR) ] ; then mkdir -p $(OBJDIR) ; fi	$(CPLUS) $(CFLAGS) $(STDCCFLAGS) -c $< -o $@endif$(OBJDIR)/getdate.tab.o: $(GETDATE_SOURCE)	$(CC) $(CFLAGS) $(STDCCFLAGS) -c $< -o $@$(DEPDIR)/getdate.tab.dep: $(GETDATE_SOURCE)	$(CC) $(STDCCFLAGS) -M $< >> $@$(GETDATE_SOURCE): $(COMMON_SRC_DIR)/getdate.y	bison $(COMMON_SRC_DIR)/getdate.y -o $(COMMON_SRC_DIR)/getdate.tab.c#######################################################LIB_BASENAME=$(PTLIB_BASE)LIB_FILENAME=$(PTLIB_FILE)include $(PWLIBDIR)/make/lib.mak######################################################## End of Makefile

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -