aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Brault <alan.brault@incruentatus.net>2010-12-06 20:43:58 -0500
committerAlan Brault <alan.brault@incruentatus.net>2010-12-06 20:43:58 -0500
commitdbfca826b1f52f213593c9a2f19c2d83d4888029 (patch)
treec6746c410cffe29423e0769e3b8dd7a115430103 /src
parentd9e2ae58da07e99ebbfb07bf898c0c6dde975c16 (diff)
downloadNetNuke2-dbfca826b1f52f213593c9a2f19c2d83d4888029.tar.gz
More sysfsutils stuff but the linker is not working just yet
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
-rw-r--r--src/Makefile.in2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 47767f5..20ebdd4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,8 @@
AUTOMAKE_OPTIONS = foreign
+AM_CFLAGS=-Wall -O2 -I../include -I../sysfsutils/include -static
+AM_LDFLAGS=-lpthread -lrt
+
sbin_PROGRAMS= netnuke
netnuke_SOURCES= bus.c \
diff --git a/src/Makefile.in b/src/Makefile.in
index 48d737a..bcacb4c 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -150,6 +150,8 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = foreign
+AM_CFLAGS = -Wall -O2 -I../include -I../sysfsutils/include -static
+AM_LDFLAGS = -lpthread -lrt
netnuke_SOURCES = bus.c \
misc.c \
netnuke.c \