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

Collapse All | Expand All

(-)file_not_specified_in_diff (-6 / +6 lines)
Line  Link Here
0
-- a/source/Makefile
0
++ b/source/Makefile
Lines 6-15 LIB := libshellfm.so Link Here
6
STATIC	:= libshellfm.a
6
STATIC	:= libshellfm.a
7
7
8
ifeq ($(shell uname -s), OpenBSD)
8
ifeq ($(shell uname -s), OpenBSD)
9
	LDFLAGS += -lossaudio
9
	LIBRARIES += -lossaudio
10
endif
10
endif
11
ifeq ($(shell uname -s), NetBSD)
11
ifeq ($(shell uname -s), NetBSD)
12
	LDFLAGS += -lossaudio
12
	LIBRARIES += -lossaudio
13
endif
13
endif
14
ifeq ($(shell uname -s), Darwin)
14
ifeq ($(shell uname -s), Darwin)
15
	CFLAGS += -D__darwin__
15
	CFLAGS += -D__darwin__
Lines 18-29 endif Link Here
18
CFLAGS  += -Os -Wall -W -I./include/ -DLIBAO \
18
CFLAGS  += -Os -Wall -W -I./include/ -DLIBAO \
19
	   $(shell pkg-config --cflags mad) \
19
	   $(shell pkg-config --cflags mad) \
20
	   $(shell pkg-config --cflags ao)
20
	   $(shell pkg-config --cflags ao)
21
LDFLAGS += $(shell pkg-config --libs mad) \
21
LIBRARIES += $(shell pkg-config --libs mad) \
22
	   $(shell pkg-config --libs ao)
22
	   $(shell pkg-config --libs ao)
23
23
24
ifeq ($(shell pkg-config --exists taglib_c && echo 1), 1)
24
ifeq ($(shell pkg-config --exists taglib_c && echo 1), 1)
25
	CFLAGS  += $(shell pkg-config --cflags taglib_c) -DTAGLIB
25
	CFLAGS  += $(shell pkg-config --cflags taglib_c) -DTAGLIB
26
	LDFLAGS += $(shell pkg-config --libs taglib_c)
26
	LIBRARIES += $(shell pkg-config --libs taglib_c)
27
endif
27
endif
28
28
29
.PHONY: clean tags cscope
29
.PHONY: clean tags cscope
Lines 40-46 $(STATIC) : $(OBJECT) Link Here
40
	$(AR) -cvq $(STATIC) $(OBJECT)
40
	$(AR) -cvq $(STATIC) $(OBJECT)
41
41
42
$(BINARY)	: $(STATIC)
42
$(BINARY)	: $(STATIC)
43
	$(CC) -o $(BINARY) $(CFLAGS) $(MAIN) $(LDFLAGS) $(STATIC)
43
	$(CC) $(CFLAGS) $(LDFLAGS) $(MAIN) $(STATIC) $(LIBRARIES) -o $(BINARY)
44
44
45
clean		:
45
clean		:
46
	rm -f $(OBJECT) $(BINARY) $(LIB) $(STATIC)
46
	rm -f $(OBJECT) $(BINARY) $(LIB) $(STATIC)

Return to bug 286662