summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2009-06-12 12:23:42 +0200
committerSamuel Lidén Borell <samuel@slbdata.se>2010-01-02 22:30:06 +0100
commit6dea54bb72c2c7963305d1b331236d5a1fd575d0 (patch)
tree5de3565eaa3f5ff1cbfef373547bcdecc1bb60af /plugin
parentd52391fee07e13b2a9e015d4a5a57135d0356d10 (diff)
downloadfribid-6dea54bb72c2c7963305d1b331236d5a1fd575d0.tar.gz
fribid-6dea54bb72c2c7963305d1b331236d5a1fd575d0.tar.bz2
fribid-6dea54bb72c2c7963305d1b331236d5a1fd575d0.zip
Made the install target support xulrunner too
Diffstat (limited to 'plugin')
-rw-r--r--plugin/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/plugin/Makefile b/plugin/Makefile
index 39fe29d..9277e7d 100644
--- a/plugin/Makefile
+++ b/plugin/Makefile
@@ -5,7 +5,8 @@ CCFLAGS=$(COMMONCFLAGS) -I../npapi/include -fPIC -fvisibility=hidden
# Files to be installed
LIB_PATH=`../configure --internal--get-define=LIB_PATH`
NPAPI_PLUGIN_LIB=`../configure --internal--get-define=NPAPI_PLUGIN_LIB`
-NPAPI_PLUGIN_LINK=`../configure --internal--get-define=NPAPI_PLUGIN_LINK`
+NPAPI_PLUGIN_LINK1=`../configure --internal--get-define=NPAPI_PLUGIN_LINK1`
+NPAPI_PLUGIN_LINK2=`../configure --internal--get-define=NPAPI_PLUGIN_LINK2`
NPAPI_PLUGIN_REL=`../configure --internal--get-define=NPAPI_PLUGIN_REL`
OBJECTS=ipc.o npmain.o npobject.o plugin.o pipe.o npn_gate.o np_entry.o
@@ -30,13 +31,16 @@ clean:
install:
install -T -D -s -m 644 libplugins.so $(NPAPI_PLUGIN_LIB) && \
- ../configure --internal--remove-link $(NPAPI_PLUGIN_LINK) $(NPAPI_PLUGIN_REL) && \
- ln -s $(NPAPI_PLUGIN_REL) $(NPAPI_PLUGIN_LINK)
+ ../configure --internal--remove-link $(NPAPI_PLUGIN_LINK1) $(NPAPI_PLUGIN_REL) && \
+ ../configure --internal--remove-link $(NPAPI_PLUGIN_LINK2) $(NPAPI_PLUGIN_REL) && \
+ ln -s $(NPAPI_PLUGIN_REL) $(NPAPI_PLUGIN_LINK1)
+ ln -s $(NPAPI_PLUGIN_REL) $(NPAPI_PLUGIN_LINK2)
uninstall:
rm -f $(NPAPI_PLUGIN_LIB)
[ ! -d $(LIB_PATH) ] || rmdir $(LIB_PATH) 2> /dev/null || true
- ../configure --internal--remove-link $(NPAPI_PLUGIN_LINK) $(NPAPI_PLUGIN_REL)
+ ../configure --internal--remove-link $(NPAPI_PLUGIN_LINK1) $(NPAPI_PLUGIN_REL)
+ ../configure --internal--remove-link $(NPAPI_PLUGIN_LINK2) $(NPAPI_PLUGIN_REL)
$(OBJECTS): ../common/defines.h ../common/config.h
../common/config.h: