diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2010-05-03 09:25:43 -0300 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2010-05-03 09:25:43 -0300 |
commit | 9a50155ec3e27aa6cedf3f118196f1947c769a29 (patch) | |
tree | c23cc6949b227b9e09432af038a44ccb81d92ce6 /hardinfo2/Makefile.in | |
parent | ca5a3e84296a34c2391374942001cfaf1d8395a6 (diff) |
Use CMake instead of ToscoConf.
Diffstat (limited to 'hardinfo2/Makefile.in')
-rw-r--r-- | hardinfo2/Makefile.in | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/hardinfo2/Makefile.in b/hardinfo2/Makefile.in deleted file mode 100644 index ab41e6bc..00000000 --- a/hardinfo2/Makefile.in +++ /dev/null @@ -1,75 +0,0 @@ - -CCFLAGS = -fPIC -pipe -Wall -Werror -g -CFLAGS = $(GTK_CFLAGS) $(SOUP_CFLAGS) -I. -CC = gcc $(ARCHOPTS) $(CCFLAGS) -CCSLOW = gcc -O0 $(CCFLAGS) - -# ---------------------------------------------------------------------------- - -OBJECTS = hardinfo.o shell.o util.o iconcache.o loadgraph.o \ - menu.o stock.o callbacks.o expr.o report.o binreloc.o \ - vendor.o socket.o syncmanager.o remote.o xmlrpc-server.o \ - xmlrpc-client.o ssh-conn.o egg-markdown.o markdown-text-view.o \ - help-viewer.o -BENCHMARK_OBJECTS = fbench.o sha1.o blowfish.o md5.o nqueens.o fftbench.o guibench.o - -MODULES = computer.so devices.so benchmark.so network.so - -all: hardinfo - -hardinfo: $(OBJECTS) $(MODULES) - $(CC) $(CCFLAGS) -o hardinfo -Wl,-export-dynamic $(OBJECTS) $(GTK_LIBS) \ - $(SOUP_LIBS) - -$(BENCHMARK_OBJECTS): - $(CCSLOW) $(CCFLAGS) $(CFLAGS) -c $*.c -o $@ - -benchmark.so: benchmark.c $(BENCHMARK_OBJECTS) - $(CC) $(CCFLAGS) $(CFLAGS) -o $@ -shared $< $(GTK_FLAGS) $(GTK_LIBS) $(BENCHMARK_OBJECTS) - -%.so: %.c - $(CC) $(CCFLAGS) $(CFLAGS) -o $@ -shared $< $(GTK_FLAGS) $(GTK_LIBS) - -clean: - rm -rf .xvpics pixmaps/.xvpics *.o *.so hardinfo report - find . -name \*~ -exec rm -v {} \; - find . -name x86 -type l -exec rm -v {} \; - -dist-clean: clean - rm -rf Makefile debian/hardinfo/ config.h arch/this - -package: dist-clean - @echo "Creating tar.gz..." - cd .. && tar czf $(PACKAGE).tar.gz $(PACKAGE)/* && cd $(PACKAGE) - @echo "Creating tar.bz2..." - cd .. && tar cjf $(PACKAGE).tar.bz2 $(PACKAGE)/* && cd $(PACKAGE) - -deb: dist-clean - @echo "Creating deb..." - dpkg-buildpackage -rfakeroot -k${USER} - -install: all - - rm -rf ${DESTDIR}${LIBDIR}/hardinfo/modules ${DESTDIR}/usr/share/hardinfo/pixmaps - - install -d ${DESTDIR}/usr/bin - install -d ${DESTDIR}/usr/local - install -d ${DESTDIR}/usr/share/applications - install -d ${DESTDIR}${LIBDIR}/hardinfo/modules - install -d ${DESTDIR}/usr/share/hardinfo/pixmaps - install -d ${DESTDIR}/usr/share/hardinfo/doc - - install -m 644 hardinfo.desktop ${DESTDIR}/usr/share/applications - install -m 755 hardinfo ${DESTDIR}/usr/bin/hardinfo - - install -m 755 ${MODULES} ${DESTDIR}${LIBDIR}/hardinfo/modules - install -m 644 pixmaps/* ${DESTDIR}/usr/share/hardinfo/pixmaps - install -m 644 doc/*.hlp ${DESTDIR}/usr/share/hardinfo/doc || true - install -m 644 doc/*.png ${DESTDIR}/usr/share/hardinfo/doc || true - - install -m 644 benchmark.conf ${DESTDIR}/usr/share/hardinfo - install -m 644 benchmark.data ${DESTDIR}/usr/share/hardinfo - -installer: - makepackage - |