~ubuntu-branches/ubuntu/wily/mupen64plus/wily

« back to all changes in this revision

Viewing changes to .pc/as-needed.patch/rice_video/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Sven Eckelmann
  • Date: 2011-07-24 14:23:26 UTC
  • mfrom: (10.1.2 experimental)
  • Revision ID: james.westby@ubuntu.com-20110724142326-x9z5qu8j9jecrmod
Tags: 1.99.4+2
* Upload to unstable
* Remove overrides for lintian warning about change to native package
* Update Vcs-* fields to new anonscm.debian.org URLs in debian/control
* Fix spelling of "Flexible" in debian/control (Closes: #633693)
* Mark all targets in debian/rules as phony
* Add some information about the mupen64plus 2.0 vision in debian/NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2
 
# *   Mupen64plus - Makefile                                                *
3
 
# *   Mupen64Plus homepage: http://code.google.com/p/mupen64plus/           *
4
 
# *   Copyright (C) 2007-2008 DarkJeztr Tillin9 Richard42                   *
5
 
# *                                                                         *
6
 
# *   This program is free software; you can redistribute it and/or modify  *
7
 
# *   it under the terms of the GNU General Public License as published by  *
8
 
# *   the Free Software Foundation; either version 2 of the License, or     *
9
 
# *   (at your option) any later version.                                   *
10
 
# *                                                                         *
11
 
# *   This program is distributed in the hope that it will be useful,       *
12
 
# *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
13
 
# *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
14
 
# *   GNU General Public License for more details.                          *
15
 
# *                                                                         *
16
 
# *   You should have received a copy of the GNU General Public License     *
17
 
# *   along with this program; if not, write to the                         *
18
 
# *   Free Software Foundation, Inc.,                                       *
19
 
# *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.          *
20
 
# * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
21
 
# Makefile for RiceVideoLinux, in Mupen64Plus
22
 
 
23
 
# include pre-make file with a bunch of definitions
24
 
USES_GTK2 = true
25
 
ifeq ($(WIN32),1)
26
 
  include ../pre.mk.win32
27
 
else
28
 
  include ../pre.mk
29
 
endif
30
 
 
31
 
# local CFLAGS, LIBS, and LDFLAGS
32
 
CFLAGS += $(SDL_FLAGS) -fpic -DPIC -Wall
33
 
LDFLAGS += $(SDL_LIBS) $(LIBGL_LIBS) $(PLUGIN_LDFLAGS)
34
 
 
35
 
# set options
36
 
 
37
 
ifeq ($(DBG), 1)
38
 
  CFLAGS += -D_DEBUG
39
 
endif
40
 
 
41
 
# list of object files to generate
42
 
OBJECTS = OGLGraphicsContext.o \
43
 
        Debugger.o \
44
 
        Video.o \
45
 
        Config.o \
46
 
        GraphicsContext.o \
47
 
        TextureFilters.o \
48
 
        DeviceBuilder.o \
49
 
        Render.o \
50
 
        RSP_Parser.o \
51
 
        TextureManager.o \
52
 
        RenderBase.o \
53
 
        FrameBuffer.o \
54
 
        Texture.o \
55
 
        TextureFilters_2xsai.o \
56
 
        TextureFilters_hq2x.o \
57
 
        TextureFilters_hq4x.o \
58
 
        liblinux/bmp.o \
59
 
        liblinux/BMGImage.o \
60
 
        liblinux/pngrw.o \
61
 
        OGLRender.o \
62
 
        OGLTexture.o \
63
 
        OGLFragmentShaders.o \
64
 
        OGLCombinerNV.o \
65
 
        OGLCombinerTNT2.o \
66
 
        OGLExtCombiner.o \
67
 
        OGLCombiner.o \
68
 
        OGLExtRender.o \
69
 
        blender.o \
70
 
        math.o \
71
 
        Combiner.o \
72
 
        RSP_S2DEX.o \
73
 
        RenderExt.o \
74
 
        ConvertImage.o \
75
 
        ConvertImage16.o \
76
 
        DecodedMux.o \
77
 
        RenderTexture.o \
78
 
        liblinux/BMGUtils.o \
79
 
        liblinux/pngread.o \
80
 
        liblinux/png.o \
81
 
        liblinux/pngget.o \
82
 
        liblinux/pngrtran.o \
83
 
        liblinux/pngtrans.o \
84
 
        liblinux/pngwrite.o \
85
 
        liblinux/pngset.o \
86
 
        liblinux/pngmem.o \
87
 
        OGLDecodedMux.o \
88
 
        CNvTNTCombiner.o \
89
 
        GeneralCombiner.o \
90
 
        DirectXDecodedMux.o \
91
 
        liblinux/pngerror.o \
92
 
        liblinux/inflate.o \
93
 
        liblinux/pngrio.o \
94
 
        liblinux/pngrutil.o \
95
 
        liblinux/crc32.o \
96
 
        liblinux/pngwutil.o \
97
 
        liblinux/pngwio.o \
98
 
        liblinux/pngwtran.o \
99
 
        liblinux/deflate.o \
100
 
        CombinerTable.o \
101
 
        liblinux/infblock.o \
102
 
        liblinux/zutil.o \
103
 
        liblinux/adler32.o \
104
 
        liblinux/trees.o \
105
 
        liblinux/infcodes.o \
106
 
        liblinux/infutil.o \
107
 
        liblinux/inftrees.o \
108
 
        liblinux/inffast.o \
109
 
        OGLRenderExt.o
110
 
 
111
 
GTKOBJECTS = \
112
 
        gui_gtk2/messagebox_gtk2.o
113
 
 
114
 
LDFLAGS += $(GTK_LIBS)
115
 
CFLAGS += -DUSE_GTK $(GTK_FLAGS)
116
 
OBJECTS += $(GTKOBJECTS)
117
 
 
118
 
# build targets
119
 
targets:
120
 
        @echo "RiceVideoLinux N64 Video plugin makefile. "
121
 
        @echo "  Targets:"
122
 
        @echo "    all        == Build RiceVideoLinux plugin"
123
 
        @echo "    clean      == remove object files"
124
 
        @echo "    rebuild    == clean and re-build all"
125
 
        @echo "  Options:"
126
 
        @echo "    BITS=32    == build 32-bit binaries on 64-bit machine"
127
 
        @echo "    PROFILE=1  == build gprof instrumentation into binaries for profiling"
128
 
        @echo "    DBG=1      == turn on debugging functions"
129
 
        @echo "    DBGSYM=1   == add debugging symbols to binaries"
130
 
 
131
 
all: version.h ricevideo.so
132
 
 
133
 
ricevideo.so: $(OBJECTS)
134
 
        $(LD) $(OBJECTS) $(GTK_LIBS) $(LDFLAGS) -o $@
135
 
        $(STRIP) $@
136
 
 
137
 
clean:
138
 
        $(RM) -rf ricevideo.so $(OBJECTS)
139
 
 
140
 
rebuild: clean all
141
 
 
142
 
# build rules
143
 
version.h: FORCE
144
 
        @sed 's|@MUPEN_VERSION@|\"$(MUPEN_VERSION)\"| ; s|@PLUGIN_VERSION@|\"$(PLUGIN_VERSION)\"|' \
145
 
        ../main/version.template > version.h
146
 
        @$(MV) version.h ../main/version.h
147
 
 
148
 
.cpp.o:
149
 
        $(CXX) -o $*.o $(CFLAGS) -c $<
150
 
 
151
 
.c.o:
152
 
        $(CC) -o $*.o $(CFLAGS) -c $<
153
 
 
154
 
FORCE:
155