patch-server_Makefile 852 B

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