Makefile
上传用户:wgl386701
上传日期:2007-01-06
资源大小:22k
文件大小:2k
- #
- # Makefile
- #
- # Make file for ptlib library
- #
- # Portable Windows Library
- #
- # Copyright (c) 1993-1998 Equivalence Pty. Ltd.
- #
- # The contents of this file are subject to the Mozilla Public License
- # Version 1.0 (the "License"); you may not use this file except in
- # compliance with the License. You may obtain a copy of the License at
- # http://www.mozilla.org/MPL/
- #
- # Software distributed under the License is distributed on an "AS IS"
- # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
- # the License for the specific language governing rights and limitations
- # under the License.
- #
- # The Original Code is Portable Windows Library.
- #
- # The Initial Developer of the Original Code is Equivalence Pty. Ltd.
- #
- # Portions are Copyright (C) 1993 Free Software Foundation, Inc.
- # All Rights Reserved.
- #
- # Contributor(s): ______________________________________.
- #
- # $Log: Makefile,v $
- # Revision 1.5 2000/04/25 23:34:22 craigs
- # Added lots of new code, including outgoing and incoming
- # multiplexors, and the start of an IVR system
- #
- # Revision 1.4 2000/02/02 04:10:55 craigs
- # Changed to use common Makefiles
- #
- # Revision 1.3 1999/10/28 12:26:18 craigs
- # Changed version number
- #
- # Revision 1.2 1999/10/24 04:19:28 craigs
- # Added make dist target
- #
- # Revision 1.1 1999/10/11 00:15:18 craigs
- # Initial version
- #
- #
- PROG = openam
- SOURCES := main.cxx #cmds.cxx
- TAR_SOURCES = Makefile main.h main.cxx version.h run_example README.txt new_msg
- ifndef PWLIBDIR
- PWLIBDIR=$(HOME)/pwlib
- endif
- include $(PWLIBDIR)/make/ptlib.mak
- ifndef OPENH323DIR
- OPENH323DIR=$(HOME)/openh323
- endif
- include $(OPENH323DIR)/openh323u.mak
- ifdef NOTRACE
- STDCCFLAGS += -DPASN_NOPRINTON -DPASN_LEANANDMEAN
- else
- STDCCFLAGS += -DPTRACING
- endif
- # Extra dependencies
- $(TARGET): $(H323_LIBFILE)
- tarfiles:
- @echo $(patsubst %, $(notdir $(shell pwd))/%, $(TAR_SOURCES))
- dist:
- ( cd ..; tar -czvf openam_0.1alpha2.tgz $(patsubst %, $(notdir $(shell pwd))/%, $(TAR_SOURCES)) )
- record: record.c
- $(CC) -o $@ $<
- playback: playback.c
- $(CC) -o $@ $<