Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 331211 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile_1.6 (-11 / +26 lines)
Lines 2-8 Link Here
2
# Quick 'n dirty unix Makefile
2
# Quick 'n dirty unix Makefile
3
#
3
#
4
# Mike Oliphant (oliphant@gtk.org)
4
# Mike Oliphant (oliphant@gtk.org)
5
# updated by Zsolt Branyiczy (brazso@zematix.hu) for win (mingw32)
6
#
5
#
7
6
8
CC=     gcc
7
CC=     gcc
Lines 11-22 Link Here
11
10
12
# all known MS Windows OS define the ComSpec environment variable
11
# all known MS Windows OS define the ComSpec environment variable
13
ifdef ComSpec
12
ifdef ComSpec
14
	ifndef OSTYPE
13
ifndef OSTYPE
15
		OSTYPE = win
14
OSTYPE = win
16
	endif
15
endif
17
	EXE_EXT = .exe
16
EXE_EXT = .exe
18
else
17
else
19
	EXE_EXT =
18
EXE_EXT =
20
endif
19
endif
21
20
22
ifneq ($(OSTYPE),beos)
21
ifneq ($(OSTYPE),beos)
Lines 57-71 Link Here
57
	mimeset -f mp3gain$(EXE_EXT)
56
	mimeset -f mp3gain$(EXE_EXT)
58
endif
57
endif
59
58
60
install:
59
install: mp3gain
61
ifneq ($(OSTYPE),win)
60
ifneq ($(OSTYPE),win)
62
	cp -p mp3gain$(EXE_EXT) "$(INSTALL_PATH)"
61
	cp -p mp3gain$(EXE_EXT) "$(INSTALL_PATH)"
63
	ifeq ($(OSTYPE),beos)
62
ifeq ($(OSTYPE),beos)
64
		mimeset -f "$(INSTALL_PATH)/mp3gain$(EXE_EXT)"
63
	mimeset -f "$(INSTALL_PATH)/mp3gain$(EXE_EXT)"
65
	endif
64
endif
66
else
65
else
67
	@echo install target is not implemented on windows
66
	@echo install target is not implemented on windows
68
endif
67
endif
69
68
69
uninstall:
70
ifneq ($(OSTYPE),win)
71
	-rm -f "$(INSTALL_PATH)/mp3gain$(EXE_EXT)"
72
else
73
	@echo uninstall target is not implemented on windows
74
endif
75
70
clean: 
76
clean: 
71
	-rm -rf mp3gain$(EXE_EXT) $(OBJS) $(RC_OBJ)
77
	-rm -rf mp3gain$(EXE_EXT) mp3gain.zip $(OBJS) $(RC_OBJ)
78
79
dist:   clean
80
ifneq ($(OSTYPE),win)
81
ifneq ($(OSTYPE),beos)
82
	zip -r mp3gain.zip * -x "CVS/*" "*/CVS/*"
83
endif
84
else
85
	@echo dist target is not implemented on windows and beos
86
endif

Return to bug 331211