aboutsummaryrefslogtreecommitdiffstats
path: root/fb
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2005-02-16 16:52:00 +0000
committerFlorent Villard <warly@mandriva.com>2005-02-16 16:52:00 +0000
commit31bf1c63e12f7f5251cdb02d726d466732191f97 (patch)
treedaab5496cace174eff56c800390b143fd42bcd10 /fb
parent481cc08bc029573587a2d87c41fcf598af217046 (diff)
downloadbootsplash-31bf1c63e12f7f5251cdb02d726d466732191f97.tar
bootsplash-31bf1c63e12f7f5251cdb02d726d466732191f97.tar.gz
bootsplash-31bf1c63e12f7f5251cdb02d726d466732191f97.tar.bz2
bootsplash-31bf1c63e12f7f5251cdb02d726d466732191f97.tar.xz
bootsplash-31bf1c63e12f7f5251cdb02d726d466732191f97.zip
add last beta 2 changes for animations and fbmenu
Diffstat (limited to 'fb')
-rw-r--r--fb/Makefile21
1 files changed, 16 insertions, 5 deletions
diff --git a/fb/Makefile b/fb/Makefile
index c7c218b..9613f53 100644
--- a/fb/Makefile
+++ b/fb/Makefile
@@ -2,12 +2,14 @@
VERSION := 0.1.1
prefix=/usr/
-bindir=$(prefix)/bin
+mbindir=$(prefix)/bin
+bindir=$(prefix)/usr/bin
+libdir=$(prefix)/usr/lib
CFLAGS=-g -O2 -Wall \
-DVERSION='"$(VERSION)"'
-PROGS=progress fbresolution
+PROGS=progress fbresolution fbmenu
all: $(PROGS)
@@ -17,13 +19,22 @@ check:
fbresolution: fbresolution.c
$(CC) $(CFLAGS) -o $@ fbresolution.c
+xmenu: fbmenu.c
+ gcc -I/usr/include/gtk-2.0/ -I/usr/lib/gtk-2.0/include/ -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/freetype2 -I/usr/include/freetype2/freetype2/config -I/usr/include/atk-1.0 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -O2 -Wall -lgtk-x11-2.0 -o xmenu fbmenu.c;
+
+fbmenu: fbmenu.c
+ gcc -I/usr/include/gtk-2.0/ -I/usr/lib/gtk-2.0/include/ -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/freetype2 -I/usr/include/freetype2/freetype2/config -I/usr/include/atk-1.0 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -O2 -Wall libgtk-linux-fb-2.0.so -o fbmenu fbmenu.c;
+
progress: progress.c
$(CC) $(CFLAGS) $(FSFLAGS) -o $@ progress.c
install:
- mkdir -p $(bindir)
- install -s -m755 progress $(bindir)
- install -m755 fbresolution $(bindir)
+ mkdir -p $(bindir) $(mbindir) $(libdir)
+ install -s -m755 progress $(mbindir)
+ install -m755 fbresolution $(mbindir)
+ install -m755 libgdk-linux-fb-2.0.so.0.400.14 $(libdir)
+ install -m755 fbmenu $(bindir)
+ install -m755 libgtk-linux-fb-2.0.so.0.400.14 $(libdir)
clean:
rm -f *~ *.o *.bak core $(PROGS)