Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 227163
Collapse All | Expand All

(-)graphlcd-base-0.1.5.orig/glcddrivers/Makefile (-2 / +2 lines)
Lines 20-30 Link Here
20
20
21
21
22
### Implicit rules:
22
### Implicit rules:
23
23
24
%.o: %.c
24
%.o: %.c
25
	$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
25
	$(CXX) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $<
26
26
27
# Dependencies:
27
# Dependencies:
28
28
29
MAKEDEP = g++ -MM -MG
29
MAKEDEP = g++ -MM -MG
30
DEPFILE = .dependencies
30
DEPFILE = .dependencies
Lines 36-46 Link Here
36
### Targets:
36
### Targets:
37
37
38
all: $(LIBNAME)
38
all: $(LIBNAME)
39
39
40
$(LIBNAME): $(OBJS)
40
$(LIBNAME): $(OBJS)
41
	$(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -ldl -lpthread -Wl,-soname="$(BASENAME).$(VERMAJOR)" -o $@
41
	$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -ldl -lpthread -Wl,-soname="$(BASENAME).$(VERMAJOR)" -o $@
42
	ln -sf $(LIBNAME) $(BASENAME)
42
	ln -sf $(LIBNAME) $(BASENAME)
43
43
44
install: all
44
install: all
45
	install -d $(LIBDIR)
45
	install -d $(LIBDIR)
46
	install -m 755 $(LIBNAME) $(LIBDIR)/
46
	install -m 755 $(LIBNAME) $(LIBDIR)/
(-)graphlcd-base-0.1.5.orig/glcdgraphics/Makefile (-2 / +2 lines)
Lines 19-29 Link Here
19
HEADERS = bitmap.h font.h glcd.h image.h imagefile.h pbm.h
19
HEADERS = bitmap.h font.h glcd.h image.h imagefile.h pbm.h
20
20
21
### Implicit rules:
21
### Implicit rules:
22
22
23
%.o: %.c
23
%.o: %.c
24
	$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
24
	$(CXX) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $<
25
25
26
# Dependencies:
26
# Dependencies:
27
27
28
MAKEDEP = g++ -MM -MG
28
MAKEDEP = g++ -MM -MG
29
DEPFILE = .dependencies
29
DEPFILE = .dependencies
Lines 44-54 Link Here
44
endif### Targets:
44
endif### Targets:
45
45
46
all: $(LIBNAME)
46
all: $(LIBNAME)
47
47
48
$(LIBNAME): $(OBJS)
48
$(LIBNAME): $(OBJS)
49
	$(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -Wl,-soname="$(BASENAME).$(VERMAJOR)" -o $@
49
	$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -Wl,-soname="$(BASENAME).$(VERMAJOR)" -o $@
50
	ln -sf $(LIBNAME) $(BASENAME)
50
	ln -sf $(LIBNAME) $(BASENAME)
51
51
52
install: all
52
install: all
53
	install -d $(LIBDIR)
53
	install -d $(LIBDIR)
54
	install -m 755 $(LIBNAME) $(LIBDIR)/
54
	install -m 755 $(LIBNAME) $(LIBDIR)/
(-)graphlcd-base-0.1.5.orig/tools/convpic/Makefile (-2 / +2 lines)
Lines 16-26 Link Here
16
.PHONY: all
16
.PHONY: all
17
17
18
# Implicit rules:
18
# Implicit rules:
19
19
20
%.o: %.c
20
%.o: %.c
21
	$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
21
	$(CXX) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $<
22
22
23
# Dependencies:
23
# Dependencies:
24
24
25
MAKEDEP = $(CXX) -MM -MG
25
MAKEDEP = $(CXX) -MM -MG
26
DEPFILE = .dependencies
26
DEPFILE = .dependencies
Lines 30-40 Link Here
30
-include $(DEPFILE)
30
-include $(DEPFILE)
31
31
32
# The main program:
32
# The main program:
33
33
34
$(PRGNAME): $(OBJS)
34
$(PRGNAME): $(OBJS)
35
	$(CXX) $(CXXFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcdgraphics -lstdc++ -o $(PRGNAME)
35
	$(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcdgraphics -lstdc++ -o $(PRGNAME)
36
36
37
install: $(PRGNAME)
37
install: $(PRGNAME)
38
	install -d $(BINDIR)
38
	install -d $(BINDIR)
39
	install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
39
	install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
40
40
(-)graphlcd-base-0.1.5.orig/tools/crtfont/Makefile (-2 / +2 lines)
Lines 15-25 Link Here
15
.PHONY: all
15
.PHONY: all
16
16
17
# Implicit rules:
17
# Implicit rules:
18
18
19
%.o: %.c
19
%.o: %.c
20
	$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
20
	$(CXX) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $<
21
21
22
# Dependencies:
22
# Dependencies:
23
23
24
MAKEDEP = $(CXX) -MM -MG
24
MAKEDEP = $(CXX) -MM -MG
25
DEPFILE = .dependencies
25
DEPFILE = .dependencies
Lines 40-50 Link Here
40
endif### Targets:
40
endif### Targets:
41
41
42
# The main program:
42
# The main program:
43
43
44
$(PRGNAME): $(OBJS)
44
$(PRGNAME): $(OBJS)
45
	$(CXX) $(CXXFLAGS) -rdynamic $(OBJS) $(LIBDIRS) -lglcdgraphics -lstdc++ -o $(PRGNAME)
45
	$(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic $(OBJS) $(LIBDIRS) -lglcdgraphics -lstdc++ -o $(PRGNAME)
46
46
47
install: $(PRGNAME)
47
install: $(PRGNAME)
48
	install -d $(BINDIR)
48
	install -d $(BINDIR)
49
	install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
49
	install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
50
50
(-)graphlcd-base-0.1.5.orig/tools/genfont/Makefile (-2 / +2 lines)
Lines 18-28 Link Here
18
.PHONY: all
18
.PHONY: all
19
19
20
# Implicit rules:
20
# Implicit rules:
21
21
22
%.o: %.c
22
%.o: %.c
23
	$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
23
	$(CXX) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $<
24
24
25
# Dependencies:
25
# Dependencies:
26
26
27
MAKEDEP = $(CXX) -MM -MG
27
MAKEDEP = $(CXX) -MM -MG
28
DEPFILE = .dependencies
28
DEPFILE = .dependencies
Lines 32-42 Link Here
32
-include $(DEPFILE)
32
-include $(DEPFILE)
33
33
34
# The main program:
34
# The main program:
35
35
36
$(PRGNAME): $(OBJS)
36
$(PRGNAME): $(OBJS)
37
	$(CXX) $(CXXFLAGS) -rdynamic $(OBJS) $(LIBDIRS) $(LIBS) -lglcdgraphics -lstdc++ -o $(PRGNAME)
37
	$(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic $(OBJS) $(LIBDIRS) $(LIBS) -lglcdgraphics -lstdc++ -o $(PRGNAME)
38
38
39
install: $(PRGNAME)
39
install: $(PRGNAME)
40
	install -d $(BINDIR)
40
	install -d $(BINDIR)
41
	install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
41
	install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
42
	
42
	
(-)graphlcd-base-0.1.5.orig/tools/lcdtestpattern/Makefile (-2 / +2 lines)
Lines 16-26 Link Here
16
.PHONY: all
16
.PHONY: all
17
17
18
# Implicit rules:
18
# Implicit rules:
19
19
20
%.o: %.c
20
%.o: %.c
21
	$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
21
	$(CXX) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $<
22
22
23
# Dependencies:
23
# Dependencies:
24
24
25
MAKEDEP = $(CXX) -MM -MG
25
MAKEDEP = $(CXX) -MM -MG
26
DEPFILE = .dependencies
26
DEPFILE = .dependencies
Lines 41-51 Link Here
41
endif### Targets:
41
endif### Targets:
42
42
43
# The main program:
43
# The main program:
44
44
45
$(PRGNAME): $(OBJS)
45
$(PRGNAME): $(OBJS)
46
	$(CXX) $(CXXFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcdgraphics -lglcddrivers -lstdc++ -o $(PRGNAME)
46
	$(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcdgraphics -lglcddrivers -lstdc++ -o $(PRGNAME)
47
47
48
install: $(PRGNAME)
48
install: $(PRGNAME)
49
	install -d $(BINDIR)
49
	install -d $(BINDIR)
50
	install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
50
	install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
51
51
(-)graphlcd-base-0.1.5.orig/tools/showpic/Makefile (-2 / +2 lines)
Lines 16-26 Link Here
16
.PHONY: all
16
.PHONY: all
17
17
18
# Implicit rules:
18
# Implicit rules:
19
19
20
%.o: %.c
20
%.o: %.c
21
	$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
21
	$(CXX) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $<
22
22
23
# Dependencies:
23
# Dependencies:
24
24
25
MAKEDEP = $(CXX) -MM -MG
25
MAKEDEP = $(CXX) -MM -MG
26
DEPFILE = .dependencies
26
DEPFILE = .dependencies
Lines 41-51 Link Here
41
endif### Targets:
41
endif### Targets:
42
42
43
# The main program:
43
# The main program:
44
44
45
$(PRGNAME): $(OBJS)
45
$(PRGNAME): $(OBJS)
46
	$(CXX) $(CXXFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcdgraphics -lglcddrivers -lstdc++ -o $(PRGNAME)
46
	$(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcdgraphics -lglcddrivers -lstdc++ -o $(PRGNAME)
47
47
48
install: $(PRGNAME)
48
install: $(PRGNAME)
49
	install -d $(BINDIR)
49
	install -d $(BINDIR)
50
	install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
50
	install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
51
51
(-)graphlcd-base-0.1.5.orig/tools/showtext/Makefile (-2 / +2 lines)
Lines 16-26 Link Here
16
.PHONY: all
16
.PHONY: all
17
17
18
# Implicit rules:
18
# Implicit rules:
19
19
20
%.o: %.c
20
%.o: %.c
21
	$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
21
	$(CXX) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $<
22
22
23
# Dependencies:
23
# Dependencies:
24
24
25
MAKEDEP = $(CXX) -MM -MG
25
MAKEDEP = $(CXX) -MM -MG
26
DEPFILE = .dependencies
26
DEPFILE = .dependencies
Lines 41-51 Link Here
41
endif### Targets:
41
endif### Targets:
42
42
43
# The main program:
43
# The main program:
44
44
45
$(PRGNAME): $(OBJS)
45
$(PRGNAME): $(OBJS)
46
	$(CXX) $(CXXFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcdgraphics -lglcddrivers -lstdc++ -o $(PRGNAME)
46
	$(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcdgraphics -lglcddrivers -lstdc++ -o $(PRGNAME)
47
47
48
install: $(PRGNAME)
48
install: $(PRGNAME)
49
	install -d $(BINDIR)
49
	install -d $(BINDIR)
50
	install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
50
	install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
51
51

Return to bug 227163