Permalink
Browse files

Move files from hardinfo2 to root.

  • Loading branch information...
lpereira committed May 3, 2010
1 parent 9a50155 commit 9273c075a2f993c5154614b70233d8f74515c851
Showing 421 changed files with 48 additions and 11 deletions.
File renamed without changes.
@@ -1,6 +1,12 @@
project(HardInfo)
cmake_minimum_required(VERSION 2.6)
set(HARDINFO_VERSION "0.5.2pre")
if(${CMAKE_BUILD_TYPE} MATCHES "Debug")
set(HARDINFO_DEBUG 1)
endif()
if(${CMAKE_HOST_SYSTEM_NAME} MATCHES "Linux")
set(HARDINFO_OS "linux")
else()
@@ -43,6 +49,7 @@ include_directories(
${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/includes
${CMAKE_SOURCE_DIR}/includes/${HARDINFO_ARCH}
${CMAKE_BINARY_DIR}
${GTK_INCLUDE_DIRS}
${LIBSOUP_INCLUDE_DIRS}
)
@@ -116,18 +123,18 @@ foreach (_module ${HARDINFO_MODULES})
add_library(${_module} MODULE ${MODULE_${_module}_SOURCES})
endforeach()
add_library(hardinfo-remote SHARED
add_library(hardinfo-remote STATIC
remote/remote.c
remote/ssh-conn.c
remote/xmlrpc-client.c
remote/xmlrpc-server.c
)
add_library(hardinfo-help-viewer SHARED
add_library(hardinfo-help-viewer STATIC
help-viewer/egg-markdown.c
help-viewer/help-viewer.c
help-viewer/markdown-text-view.c
)
add_library(hardinfo-shell SHARED
add_library(hardinfo-shell STATIC
shell/callbacks.c
shell/iconcache.c
shell/loadgraph.c
@@ -137,36 +144,31 @@ add_library(hardinfo-shell SHARED
shell/stock.c
shell/syncmanager.c
)
add_library(hardinfo-util SHARED
add_executable(hardinfo
util/binreloc.c
util/expr.c
util/socket.c
util/vendor.c
util/util.c
)
add_executable(hardinfo
hardinfo/hardinfo.c
)
target_link_libraries(hardinfo
${GTK_LIBRARIES}
${LIBSOUP_LIBRARIES}
hardinfo-shell
hardinfo-util
)
target_link_libraries(hardinfo-shell
hardinfo-help-viewer
hardinfo-remote
)
configure_file(config.h.cmake ${CMAKE_BINARY_DIR}/config.h @ONLY)
install(TARGETS hardinfo ${HARDINFO_MODULES}
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib/hardinfo/modules
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
install(TARGETS hardinfo-shell hardinfo-util hardinfo-help-viewer hardinfo-remote
LIBRARY DESTINATION lib
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
install(FILES ${HARDINFO_RESOURCES}
DESTINATION share/hardinfo
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
File renamed without changes.
View
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -0,0 +1,35 @@
#ifndef __CONFIG_H__
#define __CONFIG_H__
#define VERSION "@HARDINFO_VERSION@"
#define ARCH "ARCH_@HARDINFO_ARCH@"
#define OS "@HARDINFO_OS@"
#define PLATFORM OS "-" ARCH
#define KERNEL "@CMAKE_SYSTEM_VERSION@"
#define HOSTNAME ""
#define ARCH_@HARDINFO_ARCH@
#define LIBPREFIX "@CMAKE_INSTALL_PREFIX@/lib/hardinfo"
#define PREFIX "@CMAKE_INSTALL_PREFIX@/share/hardinfo"
#cmakedefine LIBSOUP_FOUND
#cmakedefine HARDINFO_DEBUG @HARDINFO_DEBUG@
#ifdef LIBSOUP_FOUND
# define HAS_LIBSOUP
#endif /* LIBSOUP_FOUND */
#if defined(HARDINFO_DEBUG) && (HARDINFO_DEBUG==1)
# define RELEASE 0
# define DEBUG(msg,...) fprintf(stderr, "*** %s:%d (%s) *** " msg "\n", \
__FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__)
#else
# define RELEASE 1
# define DEBUG(msg,...)
#endif /* HARDINFO_DEBUG */
#define ENABLE_BINRELOC 1
#define HAS_LINUX_WE 1
#endif /* __CONFIG_H__ */
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.

0 comments on commit 9273c07

Please sign in to comment.