Removed hardcoded gcc arguments. Converted remaining CFLAGS settings to
1999-02-15 Jeff Garzik <jgarzik@pobox.com> * examples/Makefile.am, lib/Makefile.am, src/daemon/Makefile.am, sysdeps/common/Makefile.am, sysdeps/guile/Makefile.am, sysdeps/guile/names/Makefile.am, sysdeps/kernel/Makefile.am, sysdeps/linux/Makefile.am, sysdeps/names/Makefile.am, sysdeps/osf1/Makefile.am, sysdeps/stub/Makefile.am, sysdeps/stub_suid/Makefile.am, sysdeps/sun4/Makefile.am: Removed hardcoded gcc arguments. Converted remaining CFLAGS settings to use correct INCLUDES. * include/glibtop/error.h: Added FIXME comment about varargs macros breaking Sun cc compilation.
This commit is contained in:
15
ChangeLog
15
ChangeLog
@@ -1,3 +1,18 @@
|
||||
1999-02-15 Jeff Garzik <jgarzik@pobox.com>
|
||||
|
||||
* examples/Makefile.am, lib/Makefile.am, src/daemon/Makefile.am,
|
||||
sysdeps/common/Makefile.am, sysdeps/guile/Makefile.am,
|
||||
sysdeps/guile/names/Makefile.am, sysdeps/kernel/Makefile.am,
|
||||
sysdeps/linux/Makefile.am, sysdeps/names/Makefile.am,
|
||||
sysdeps/osf1/Makefile.am, sysdeps/stub/Makefile.am,
|
||||
sysdeps/stub_suid/Makefile.am, sysdeps/sun4/Makefile.am:
|
||||
Removed hardcoded gcc arguments.
|
||||
Converted remaining CFLAGS settings to use correct INCLUDES.
|
||||
|
||||
* include/glibtop/error.h:
|
||||
Added FIXME comment about varargs macros breaking Sun cc
|
||||
compilation.
|
||||
|
||||
1999-02-12 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
Thanks to Frederic Devernay for pointing out that we need to define
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||
|
||||
CFLAGS = -Wall -W @CFLAGS@ -O0
|
||||
INCLUDES = -O0
|
||||
|
||||
DEFS = @DEFS@
|
||||
|
||||
|
@@ -26,6 +26,11 @@
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
/*
|
||||
* FIXME: varargs macros only supported on gcc.
|
||||
* Breaks Sun CC, maybe others.
|
||||
*/
|
||||
|
||||
#define glibtop_error(p1, args...) glibtop_error_r(glibtop_global_server , p1 , ## args)
|
||||
#define glibtop_warn(p1, args...) glibtop_warn_r(glibtop_global_server , p1 , ## args)
|
||||
|
||||
|
@@ -1,7 +1,5 @@
|
||||
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||
|
||||
CFLAGS = -Wall -W @CFLAGS@
|
||||
|
||||
lib_LTLIBRARIES = libgtop.la
|
||||
|
||||
libgtop_la_SOURCES = init.c open.c close.c command.c read.c \
|
||||
|
@@ -14,7 +14,7 @@
|
||||
|
||||
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||
|
||||
CFLAGS = -Wall -W @CFLAGS@ -D_BSD
|
||||
INCLUDES = -D_BSD
|
||||
|
||||
if NEED_LIBGTOP
|
||||
suid_sysdeps = $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps_suid.la
|
||||
|
@@ -8,7 +8,7 @@ inodedb_SRCLIST =
|
||||
inodedb_DEFS =
|
||||
endif
|
||||
|
||||
CFLAGS = -Wall -W @CFLAGS@ $(inodedb_DEFS)
|
||||
INCLUDES = $(inodedb_DEFS)
|
||||
|
||||
lib_LTLIBRARIES = libgtop_common.la libgtop_suid_common.la
|
||||
|
||||
|
@@ -2,8 +2,6 @@ SUBDIRS = names
|
||||
|
||||
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||
|
||||
CFLAGS = -Wall -W @CFLAGS@
|
||||
|
||||
BUILT_SOURCES = guile.c guile.x
|
||||
|
||||
lib_LTLIBRARIES = libgtop_guile.la
|
||||
|
@@ -1,7 +1,5 @@
|
||||
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||
|
||||
CFLAGS = -Wall -W @CFLAGS@
|
||||
|
||||
lib_LTLIBRARIES = libgtop_guile_names.la
|
||||
|
||||
BUILT_SOURCES = guile-names.c guile-names.x
|
||||
|
@@ -1,7 +1,5 @@
|
||||
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||
|
||||
CFLAGS = -Wall -W @CFLAGS@
|
||||
|
||||
lib_LTLIBRARIES = libgtop_sysdeps.la
|
||||
|
||||
libgtop_sysdeps_la_SOURCES = open.c close.c kernel.s cpu.c mem.c swap.c \
|
||||
|
@@ -1,7 +1,5 @@
|
||||
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||
|
||||
CFLAGS = -Wall -W @CFLAGS@
|
||||
|
||||
lib_LTLIBRARIES = libgtop_sysdeps.la
|
||||
|
||||
libgtop_sysdeps_la_SOURCES = open.c close.c cpu.c mem.c swap.c \
|
||||
|
@@ -1,7 +1,5 @@
|
||||
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||
|
||||
CFLAGS = -Wall -W @CFLAGS@
|
||||
|
||||
lib_LTLIBRARIES = libgtop_names.la
|
||||
|
||||
libgtop_names_la_SOURCES = cpu.c mem.c swap.c uptime.c loadavg.c \
|
||||
|
@@ -1,7 +1,5 @@
|
||||
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||
|
||||
CFLAGS = -Wall -W @CFLAGS@
|
||||
|
||||
lib_LTLIBRARIES = libgtop_sysdeps.la libgtop_sysdeps_suid.la
|
||||
|
||||
libgtop_sysdeps_la_SOURCES = open.c close.c siglist.c cpu.c mem.c swap.c \
|
||||
|
@@ -1,7 +1,5 @@
|
||||
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||
|
||||
CFLAGS = -Wall -W @CFLAGS@
|
||||
|
||||
lib_LTLIBRARIES = libgtop_sysdeps.la
|
||||
|
||||
libgtop_sysdeps_la_SOURCES = open.c close.c siglist.c cpu.c mem.c swap.c \
|
||||
|
@@ -1,7 +1,5 @@
|
||||
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||
|
||||
CFLAGS = -Wall -W @CFLAGS@
|
||||
|
||||
lib_LTLIBRARIES = libgtop_sysdeps.la libgtop_sysdeps_suid.la
|
||||
|
||||
libgtop_sysdeps_la_SOURCES = nosuid.c siglist.c
|
||||
|
@@ -1,7 +1,5 @@
|
||||
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||
|
||||
CFLAGS = -Wall -W @CFLAGS@
|
||||
|
||||
lib_LTLIBRARIES = libgtop_sysdeps.la libgtop_sysdeps_suid.la
|
||||
|
||||
libgtop_sysdeps_la_SOURCES = nosuid.c siglist.c
|
||||
|
Reference in New Issue
Block a user