Lines 1-19
Link Here
|
1 |
--- Makefile.orig Thu Feb 26 12:24:35 2004 |
1 |
--- Makefile Wed Mar 3 17:47:58 2004 |
2 |
+++ Makefile Thu Feb 26 12:37:12 2004 |
2 |
+++ Makefile Thu Mar 11 19:05:38 2004 |
3 |
@@ -1,6 +1,6 @@ |
3 |
@@ -1,6 +1,6 @@ |
4 |
.PHONY: all install install-home uninstall uninstall-home clean |
4 |
-.PHONY: all install install-home uninstall uninstall-home clean |
|
|
5 |
+.PHONY: all install uninstall clean |
5 |
|
6 |
|
6 |
-INSTALL_DIR := /usr/lib/xmms/Input |
7 |
-INSTALL_DIR := /usr/lib/xmms/Input |
7 |
+INSTALL_DIR := `xmms-config --input-plugin-dir` |
8 |
+INSTALL_DIR := `xmms-config --input-plugin-dir` |
8 |
INSTALL_DIR_HOME := ~/.xmms/Plugins/Input |
9 |
INSTALL_DIR_HOME := ~/.xmms/Plugins/Input |
9 |
|
10 |
|
10 |
export PLUGIN_FILE := libwma.so |
11 |
export PLUGIN_FILE := libwma.so |
11 |
@@ -11,7 +11,7 @@ |
12 |
@@ -11,34 +11,17 @@ |
12 |
export DEPS := $(SOURCES:%.c=$(DEPDIR)/%.d) |
13 |
export DEPS := $(SOURCES:%.c=$(DEPDIR)/%.d) |
13 |
|
14 |
|
14 |
all: |
15 |
all: |
15 |
- @cd ffmpeg-strip-wma; make; cd .. |
16 |
- @cd ffmpeg-strip-wma; make; cd .. |
16 |
+ @cd ffmpeg-strip-wma/; gmake; cd .. |
17 |
+ @cd ffmpeg-strip-wma; gmake; cd .. |
17 |
@$(MAKE) --no-print-directory -f Makefile.inc |
18 |
@$(MAKE) --no-print-directory -f Makefile.inc |
18 |
@strip $(PLUGIN_FILE) |
19 |
@strip $(PLUGIN_FILE) |
19 |
@echo "The plug-in has been compiled. Run one of the following:" |
20 |
- @echo "The plug-in has been compiled. Run one of the following:" |
|
|
21 |
- @echo "make install - for global (root) installation to $(INSTALL_DIR)" |
22 |
- @echo "make install-home - for installation to home directory $(INSTALL_DIR_HOME)" |
23 |
|
24 |
install: all |
25 |
cp -f $(PLUGIN_FILE) $(INSTALL_DIR) |
26 |
- @echo "The plug-in has been installed." |
27 |
- @echo "Enjoy!" |
28 |
- |
29 |
-install-home: all |
30 |
- -mkdir ~/.xmms |
31 |
- -mkdir ~/.xmms/Plugins |
32 |
- -mkdir ~/.xmms/Plugins/Input |
33 |
- cp -f $(PLUGIN_FILE) $(INSTALL_DIR_HOME) |
34 |
- @echo "The plug-in has been installed." |
35 |
- @echo "Enjoy!" |
36 |
|
37 |
uninstall: |
38 |
rm -f $(INSTALL_DIR)/$(PLUGIN_FILE) |
39 |
@echo "The plug-in has been uninstalled." |
40 |
|
41 |
-uninstall-home: |
42 |
- rm -f $(INSTALL_DIR_HOME)/$(PLUGIN_FILE) |
43 |
- @echo "The plug-in has been uninstalled." |
44 |
- |
45 |
clean: |
46 |
- cd ffmpeg-strip-wma; make clean; cd .. |
47 |
+ cd ffmpeg-strip-wma; gmake clean; cd .. |
48 |
rm -f $(OBJECTS) $(DEPS) |