📄 makefile
字号:
## 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 CPhone, a cross platform voip gui.## The Initial Developer of the Original Code is Derek Smithies.## Copyright (C) 2002 Indranet Technologies Ltd, # http://www.indranet-technologies.com# All Rights Reserved.## Contributor(s): _______________#### $Log: Makefile,v $# Revision 1.6 2003/05/15 19:49:15 peternixon# Remove support for qt2 as cphone no longer works with it## Revision 1.5 2003/05/13 09:18:14 peternixon# Use QT3 by default if available## Revision 1.4 2003/05/09 03:08:24 dereksmithies# Fix Microtelco handling, and message display## Revision 1.3 2003/02/03 09:15:06 rogerhardiman# Add extra QTDIR search to find QT on my FreeBSD system## Revision 1.2 2002/11/28 22:51:59 dereksmithies# Add switch so it compiles on FreeBSD. Thanks Roger Hardiman## Revision 1.1.1.1 2002/05/12 22:55:00 dereksmithies# Initial release.####PROG = cphoneSOURCES := \ addressbookSub.cxx \ audiopropertiesSub.cxx \ callanswerSub.cxx \ cpendpoint.cxx \ main.cxx \ mainwindowSub.cxx \ message.cxx \ options.cxx \ precompile.cxx \ qtvid.cxx \ settingsSub.cxx \ vdisplay.cxx \ videopropertiesSub.cxx UIFILES := \ addressbook.ui \ audioproperties.ui \ callanswer.ui \ mainwindow.ui \ settings.ui \ videoproperties.ui MOCFILES := \ vdisplay.h # message.h \##################################################ifndef QTDIRifneq (,$(wildcard /usr/local/qt))QTDIR=/usr/local/qtelseifneq (,$(wildcard /usr/lib/qt3))QTDIR=/usr/lib/qt3elseifneq (,$(wildcard ~/qt))QTDIR=~/qtelseifneq (,$(wildcard ../qt))QTDIR=../qtelseifneq (,$(wildcard /usr/X11R6/include/qapplication.h))QTDIR=/usr/X11R6endifendifendifendifendifendififndef XLIBDIRXLIBDIR=/usr/X11R6/libendifUIC = $(QTDIR)/bin/uicMOC = $(QTDIR)/bin/mocSTDCCFLAGS += -I$(QTDIR)/include -DQT_THREAD_SUPPORTLDFLAGS += -L$(QTDIR)/lib -L$(XLIBDIR)ENDLDLIBS += -lqt-mt -lSM -lICE -lXext -lX11 ifeq ($(OSTYPE),linux)ENDLDLIBS += -ldlendifUISRC := $(patsubst %.ui,%.cxx,$(UIFILES))UIHDRS := $(patsubst %.ui,%.h,$(UIFILES))MOCFILES += $(UIHDRS)MOCSRCRAW := $(addprefix moc_, $(MOCFILES))MOCSRC := $(patsubst %.h,%.cxx,$(MOCSRCRAW))SOURCES += $(MOCSRC) $(UISRC)##################################################ifndef OPENH323DIROPENH323DIR=$(HOME)/openh323endifinclude $(OPENH323DIR)/openh323u.mak##################################################%.cxx %.h : %.ui $(UIC) -impl $*.h $*.ui > $*.cxx $(UIC) $*.ui > $*.hmoc_%.cxx: %.h $(MOC) -f$*.h -o $@ < $*.h.PRECIOUS: $(UIHDRS) $(MOCSRC)clean:: rm -f $(UISRC) $(UIHDRS) $(MOCSRC) main.cxx : mainwindow.haddressbookSub.cxx : addressbook.h mainwindow.h callanswer.haudiopropertiesSub.cxx : audioproperties.h mainwindow.hcallanswerSub.cxx : callanswer.h mainwindow.hmainwindowSub.cxx : $(UIHDRS)options.cxx : mainwindow.hsettingsSub.cxx : settings.h mainwindow.hvideopropertiesSub.cxx : videoproperties.h mainwindow.h# End of File ####################################
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -