|
version 1.1, 2012/02/21 16:23:02
|
version 1.1.1.3, 2012/10/09 09:29:52
|
|
Line 24 devdir = @devdir@
|
Line 24 devdir = @devdir@
|
| top_builddir = @top_builddir@ |
top_builddir = @top_builddir@ |
| top_srcdir = @top_srcdir@ |
top_srcdir = @top_srcdir@ |
| incdir = $(top_srcdir)/include |
incdir = $(top_srcdir)/include |
| |
cross_compiling = @CROSS_COMPILING@ |
| |
|
| |
# Where to install things... |
| |
prefix = @prefix@ |
| |
exec_prefix = @exec_prefix@ |
| |
bindir = @bindir@ |
| |
sbindir = @sbindir@ |
| |
sysconfdir = @sysconfdir@ |
| |
libexecdir = @libexecdir@ |
| |
datarootdir = @datarootdir@ |
| |
localstatedir = @localstatedir@ |
| |
|
| # Compiler & tools to use |
# Compiler & tools to use |
| CC = @CC@ |
CC = @CC@ |
| LIBTOOL = @LIBTOOL@ |
LIBTOOL = @LIBTOOL@ |
|
Line 35 CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(top_srcdi
|
Line 46 CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(top_srcdi
|
| # Usually -O and/or -g |
# Usually -O and/or -g |
| CFLAGS = @CFLAGS@ |
CFLAGS = @CFLAGS@ |
| |
|
| |
# PIE flags |
| |
PIE_CFLAGS = @PIE_CFLAGS@ |
| |
PIE_LDFLAGS = @PIE_LDFLAGS@ |
| |
|
| # OS dependent defines |
# OS dependent defines |
| DEFS = @OSDEFS@ | DEFS = @OSDEFS@ -D_PATH_SUDO_CONF=\"$(sysconfdir)/sudo.conf\" |
| |
|
| #### End of system configuration section. #### |
#### End of system configuration section. #### |
| |
|
| SHELL = @SHELL@ |
SHELL = @SHELL@ |
| |
|
| LTOBJS = alloc.lo atobool.lo fileops.lo fmt_string.lo \ | LTOBJS = alloc.lo atobool.lo fileops.lo fmt_string.lo lbuf.lo list.lo \ |
| lbuf.lo list.lo setgroups.lo term.lo zero_bytes.lo @COMMON_OBJS@ | secure_path.lo setgroups.lo sudo_conf.lo sudo_debug.lo term.lo \ |
| | ttysize.lo zero_bytes.lo @COMMON_OBJS@ |
| |
|
| all: libcommon.la |
all: libcommon.la |
| |
|
|
Line 53 Makefile: $(srcdir)/Makefile.in
|
Line 69 Makefile: $(srcdir)/Makefile.in
|
| .SUFFIXES: .c .h .lo |
.SUFFIXES: .c .h .lo |
| |
|
| .c.lo: |
.c.lo: |
| $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $< | $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $< |
| |
|
| libcommon.la: $(LTOBJS) |
libcommon.la: $(LTOBJS) |
| $(LIBTOOL) --mode=link $(CC) -o $@ $(LTOBJS) -no-install |
$(LIBTOOL) --mode=link $(CC) -o $@ $(LTOBJS) -no-install |
|
Line 93 cleandir: realclean
|
Line 109 cleandir: realclean
|
| |
|
| # Autogenerated dependencies, do not modify |
# Autogenerated dependencies, do not modify |
| aix.lo: $(srcdir)/aix.c $(top_builddir)/config.h $(incdir)/missing.h \ |
aix.lo: $(srcdir)/aix.c $(top_builddir)/config.h $(incdir)/missing.h \ |
| $(incdir)/alloc.h $(incdir)/error.h $(incdir)/gettext.h | $(incdir)/alloc.h $(incdir)/error.h $(incdir)/sudo_debug.h \ |
| $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/aix.c | $(incdir)/gettext.h |
| | $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/aix.c |
| alloc.lo: $(srcdir)/alloc.c $(top_builddir)/config.h $(incdir)/missing.h \ |
alloc.lo: $(srcdir)/alloc.c $(top_builddir)/config.h $(incdir)/missing.h \ |
| $(incdir)/alloc.h $(incdir)/error.h $(incdir)/gettext.h |
$(incdir)/alloc.h $(incdir)/error.h $(incdir)/gettext.h |
| $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/alloc.c | $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/alloc.c |
| atobool.lo: $(srcdir)/atobool.c $(top_builddir)/config.h $(incdir)/missing.h | atobool.lo: $(srcdir)/atobool.c $(top_builddir)/config.h $(incdir)/missing.h \ |
| $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/atobool.c | $(incdir)/sudo_debug.h |
| | $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/atobool.c |
| fileops.lo: $(srcdir)/fileops.c $(top_builddir)/config.h \ |
fileops.lo: $(srcdir)/fileops.c $(top_builddir)/config.h \ |
| $(top_srcdir)/compat/timespec.h $(incdir)/missing.h \ | $(top_srcdir)/compat/stdbool.h $(top_srcdir)/compat/timespec.h \ |
| $(incdir)/fileops.h | $(incdir)/missing.h $(incdir)/fileops.h $(incdir)/sudo_debug.h |
| $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/fileops.c | $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/fileops.c |
| fmt_string.lo: $(srcdir)/fmt_string.c $(top_builddir)/config.h \ |
fmt_string.lo: $(srcdir)/fmt_string.c $(top_builddir)/config.h \ |
| $(incdir)/missing.h | $(incdir)/missing.h $(incdir)/sudo_debug.h |
| $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/fmt_string.c | $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/fmt_string.c |
| lbuf.lo: $(srcdir)/lbuf.c $(top_builddir)/config.h $(incdir)/missing.h \ |
lbuf.lo: $(srcdir)/lbuf.c $(top_builddir)/config.h $(incdir)/missing.h \ |
| $(incdir)/alloc.h $(incdir)/error.h $(incdir)/lbuf.h | $(incdir)/alloc.h $(incdir)/error.h $(incdir)/lbuf.h \ |
| $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/lbuf.c | $(incdir)/sudo_debug.h |
| | $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/lbuf.c |
| list.lo: $(srcdir)/list.c $(top_builddir)/config.h $(incdir)/missing.h \ |
list.lo: $(srcdir)/list.c $(top_builddir)/config.h $(incdir)/missing.h \ |
| $(incdir)/list.h $(incdir)/error.h |
$(incdir)/list.h $(incdir)/error.h |
| $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/list.c | $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/list.c |
| setgroups.lo: $(srcdir)/setgroups.c $(top_builddir)/config.h $(incdir)/missing.h | secure_path.lo: $(srcdir)/secure_path.c $(top_builddir)/config.h \ |
| $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/setgroups.c | $(incdir)/missing.h $(incdir)/sudo_debug.h \ |
| term.lo: $(srcdir)/term.c $(top_builddir)/config.h $(incdir)/missing.h | $(incdir)/secure_path.h |
| $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/term.c | $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/secure_path.c |
| | setgroups.lo: $(srcdir)/setgroups.c $(top_builddir)/config.h \ |
| | $(incdir)/missing.h $(incdir)/sudo_debug.h |
| | $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/setgroups.c |
| | sudo_conf.lo: $(srcdir)/sudo_conf.c $(top_builddir)/config.h \ |
| | $(top_srcdir)/compat/stdbool.h $(incdir)/missing.h \ |
| | $(incdir)/alloc.h $(incdir)/error.h $(incdir)/fileops.h \ |
| | $(top_builddir)/pathnames.h $(incdir)/sudo_plugin.h \ |
| | $(incdir)/sudo_conf.h $(incdir)/list.h $(incdir)/sudo_debug.h \ |
| | $(incdir)/secure_path.h $(incdir)/gettext.h |
| | $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/sudo_conf.c |
| | sudo_debug.lo: $(srcdir)/sudo_debug.c $(top_builddir)/config.h \ |
| | $(top_srcdir)/compat/stdbool.h $(incdir)/missing.h \ |
| | $(incdir)/alloc.h $(incdir)/error.h $(incdir)/gettext.h \ |
| | $(incdir)/sudo_plugin.h $(incdir)/sudo_debug.h |
| | $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/sudo_debug.c |
| | term.lo: $(srcdir)/term.c $(top_builddir)/config.h $(incdir)/missing.h \ |
| | $(incdir)/sudo_debug.h |
| | $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/term.c |
| | ttysize.lo: $(srcdir)/ttysize.c $(top_builddir)/config.h $(incdir)/missing.h \ |
| | $(incdir)/sudo_debug.h |
| | $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/ttysize.c |
| zero_bytes.lo: $(srcdir)/zero_bytes.c $(top_builddir)/config.h \ |
zero_bytes.lo: $(srcdir)/zero_bytes.c $(top_builddir)/config.h \ |
| $(incdir)/missing.h |
$(incdir)/missing.h |
| $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/zero_bytes.c | $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/zero_bytes.c |