summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucian Muresan <lucianm@users.sourceforge.net>2013-02-22 20:18:47 +0100
committerLucian Muresan <lucianm@users.sourceforge.net>2013-02-22 20:18:47 +0100
commit008fb421980c4aa2e76b51093e7678c0661d127d (patch)
treea4b4938c585804bcd4a8d2099cda94ec5227afed
parentc37e9b482fd9c8a610ea232bb1c6d7b45e248e6c (diff)
downloadgraphlcd-base-008fb421980c4aa2e76b51093e7678c0661d127d.tar.gz
graphlcd-base-008fb421980c4aa2e76b51093e7678c0661d127d.tar.bz2
stripping of binaries can easily be disasbled if necessary
-rw-r--r--Make.config8
-rw-r--r--README4
-rw-r--r--tools/convpic/Makefile2
-rw-r--r--tools/crtfont/Makefile2
-rw-r--r--tools/genfont/Makefile2
-rw-r--r--tools/lcdtestpattern/Makefile2
-rw-r--r--tools/showpic/Makefile2
-rw-r--r--tools/showtext/Makefile2
8 files changed, 16 insertions, 8 deletions
diff --git a/Make.config b/Make.config
index f6a668f..47ac372 100644
--- a/Make.config
+++ b/Make.config
@@ -51,12 +51,20 @@ MANDIR = $(DESTDIR)/man
DEFINES += -D_GNU_SOURCE
+
+#
+#
+# Build & install configuration
+
# comment this variable out if you don't want to use FreeType2 font rendering
HAVE_FREETYPE2=1
# comment this variable out if you don't want to use fontconfig font names
HAVE_FONTCONFIG=1
+# comment this if you do not want to have the binaries pre-stripped on 'make install'
+PRESTRIP = -s
+
# uncomment one of the following two lines if you want either GraphicsMagick/ImageMagick support
#HAVE_IMAGEMAGICK=1
#HAVE_GRAPHICSMAGICK=1
diff --git a/README b/README
index 3256627..7117d43 100644
--- a/README
+++ b/README
@@ -66,8 +66,8 @@ Installation and Configuration:
tar xzf graphlcd-base-0.1.2.tgz
-2. Configure if you want FreeType2 support by commenting/uncommenting
- HAVE_FREETYPE2 in Make.config.
+2. Configure the package to your needs, by following the comments in the
+ "Build & install configuration" section in Make.config.
3. Compile the libraries and tools.
diff --git a/tools/convpic/Makefile b/tools/convpic/Makefile
index 93cdd71..771bc3e 100644
--- a/tools/convpic/Makefile
+++ b/tools/convpic/Makefile
@@ -36,7 +36,7 @@ $(PRGNAME): $(OBJS)
install: $(PRGNAME)
install -d $(BINDIR)
- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
+ install -m 755 -o root -g root $(PRESTRIP) $(PRGNAME) $(BINDIR)
uninstall:
rm -f $(BINDIR)/$(PRGNAME)
diff --git a/tools/crtfont/Makefile b/tools/crtfont/Makefile
index 815ea2e..a9741c0 100644
--- a/tools/crtfont/Makefile
+++ b/tools/crtfont/Makefile
@@ -35,7 +35,7 @@ $(PRGNAME): $(OBJS)
install: $(PRGNAME)
install -d $(BINDIR)
- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
+ install -m 755 -o root -g root $(PRESTRIP) $(PRGNAME) $(BINDIR)
uninstall:
rm -f $(BINDIR)/$(PRGNAME)
diff --git a/tools/genfont/Makefile b/tools/genfont/Makefile
index 20cab12..0bd2279 100644
--- a/tools/genfont/Makefile
+++ b/tools/genfont/Makefile
@@ -38,7 +38,7 @@ $(PRGNAME): $(OBJS)
install: $(PRGNAME)
install -d $(BINDIR)
- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
+ install -m 755 -o root -g root $(PRESTRIP) $(PRGNAME) $(BINDIR)
uninstall:
rm -f $(BINDIR)/$(PRGNAME)
diff --git a/tools/lcdtestpattern/Makefile b/tools/lcdtestpattern/Makefile
index 9b7b905..29af7fc 100644
--- a/tools/lcdtestpattern/Makefile
+++ b/tools/lcdtestpattern/Makefile
@@ -36,7 +36,7 @@ $(PRGNAME): $(OBJS)
install: $(PRGNAME)
install -d $(BINDIR)
- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
+ install -m 755 -o root -g root $(PRESTRIP) $(PRGNAME) $(BINDIR)
uninstall:
rm -f $(BINDIR)/$(PRGNAME)
diff --git a/tools/showpic/Makefile b/tools/showpic/Makefile
index 93c039a..6bb2bc2 100644
--- a/tools/showpic/Makefile
+++ b/tools/showpic/Makefile
@@ -36,7 +36,7 @@ $(PRGNAME): $(OBJS)
install: $(PRGNAME)
install -d $(BINDIR)
- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
+ install -m 755 -o root -g root $(PRESTRIP) $(PRGNAME) $(BINDIR)
uninstall:
rm -f $(BINDIR)/$(PRGNAME)
diff --git a/tools/showtext/Makefile b/tools/showtext/Makefile
index 542482a..139d2e8 100644
--- a/tools/showtext/Makefile
+++ b/tools/showtext/Makefile
@@ -36,7 +36,7 @@ $(PRGNAME): $(OBJS)
install: $(PRGNAME)
install -d $(BINDIR)
- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
+ install -m 755 -o root -g root $(PRESTRIP) $(PRGNAME) $(BINDIR)
uninstall:
rm -f $(BINDIR)/$(PRGNAME)