diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-05-20 14:41:28 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-05-20 14:41:28 +0000 |
commit | 7b3c726991f0f060ca18c576fc7816b930435240 (patch) | |
tree | 1b6e5c7396fd89cd81baa018af6080c5349e1c6b /hardinfo2/Makefile.in | |
parent | cbd8b0d401add58a06d82c7a5d7fb22b53d80714 (diff) |
- Add binreloc support.
- Add users information.
- Add ppc64 and mips64 support.
- Fix loadgraph autoscaling (should be usable now! :)
- Misc cosmetic changes.
- Misc wording changes.
Diffstat (limited to 'hardinfo2/Makefile.in')
-rw-r--r-- | hardinfo2/Makefile.in | 41 |
1 files changed, 36 insertions, 5 deletions
diff --git a/hardinfo2/Makefile.in b/hardinfo2/Makefile.in index a2496199..032b2629 100644 --- a/hardinfo2/Makefile.in +++ b/hardinfo2/Makefile.in @@ -1,12 +1,12 @@ -CC = gcc -fPIC -pipe -O3 $(ARCHOPTS) -CCSLOW = gcc -fPIC -pipe -O0 -CFLAGS = -Wall -g $(GTK_CFLAGS) $(GLADE_CFLAGS) -I. +CC = gcc -O3 $(ARCHOPTS) +CCSLOW = gcc -O0 +CFLAGS = -fPIC -pipe -Wall -g $(GTK_CFLAGS) $(GLADE_CFLAGS) -I. # ---------------------------------------------------------------------------- OBJECTS = hardinfo.o shell.o util.o iconcache.o loadgraph.o sha1.o md5.o \ - menu.o stock.o callbacks.o expr.o report.o blowfish.o + menu.o stock.o callbacks.o expr.o report.o blowfish.o binreloc.o MODULES = computer.so devices.so benchmark.so all: $(OBJECTS) $(MODULES) @@ -26,7 +26,7 @@ sha1.o: @echo "[01;34m--- Module: $< ($@)[00m" $(CC) $(CFLAGS) -o $@ -shared $< $(GTK_FLAGS) $(GTK_LIBS) \ $(GLADE_LIBS) $(GLADE_FLAGS) - mv $@ modules + mv -f $@ modules clean: rm -rf .xvpics pixmaps/.xvpics *.o *.so hardinfo modules/*.so report @@ -46,3 +46,34 @@ deb: dist-clean @echo "Creating deb..." dpkg-buildpackage -rfakeroot -k${USER} +install: all + @echo '[01;34m*** Creating directories...[00m' + mkdir -p ${DESTDIR}/usr/bin + mkdir -p ${DESTDIR}/usr/local + mkdir -p ${DESTDIR}/usr/share/applications + mkdir -p ${DESTDIR}/usr/lib/hardinfo/modules + mkdir -p ${DESTDIR}/usr/share/hardinfo/pixmaps + + @echo '[01;34m*** Installing icon...[00m' + cp hardinfo.desktop ${DESTDIR}/usr/share/applications + + @echo '[01;34m*** Installing executable...[00m' + cp hardinfo ${DESTDIR}/usr/bin/hardinfo + + @echo '[01;34m*** Installing modules...[00m' + cp -r modules/*.so ${DESTDIR}/usr/lib/hardinfo/modules + + @echo '[01;34m*** Installing pixmaps...[00m' + cp -r pixmaps/* ${DESTDIR}/usr/share/hardinfo/pixmaps + + @echo '[01;34m*** Installing misc data...[00m' + cp uidefs.xml ${DESTDIR}/usr/share/hardinfo + cp modules.conf ${DESTDIR}/usr/share/hardinfo + cp benchmark.conf ${DESTDIR}/usr/share/hardinfo + cp benchmark.data ${DESTDIR}/usr/share/hardinfo + + @echo '[01;34m*** Fixing permissions...[00m' + chmod -R 755 ${DESTDIR}/usr/share/hardinfo + chmod 755 ${DESTDIR}/usr/bin/hardinfo + + @echo '[01;34m*** Done installing.[00m' |