Songbird Wiki > Developer Center > Articles > Style Manual > Public Directory Makefile Template

Public Directory Makefile Template

From $1

Table of contents
No headers

You must change the following after copying this template:

  • Set the proper DEPTH
  • List all of the IDL files you want to compile in XPIDL_SRCS
  • Name the typelib you want to contain the compiled IDL in XPIDL_MODULE
#
# BEGIN SONGBIRD GPL
#
# This file is part of the Songbird web player.
#
# Copyright(c) 2005-2007 POTI, Inc.
# http://songbirdnest.com
#
# This file may be licensed under the terms of of the
# GNU General PXPIDL_MODULEublic License Version 2 (the "GPL").
#
# Software distributed under the License is distributed
# on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
# express or implied. See the GPL for the specific language
# governing rights and limitations.
#
# You should have received a copy of the GPL along with this
# program. If not, go to http://www.gnu.org/licenses/gpl.html
# or write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# END SONGBIRD GPL
#

DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@

include $(DEPTH)/build/autodefs.mk

XPIDL_SRCS = sbISomeInterface.idl \
             sbIAnotherInterface.idl \
             $(NULL)

XPIDL_MODULE = sbMyComponent.xpt
XPIDL_MODULE_TYPELIBS = $(XPIDL_SRCS:.idl=.xpt)

SONGBIRD_COMPONENTS = $(XPIDL_MODULE)

include $(topsrcdir)/build/rules.mk
Tags:
 
Images (0)
 
Comments (0)
You must login to post a comment.