blob: a1a8747e78d6e6669d3950857bfb70eab2a40969 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- gkrellm-2.3.4.orig/server/Makefile 2008-10-03 23:52:48.000000000 +0200
+++ gkrellm-2.3.4/server/Makefile 2011-05-17 11:34:14.926610183 +0200
@@ -26,7 +26,7 @@ SMANDIR ?= $(INSTALLROOT)/share/man/man1
MANMODE ?= 644
MANDIRMODE ?= 755
INSTALL ?= install
-LINK_FLAGS ?= -Wl,-E
+LINK_FLAGS ?= -Wl,-E $(LDFLAGS)
EXTRAOBJS =
SHARED_PATH = ../shared
@@ -109,15 +109,15 @@ endif
override CC += -Wall $(FLAGS)
-OS_NAME=$(shell uname -s)
-OS_RELEASE=$(shell uname -r)
+OS_NAME=Linux
+OS_RELEASE=2.6
OBJS = main.o monitor.o mail.o plugins.o glib.o utils.o sysdeps-unix.o log.o
all: gkrellmd
gkrellmd: $(OBJS) $(EXTRAOBJS)
- $(CC) $(OBJS) $(EXTRAOBJS) -o gkrellmd $(LIBS) $(LINK_FLAGS)
+ $(CC) $(OBJS) $(EXTRAOBJS) -o gkrellmd $(LINK_FLAGS) $(LIBS)
static: $(OBJS) $(EXTRAOBJS)
$(CC) $(OBJS) $(EXTRAOBJS) -o gkrellmd.static -static \
|