summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-10-08 16:36:00 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-10-08 16:36:00 +0200
commitc4f42440f3a0cf2c6b4b62b188556f8868c73754 (patch)
treef0958445aa7a8f8d46ff98902669df752fdb782c
parent76f7b56c73ba495e38f79389de15d434b3f926bb (diff)
downloadptx-sisyphus-c4f42440f3a0cf2c6b4b62b188556f8868c73754.tar.gz
ptx-sisyphus-c4f42440f3a0cf2c6b4b62b188556f8868c73754.tar.xz
make it compile
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--GNUmakefile.am3
-rw-r--r--configure.ac5
-rw-r--r--include/ptx-sisyphusstuff.h4
-rw-r--r--src/GNUmakefile.am8
4 files changed, 10 insertions, 10 deletions
diff --git a/GNUmakefile.am b/GNUmakefile.am
index 7f8d6f8..28dbf2f 100644
--- a/GNUmakefile.am
+++ b/GNUmakefile.am
@@ -1,8 +1,7 @@
SUBDIRS = \
include \
config \
- src \
- tests
+ src
EXTRA_DIST = \
autogen.sh \
diff --git a/configure.ac b/configure.ac
index 526ec42..bd3331d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@ AC_PREREQ(2.59)
AC_INIT([ptx-sisyphus], [0.0.0], [bugs@pengutronix.de])
AC_CONFIG_HEADERS([include/ptx-sisyphus_config.h])
-AC_CONFIG_SRCDIR([src/ptx-sisyphus.c])
+AC_CONFIG_SRCDIR([src/alignment.c])
AC_CONFIG_MACRO_DIR([config/m4])
AC_CONFIG_AUX_DIR([config/autoconf])
AC_CANONICAL_BUILD
@@ -116,7 +116,7 @@ AC_ARG_ENABLE(debug,
[CONFIG_DEBUG=yes])
AC_MSG_RESULT([${CONFIG_DEBUG}])
if test "${CONFIG_DEBUG}" = "yes"; then
- CFLAGS="${CFLAGS} -Werror -Wsign-compare -Wfloat-equal -Wformat-security -g -O1"
+ CFLAGS="${CFLAGS} -Werror -Wformat-security -g -O1"
AC_DEFINE(DEBUG, 1, [debugging])
else
CFLAGS="${CFLAGS} -O2"
@@ -129,7 +129,6 @@ AC_CONFIG_FILES([
config/GNUmakefile
include/GNUmakefile
src/GNUmakefile
- tests/GNUmakefile
])
AC_OUTPUT
diff --git a/include/ptx-sisyphusstuff.h b/include/ptx-sisyphusstuff.h
index 91c4380..650deb8 100644
--- a/include/ptx-sisyphusstuff.h
+++ b/include/ptx-sisyphusstuff.h
@@ -1,5 +1,5 @@
-#ifndef PTX-SISYPHUS_H
-#define PTX-SISYPHUS_H
+#ifndef @NAME@_H
+#define @NAME@_H
#endif
diff --git a/src/GNUmakefile.am b/src/GNUmakefile.am
index 9fbaa6f..5bf6c50 100644
--- a/src/GNUmakefile.am
+++ b/src/GNUmakefile.am
@@ -1,6 +1,3 @@
-lib_LTLIBRARIES = \
- libptx-sisyphus.la
-
bin_PROGRAMS = \
alignment \
context-switches \
@@ -34,9 +31,14 @@ alignment_SOURCES = \
context_switches_SOURCES = \
context-switches.c
+context_switches_LDADD = \
+ -lrt
timeout_SOURCES = \
timeout.c
+memxfer_SOURCES = \
+ memxfer5b.c
+
MAINTAINERCLEANFILES = \
GNUmakefile.in