~ubuntu-branches/ubuntu/intrepid/pyxine/intrepid-proposed

« back to all changes in this revision

Viewing changes to pyxine/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Joe Wreschnig
  • Date: 2003-11-11 12:13:24 UTC
  • Revision ID: james.westby@ubuntu.com-20031111121324-y3z5cd02mf87o0gn
Tags: upstream-0.1alpha2
ImportĀ upstreamĀ versionĀ 0.1alpha2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: Makefile,v 1.2 2003/02/08 00:51:45 dairiki Exp $
 
2
#
 
3
# Copyright (C) 2003  Geoffrey T. Dairiki <dairiki@dairiki.org>
 
4
#
 
5
# This file is part of Pyxine, Python bindings for xine.
 
6
#
 
7
# Pyxine is free software; you can redistribute it and/or
 
8
# modify it under the terms of the GNU General Public License
 
9
# as published by the Free Software Foundation; either version 2
 
10
# of the License, or (at your option) any later version.
 
11
#
 
12
# Pyxine is distributed in the hope that it will be useful,
 
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
# GNU General Public License for more details.
 
16
#
 
17
# You should have received a copy of the GNU General Public License
 
18
# along with this program; if not, write to the Free Software
 
19
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
20
 
 
21
TOP       = ..
 
22
 
 
23
PACKAGE   = pyxine
 
24
 
 
25
PYSOURCE  = config.py constants.py constwrap.py cstruct.py
 
26
PYSOURCE += event.py __init__.py osd.py post.py
 
27
PYSOURCE += weakmethod.py x11.py xine.py
 
28
 
 
29
GEN_FILES = libxine_wrap.c pxlib.py
 
30
DIST_FILES= Makefile libxine.i fixed_xine.h orig_xine.h
 
31
DIST_FILES+= $(GEN_FILES) $(PYSOURCE)
 
32
 
 
33
OFILES    = libxine_wrap.o
 
34
SOFILES   = libxine$(SO)
 
35
PYFILES   = $(PYSOURCE) pxlib.py
 
36
BLIB_FILES= $(SOFILES) $(PYFILES)
 
37
 
 
38
include $(TOP)/common.mak
 
39
 
 
40
libxine$(SO): $(OFILES)
 
41
        $(LDSHARED) $^ $(LIBS) -o $@
 
42
 
 
43
libxine_wrap.c: libxine.i fixed_xine.h
 
44
        $(SWIG) -python -dnone libxine.i
 
45
 
 
46
pxlib.py: $(TOP)/pxlib/pxlib.py
 
47
        cp -p $< $@
 
48
.PHONY: force
 
49
$(TOP)/pxlib/pxlib.py: force
 
50
        make -C $(TOP)/pxlib pxlib.py
 
51
 
 
52
 
 
53