~ubuntu-branches/ubuntu/wily/mplayerplug-in/wily

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Tirabassi
  • Date: 2008-07-06 23:35:53 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20080706233553-tfxk1bnjr8uewq0c
Tags: 3.55-1ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - debian/control
    + replace iceweasel with firefox3.0 | firefox 2
    + replace iceape-browser with seamonkey-browser
    + add Depends on | mplayer-nogui (>= 1.0~rc2)
    + add Xb-Npp-xxx tags accordingly to "firefox distro add-on support"
      spec
    + Modify Maintainer value to match the DebianMaintainerField
      specification.
  - debian/mozilla-mplayer.links:
    + add firefox and xulrunner symlinks
* Replace iceape-dev b-d with libxul-dev.
* Add xulrunner in lists of possible "browsers".
* Following upstream suggestion, change required mplayer version
  to be (>= 1.0~rc2).

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
datadir=@datadir@
46
46
LOCALEDIR=$(datadir)/locale
47
47
MOZILLA_HOME=@MOZILLA_HOME@
 
48
GECKO_XPIDL=@GECKO_XPIDL@
 
49
GECKO_IDLDIR=@GECKO_IDLDIR@
48
50
 
49
51
PIXMAPS=pixmaps/logo.xpm pixmaps/progress_left.xpm pixmaps/progress_right.xpm \
50
52
        pixmaps/progress_fill.xpm pixmaps/progress_middle.xpm
54
56
SCRIPTABLEHEADERS=Source/nsScriptablePeer.h Source/plugin.h config.h \
55
57
        Source/plugin-setup.h Source/nsIScriptableMplayerPlugin.h $(HEADERS)
56
58
 
57
 
default all: @CREATE@ languages
 
59
default all: config.h @CREATE@ languages
58
60
 
59
 
$(SHAREDTARGET): $(OBJ)
 
61
$(SHAREDTARGET): $(OBJ) Source/nsIScriptableMplayerPlugin.xpt
60
62
        $(CXX) -shared -o $(SHAREDTARGET).so $(OBJ) $(CFLAGS) $(LDFLAGS)
61
63
        cp Source/nsIScriptableMplayerPlugin.xpt mplayerplug-in.xpt
62
 
$(SHAREDTARGET)-wmp: $(OBJ_WMP)
 
64
 
 
65
$(SHAREDTARGET)-wmp: $(OBJ_WMP) Source/nsIScriptableMplayerPlugin.xpt
63
66
        $(CXX) -shared -o $(SHAREDTARGET)-wmp.so $(OBJ_WMP) $(CFLAGS) $(LDFLAGS)
64
67
        cp Source/nsIScriptableMplayerPlugin.xpt mplayerplug-in-wmp.xpt
65
68
 
66
 
$(SHAREDTARGET)-qt: $(OBJ_QT)
 
69
$(SHAREDTARGET)-qt: $(OBJ_QT) Source/nsIScriptableMplayerPlugin.xpt
67
70
        $(CXX) -shared -o $(SHAREDTARGET)-qt.so $(OBJ_QT) $(CFLAGS) $(LDFLAGS)
68
71
        cp Source/nsIScriptableMplayerPlugin.xpt mplayerplug-in-qt.xpt
69
72
 
70
 
$(SHAREDTARGET)-rm: $(OBJ_RM)
 
73
$(SHAREDTARGET)-rm: $(OBJ_RM) Source/nsIScriptableMplayerPlugin.xpt
71
74
        $(CXX) -shared -o $(SHAREDTARGET)-rm.so $(OBJ_RM) $(CFLAGS) $(LDFLAGS)
72
75
        cp Source/nsIScriptableMplayerPlugin.xpt mplayerplug-in-rm.xpt
73
76
 
74
 
$(SHAREDTARGET)-gmp: $(OBJ_GMP)
 
77
$(SHAREDTARGET)-gmp: $(OBJ_GMP) Source/nsIScriptableMplayerPlugin.xpt
75
78
        $(CXX) -shared -o $(SHAREDTARGET)-gmp.so $(OBJ_GMP) $(CFLAGS) $(LDFLAGS)
76
79
        cp Source/nsIScriptableMplayerPlugin.xpt mplayerplug-in-gmp.xpt
77
80
 
78
 
$(SHAREDTARGET)-dvx: $(OBJ_DVX)
 
81
$(SHAREDTARGET)-dvx: $(OBJ_DVX) Source/nsIScriptableMplayerPlugin.xpt
79
82
        $(CXX) -shared -o $(SHAREDTARGET)-dvx.so $(OBJ_DVX) $(CFLAGS) $(LDFLAGS)
80
83
        cp Source/nsIScriptableMplayerPlugin.xpt mplayerplug-in-dvx.xpt
81
84
 
88
91
npn_gate.o: plugingate/npn_gate.cpp
89
92
        $(CXX) -c -o $@ $(CFLAGS) plugingate/npn_gate.cpp
90
93
 
 
94
Source/nsIScriptableMplayerPlugin.h: Source/nsIScriptableMplayerPlugin.idl
 
95
        $(GECKO_XPIDL) -w -m header -I $(GECKO_IDLDIR) -I Source -e $@ $<
 
96
 
 
97
Source/nsIScriptableMplayerPlugin.xpt: Source/nsIScriptableMplayerPlugin.idl
 
98
        $(GECKO_XPIDL) -w -m typelib -I $(GECKO_IDLDIR) -I Source -e $@ $<
 
99
 
91
100
plugin.o: Source/plugin.cpp $(SCRIPTABLEHEADERS)
92
101
        $(CXX) -c -o $@ $(CFLAGS) $(LIBS) Source/plugin.cpp
93
102
 
134
143
        $(CC) -c -o $@ $(CFLAGS) extras/strlcpy.c
135
144
 
136
145
clean:
137
 
        $(RM) $(OBJ) $(OBJ_WMP) $(OBJ_QT) $(OBJ_RM) $(OBJ_GMP) $(OBJ_DVX) $(SHAREDTARGET)*.so $(SHAREDTARGET)*.xpt
 
146
        $(RM) $(OBJ) $(OBJ_WMP) $(OBJ_QT) $(OBJ_RM) $(OBJ_GMP) $(OBJ_DVX) $(SHAREDTARGET)*.so $(SHAREDTARGET)*.xpt Source/nsIScriptableMplayerPlugin.h Source/nsIScriptableMplayerPlugin.xpt
138
147
        cd po; $(MAKE) clean
139
148
 
140
149
distclean: clean
149
158
 
150
159
uninstall:
151
160
        ./uninstall.sh
 
161
 
 
162
dist:   config.h
 
163
        ./dist.sh
 
164
 
 
165
config.h: mplayerplug-in.spec.in configure.in config.h.in Makefile.in install.sh.in uninstall.sh.in dist.sh.in 
 
166
        ./configure --prefix=@prefix@
 
167
        touch config.h