blob: f638be63006948d90ce0d25d3a9dd63b768fcc1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
Joerg Bornkessel <hd_brummy@g.o> 22 Okt 2009
Matthias Schwarzott <zzam@g.o> 23 Okt 2009
diff -Naur graphtft-24.orig/Makefile graphtft-24/Makefile
--- graphtft-24.orig/Makefile 2009-10-21 21:53:56.000000000 +0200
+++ graphtft-24/Makefile 2009-10-21 21:57:24.000000000 +0200
@@ -158,10 +158,10 @@
DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
ifdef HAVE_IMLIB
- LIBS += `imlib2-config --libs`
+ LIBS += $(shell imlib2-config --libs)
ifdef HAVE_IMAGE_MAGICK
- LIBS += `Magick++-config --libs`
+ LIBS += $(shell Magick++-config --libs)
DEFINES += -DHAVE_IMAGE_MAGICK
endif
@@ -170,8 +170,8 @@
endif
ifdef HAVE_GTOP
- GTOP_INC = `pkg-config libgtop-2.0 --cflags`
- GTOP_LIB = `pkg-config libgtop-2.0 --libs`
+ GTOP_INC = $(shell pkg-config libgtop-2.0 --cflags)
+ GTOP_LIB = $(shell pkg-config libgtop-2.0 --libs)
DEFINES += -DWITH_SYSINFO
LIBS += $(GTOP_LIB)
@@ -186,8 +186,8 @@
endif
ifdef HAVE_DFB
- INCLUDES += `directfb-config --cflags`
- LIBS += `directfb-config --libs`
+ INCLUDES += $(shell directfb-config --cflags)
+ LIBS += $(shell directfb-config --libs)
DEFINES += -DHAVE_DFB
endif
diff -Naur graphtft-24.orig/graphtft-fe/Makefile graphtft-24/graphtft-fe/Makefile
--- graphtft-24.orig/graphtft-fe/Makefile 2009-10-22 17:39:55.000000000 +0200
+++ graphtft-24/graphtft-fe/Makefile 2009-10-22 17:41:29.000000000 +0200
@@ -1,9 +1,9 @@
CXX = g++
CXXFLAGS = -pipe -ggdb -O2 -Wall -W -D_REENTRANT -fPIC
-INCPATH = -I. `Magick++-config --cppflags`
+INCPATH = -I. $(shell Magick++-config --cppflags)
LFLAGS = -Wl,--no-undefined
-LIBS = -lpthread `imlib2-config --libs` `Magick++-config --libs`
+LIBS = -lpthread $(shell imlib2-config --libs) $(shell Magick++-config --libs)
AR = ar
TARGET = graphtft-fe
diff -Naur graphtft-24.orig/graphtft-fe/Makefile graphtft-24/graphtft-fe/Makefile
--- graphtft-24.orig/graphtft-fe/Makefile 2009-10-23 16:20:43.000000000 +0200
+++ graphtft-24/graphtft-fe/Makefile 2009-10-23 16:21:20.000000000 +0200
@@ -17,7 +17,7 @@
all:
echo Build graphTFT Frontend
- @(make $(TARGET))
+ @$(MAKE) $(TARGET)
$(TARGET): $(OBJECTS)
|