mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
Give up on using VPATH to find sources as it is implemented inconsistenly
in different versions of make.
This commit is contained in:
parent
39d1167f33
commit
47323843a5
@ -25,9 +25,6 @@ top_builddir = @top_builddir@
|
|||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
|
|
||||||
# For out of tree builds
|
|
||||||
VPATH = $(srcdir)
|
|
||||||
|
|
||||||
# Compiler & tools to use
|
# Compiler & tools to use
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
@ -60,14 +57,23 @@ libcommon.la: $(LTOBJS)
|
|||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
aix.lo: $(srcdir)/aix.c $(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h $(top_builddir)/config.h
|
aix.lo: $(srcdir)/aix.c $(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/aix.c
|
||||||
alloc.lo: $(srcdir)/alloc.c $(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h $(top_builddir)/config.h
|
alloc.lo: $(srcdir)/alloc.c $(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/alloc.c
|
||||||
atobool.lo: $(srcdir)/atobool.c $(incdir)/missing.h $(incdir)/missing.h $(top_builddir)/config.h
|
atobool.lo: $(srcdir)/atobool.c $(incdir)/missing.h $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/atobool.c
|
||||||
fileops.lo: $(srcdir)/fileops.c $(incdir)/fileops.h $(top_builddir)/config.h
|
fileops.lo: $(srcdir)/fileops.c $(incdir)/fileops.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/fileops.c
|
||||||
fmt_string.lo: $(srcdir)/fmt_string.c $(incdir)/missing.h $(top_builddir)/config.h
|
fmt_string.lo: $(srcdir)/fmt_string.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/fmt_string.c
|
||||||
lbuf.lo: $(srcdir)/lbuf.c $(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h $(incdir)/missing.h $(incdir)/lbuf.h $(top_builddir)/config.h
|
lbuf.lo: $(srcdir)/lbuf.c $(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h $(incdir)/missing.h $(incdir)/lbuf.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/lbuf.c
|
||||||
list.lo: $(srcdir)/list.c $(incdir)/missing.h $(incdir)/list.h $(incdir)/error.h $(top_builddir)/config.h
|
list.lo: $(srcdir)/list.c $(incdir)/missing.h $(incdir)/list.h $(incdir)/error.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/list.c
|
||||||
term.lo: $(srcdir)/term.c $(incdir)/missing.h $(top_builddir)/config.h
|
term.lo: $(srcdir)/term.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/term.c
|
||||||
zero_bytes.lo: $(srcdir)/zero_bytes.c $(incdir)/missing.h $(top_builddir)/config.h
|
zero_bytes.lo: $(srcdir)/zero_bytes.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/zero_bytes.c
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
|
||||||
|
@ -24,10 +24,6 @@ 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
|
||||||
compat = $(top_srcdir)/compat
|
|
||||||
|
|
||||||
# For out of tree builds
|
|
||||||
VPATH = $(srcdir)
|
|
||||||
|
|
||||||
# Compiler & tools to use
|
# Compiler & tools to use
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
@ -54,45 +50,60 @@ all: libreplace.la
|
|||||||
|
|
||||||
.SUFFIXES: .o .c .h .lo
|
.SUFFIXES: .o .c .h .lo
|
||||||
|
|
||||||
.c.o:
|
|
||||||
$(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $<
|
|
||||||
|
|
||||||
.c.lo:
|
.c.lo:
|
||||||
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $<
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $<
|
||||||
|
|
||||||
libreplace.la: $(LTLIBOBJS)
|
libreplace.la: $(LTLIBOBJS)
|
||||||
$(LIBTOOL) --mode=link $(CC) -o $@ $(LTLIBOBJS) -no-install
|
$(LIBTOOL) --mode=link $(CC) -o $@ $(LTLIBOBJS) -no-install
|
||||||
|
|
||||||
siglist.c: mksiglist
|
./siglist.c: ./mksiglist
|
||||||
./mksiglist > $@
|
./mksiglist > $@
|
||||||
|
|
||||||
mksiglist: $(srcdir)/mksiglist.c $(srcdir)/mksiglist.h $(incdir)/missing.h $(top_builddir)/config.h
|
./mksiglist: $(srcdir)/mksiglist.c $(srcdir)/mksiglist.h $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
$(CC) $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/mksiglist.c -o $@
|
$(CC) $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/mksiglist.c -o $@
|
||||||
|
|
||||||
@DEV@$(srcdir)/mksiglist.h: $(srcdir)/siglist.in
|
@DEV@$(srcdir)/mksiglist.h: $(srcdir)/siglist.in
|
||||||
@DEV@ awk 'BEGIN {print "/* public domain */\n"} /^ [A-Z]/ {printf("#ifdef SIG%s\n if (my_sys_siglist[SIG%s] == NULL)\n\tmy_sys_siglist[SIG%s] = \"%s\";\n#endif\n", $$1, $$1, $$1, substr($$0, 13))}' < $(srcdir)/siglist.in > $@
|
@DEV@ awk 'BEGIN {print "/* public domain */\n"} /^ [A-Z]/ {printf("#ifdef SIG%s\n if (my_sys_siglist[SIG%s] == NULL)\n\tmy_sys_siglist[SIG%s] = \"%s\";\n#endif\n", $$1, $$1, $$1, substr($$0, 13))}' < $(srcdir)/siglist.in > $@
|
||||||
|
|
||||||
siglist.lo: siglist.c $(incdir)/missing.h $(top_builddir)/config.h
|
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
closefrom.lo: $(compat)/closefrom.c $(incdir)/missing.h $(top_builddir)/config.h
|
closefrom.lo: $(srcdir)/closefrom.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
dlopen.lo: $(compat)/dlopen.c $(compat)/dlfcn.h $(incdir)/missing.h $(top_builddir)/config.h
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/closefrom.c
|
||||||
fnmatch.lo: $(compat)/fnmatch.c $(compat)/fnmatch.h $(compat)/charclass.h $(incdir)/missing.h $(top_builddir)/config.h
|
dlopen.lo: $(srcdir)/dlopen.c $(srcdir)/dlfcn.h $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
getcwd.lo: $(compat)/getcwd.c $(incdir)/missing.h $(top_builddir)/config.h
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/dlopen.c
|
||||||
getline.lo: $(compat)/getline.c $(incdir)/missing.h $(top_builddir)/config.h
|
fnmatch.lo: $(srcdir)/fnmatch.c $(srcdir)/fnmatch.h $(srcdir)/charclass.h $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
getprogname.lo: $(compat)/getprogname.c $(incdir)/missing.h $(top_builddir)/config.h
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/fnmatch.c
|
||||||
glob.lo: $(compat)/glob.c $(compat)/glob.h $(compat)/charclass.h $(incdir)/missing.h $(top_builddir)/config.h
|
getcwd.lo: $(srcdir)/getcwd.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
isblank.lo: $(compat)/isblank.c $(incdir)/missing.h $(top_builddir)/config.h
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/getcwd.c
|
||||||
memrchr.lo: $(compat)/memrchr.c $(incdir)/missing.h $(top_builddir)/config.h
|
getline.lo: $(srcdir)/getline.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
mkstemps.lo: $(compat)/mkstemps.c $(incdir)/missing.h $(top_builddir)/config.h
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/getline.c
|
||||||
nanosleep.lo: $(compat)/nanosleep.c $(incdir)/missing.h $(top_builddir)/config.h
|
getprogname.lo: $(srcdir)/getprogname.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
snprintf.lo: $(compat)/snprintf.c $(incdir)/missing.h $(top_builddir)/config.h
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/getprogname.c
|
||||||
strcasecmp.lo: $(compat)/strcasecmp.c $(incdir)/missing.h $(top_builddir)/config.h
|
glob.lo: $(srcdir)/glob.c $(srcdir)/glob.h $(srcdir)/charclass.h $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
strerror.lo: $(compat)/strerror.c $(incdir)/missing.h $(top_builddir)/config.h
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/glob.c
|
||||||
strlcat.lo: $(compat)/strlcat.c $(incdir)/missing.h $(top_builddir)/config.h
|
isblank.lo: $(srcdir)/isblank.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
strlcpy.lo: $(compat)/strlcpy.c $(incdir)/missing.h $(top_builddir)/config.h
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/isblank.c
|
||||||
strsignal.lo: $(compat)/strsignal.c $(incdir)/missing.h $(top_builddir)/config.h
|
memrchr.lo: $(srcdir)/memrchr.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
utimes.lo: $(compat)/utimes.c $(incdir)/missing.h $(compat)/utime.h $(top_builddir)/config.h
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/memrchr.c
|
||||||
|
mkstemps.lo: $(srcdir)/mkstemps.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/mkstemps.c
|
||||||
|
nanosleep.lo: $(srcdir)/nanosleep.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/nanosleep.c
|
||||||
|
siglist.lo: ./siglist.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) ./siglist.c
|
||||||
|
snprintf.lo: $(srcdir)/snprintf.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/snprintf.c
|
||||||
|
strcasecmp.lo: $(srcdir)/strcasecmp.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/strcasecmp.c
|
||||||
|
strerror.lo: $(srcdir)/strerror.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/strerror.c
|
||||||
|
strlcat.lo: $(srcdir)/strlcat.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/strlcat.c
|
||||||
|
strlcpy.lo: $(srcdir)/strlcpy.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/strlcpy.c
|
||||||
|
strsignal.lo: $(srcdir)/strsignal.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/strsignal.c
|
||||||
|
utimes.lo: $(srcdir)/utimes.c $(incdir)/missing.h $(srcdir)/utime.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/utimes.c
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
|
||||||
|
@ -25,9 +25,6 @@ top_builddir = @top_builddir@
|
|||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
|
|
||||||
# For out of tree builds
|
|
||||||
VPATH = $(srcdir)
|
|
||||||
|
|
||||||
# Compiler & tools to use
|
# Compiler & tools to use
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
LIBTOOL = @LIBTOOL@ @LT_STATIC@
|
LIBTOOL = @LIBTOOL@ @LT_STATIC@
|
||||||
@ -74,13 +71,11 @@ all: sample_plugin.la
|
|||||||
|
|
||||||
.SUFFIXES: .o .c .h .lo
|
.SUFFIXES: .o .c .h .lo
|
||||||
|
|
||||||
.c.o:
|
|
||||||
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $<
|
|
||||||
|
|
||||||
.c.lo:
|
.c.lo:
|
||||||
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $<
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $<
|
||||||
|
|
||||||
sample_plugin.lo: $(srcdir)/sample_plugin.c
|
sample_plugin.lo: $(srcdir)/sample_plugin.c
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/sample_plugin.c
|
||||||
|
|
||||||
sample_plugin.la: $(OBJS)
|
sample_plugin.la: $(OBJS)
|
||||||
$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -module -avoid-version -rpath $(plugindir)
|
$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -module -avoid-version -rpath $(plugindir)
|
||||||
|
@ -25,9 +25,6 @@ top_builddir = @top_builddir@
|
|||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
|
|
||||||
# For out of tree builds
|
|
||||||
VPATH = $(srcdir)
|
|
||||||
|
|
||||||
# Compiler & tools to use
|
# Compiler & tools to use
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
LIBTOOL = @LIBTOOL@ @LT_STATIC@
|
LIBTOOL = @LIBTOOL@ @LT_STATIC@
|
||||||
@ -74,15 +71,14 @@ all: sample_group.la
|
|||||||
|
|
||||||
.SUFFIXES: .o .c .h .lo
|
.SUFFIXES: .o .c .h .lo
|
||||||
|
|
||||||
.c.o:
|
|
||||||
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $<
|
|
||||||
|
|
||||||
.c.lo:
|
.c.lo:
|
||||||
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $<
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $<
|
||||||
|
|
||||||
getgrent.lo: $(srcdir)/getgrent.c
|
getgrent.lo: $(srcdir)/getgrent.c
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/getgrent.c
|
||||||
|
|
||||||
sample_group.lo: $(srcdir)/sample_group.c
|
sample_group.lo: $(srcdir)/sample_group.c
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/sample_group.c
|
||||||
|
|
||||||
sample_group.la: $(OBJS)
|
sample_group.la: $(OBJS)
|
||||||
$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -module -avoid-version -rpath $(plugindir)
|
$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -module -avoid-version -rpath $(plugindir)
|
||||||
|
@ -33,9 +33,6 @@ incdir = $(top_srcdir)/include
|
|||||||
docdir = @docdir@
|
docdir = @docdir@
|
||||||
timedir = @timedir@
|
timedir = @timedir@
|
||||||
|
|
||||||
# For out of tree builds
|
|
||||||
VPATH = $(devdir):$(srcdir):$(srcdir)/auth
|
|
||||||
|
|
||||||
# Compiler & tools to use
|
# Compiler & tools to use
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
@ -197,52 +194,93 @@ sudoers: $(srcdir)/sudoers.in
|
|||||||
|
|
||||||
# Sudoers dependencies
|
# Sudoers dependencies
|
||||||
alias.lo: $(srcdir)/alias.c $(SUDODEP) $(srcdir)/parse.h $(incdir)/list.h $(srcdir)/redblack.h
|
alias.lo: $(srcdir)/alias.c $(SUDODEP) $(srcdir)/parse.h $(incdir)/list.h $(srcdir)/redblack.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/alias.c
|
||||||
audit.lo: $(srcdir)/audit.c $(SUDODEP)
|
audit.lo: $(srcdir)/audit.c $(SUDODEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/audit.c
|
||||||
bsm_audit.lo: $(srcdir)/bsm_audit.c $(SUDODEP) $(srcdir)/bsm_audit.h
|
bsm_audit.lo: $(srcdir)/bsm_audit.c $(SUDODEP) $(srcdir)/bsm_audit.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/bsm_audit.c
|
||||||
boottime.lo: $(srcdir)/boottime.c $(top_builddir)/config.h
|
boottime.lo: $(srcdir)/boottime.c $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/boottime.c
|
||||||
check.lo: $(srcdir)/check.c $(SUDODEP)
|
check.lo: $(srcdir)/check.c $(SUDODEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/check.c
|
||||||
defaults.lo: $(srcdir)/defaults.c $(SUDODEP) $(devdir)/def_data.c $(authdir)/sudo_auth.h $(devdir)/gram.h
|
defaults.lo: $(srcdir)/defaults.c $(SUDODEP) $(devdir)/def_data.c $(authdir)/sudo_auth.h $(devdir)/gram.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/defaults.c
|
||||||
env.lo: $(srcdir)/env.c $(SUDODEP)
|
env.lo: $(srcdir)/env.c $(SUDODEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/env.c
|
||||||
find_path.lo: $(srcdir)/find_path.c $(SUDODEP)
|
find_path.lo: $(srcdir)/find_path.c $(SUDODEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/find_path.c
|
||||||
getspwuid.lo: $(srcdir)/getspwuid.c $(SUDODEP)
|
getspwuid.lo: $(srcdir)/getspwuid.c $(SUDODEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/getspwuid.c
|
||||||
goodpath.lo: $(srcdir)/goodpath.c $(SUDODEP)
|
goodpath.lo: $(srcdir)/goodpath.c $(SUDODEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/goodpath.c
|
||||||
gram.lo: $(devdir)/gram.c $(SUDODEP) $(srcdir)/parse.h $(incdir)/list.h $(devdir)/gram.h
|
gram.lo: $(devdir)/gram.c $(SUDODEP) $(srcdir)/parse.h $(incdir)/list.h $(devdir)/gram.h
|
||||||
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(devdir)/gram.c
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(devdir)/gram.c
|
||||||
group_plugin.lo: $(srcdir)/group_plugin.c $(SUDODEP)
|
group_plugin.lo: $(srcdir)/group_plugin.c $(SUDODEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/group_plugin.c
|
||||||
interfaces.lo: $(srcdir)/interfaces.c $(SUDODEP) $(srcdir)/interfaces.h
|
interfaces.lo: $(srcdir)/interfaces.c $(SUDODEP) $(srcdir)/interfaces.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/interfaces.c
|
||||||
iolog.lo: $(srcdir)/iolog.c $(SUDODEP)
|
iolog.lo: $(srcdir)/iolog.c $(SUDODEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/iolog.c
|
||||||
ldap.lo: $(srcdir)/ldap.c $(SUDODEP) $(srcdir)/parse.h $(incdir)/list.h
|
ldap.lo: $(srcdir)/ldap.c $(SUDODEP) $(srcdir)/parse.h $(incdir)/list.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/ldap.c
|
||||||
linux_audit.lo: $(srcdir)/linux_audit.c $(SUDODEP) $(srcdir)/linux_audit.h
|
linux_audit.lo: $(srcdir)/linux_audit.c $(SUDODEP) $(srcdir)/linux_audit.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/linux_audit.c
|
||||||
logging.lo: $(srcdir)/logging.c $(SUDODEP)
|
logging.lo: $(srcdir)/logging.c $(SUDODEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/logging.c
|
||||||
match.lo: $(srcdir)/match.c $(SUDODEP) $(srcdir)/parse.h $(incdir)/list.h $(srcdir)/interfaces.h $(devdir)/gram.h
|
match.lo: $(srcdir)/match.c $(SUDODEP) $(srcdir)/parse.h $(incdir)/list.h $(srcdir)/interfaces.h $(devdir)/gram.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/match.c
|
||||||
parse.lo: $(srcdir)/parse.c $(SUDODEP) $(srcdir)/parse.h $(incdir)/list.h $(devdir)/gram.h
|
parse.lo: $(srcdir)/parse.c $(SUDODEP) $(srcdir)/parse.h $(incdir)/list.h $(devdir)/gram.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/parse.c
|
||||||
pwutil.lo: $(srcdir)/pwutil.c $(SUDODEP)
|
pwutil.lo: $(srcdir)/pwutil.c $(SUDODEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/pwutil.c
|
||||||
redblack.lo: $(srcdir)/redblack.c $(SUDODEP) $(srcdir)/redblack.h
|
redblack.lo: $(srcdir)/redblack.c $(SUDODEP) $(srcdir)/redblack.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/redblack.c
|
||||||
set_perms.lo: $(srcdir)/set_perms.c $(SUDODEP)
|
set_perms.lo: $(srcdir)/set_perms.c $(SUDODEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/set_perms.c
|
||||||
sudo_nss.lo: $(srcdir)/sudo_nss.c $(SUDODEP)
|
sudo_nss.lo: $(srcdir)/sudo_nss.c $(SUDODEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/sudo_nss.c
|
||||||
sudoers.lo: $(srcdir)/sudoers.c $(SUDODEP) $(srcdir)/interfaces.h
|
sudoers.lo: $(srcdir)/sudoers.c $(SUDODEP) $(srcdir)/interfaces.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/sudoers.c
|
||||||
timestr.lo: $(srcdir)/timestr.c $(incdir)/missing.h $(top_builddir)/config.h
|
timestr.lo: $(srcdir)/timestr.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/timestr.c
|
||||||
toke.lo: $(devdir)/toke.c $(SUDODEP) $(srcdir)/parse.h $(incdir)/list.h $(devdir)/gram.h
|
toke.lo: $(devdir)/toke.c $(SUDODEP) $(srcdir)/parse.h $(incdir)/list.h $(devdir)/gram.h
|
||||||
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(devdir)/toke.c
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(devdir)/toke.c
|
||||||
tsgetgrpw.lo: $(srcdir)/tsgetgrpw.c $(SUDODEP)
|
tsgetgrpw.lo: $(srcdir)/tsgetgrpw.c $(SUDODEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/tsgetgrpw.c
|
||||||
plugin_error.lo: $(srcdir)/plugin_error.c $(incdir)/error.h $(incdir)/missing.h $(top_builddir)/config.h
|
plugin_error.lo: $(srcdir)/plugin_error.c $(incdir)/error.h $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/plugin_error.c
|
||||||
|
|
||||||
# Auth dependencies
|
# Auth dependencies
|
||||||
sudo_auth.lo: $(authdir)/sudo_auth.c $(AUTHDEP) $(INSDEP)
|
sudo_auth.lo: $(authdir)/sudo_auth.c $(AUTHDEP) $(INSDEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/sudo_auth.c
|
||||||
afs.lo: $(authdir)/afs.c $(AUTHDEP)
|
afs.lo: $(authdir)/afs.c $(AUTHDEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/afs.c
|
||||||
aix_auth.lo: $(authdir)/aix_auth.c $(AUTHDEP)
|
aix_auth.lo: $(authdir)/aix_auth.c $(AUTHDEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/aix_auth.c
|
||||||
bsdauth.lo: $(authdir)/bsdauth.c $(AUTHDEP)
|
bsdauth.lo: $(authdir)/bsdauth.c $(AUTHDEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/bsdauth.c
|
||||||
dce.lo: $(authdir)/dce.c $(AUTHDEP)
|
dce.lo: $(authdir)/dce.c $(AUTHDEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/dce.c
|
||||||
fwtk.lo: $(authdir)/fwtk.c $(AUTHDEP)
|
fwtk.lo: $(authdir)/fwtk.c $(AUTHDEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/fwtk.c
|
||||||
kerb4.lo: $(authdir)/kerb4.c $(AUTHDEP)
|
kerb4.lo: $(authdir)/kerb4.c $(AUTHDEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/kerb4.c
|
||||||
kerb5.lo: $(authdir)/kerb5.c $(AUTHDEP)
|
kerb5.lo: $(authdir)/kerb5.c $(AUTHDEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/kerb5.c
|
||||||
pam.lo: $(authdir)/pam.c $(AUTHDEP)
|
pam.lo: $(authdir)/pam.c $(AUTHDEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/pam.c
|
||||||
passwd.lo: $(authdir)/passwd.c $(AUTHDEP)
|
passwd.lo: $(authdir)/passwd.c $(AUTHDEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/passwd.c
|
||||||
rfc1938.lo: $(authdir)/rfc1938.c $(AUTHDEP)
|
rfc1938.lo: $(authdir)/rfc1938.c $(AUTHDEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/rfc1938.c
|
||||||
secureware.lo: $(authdir)/secureware.c $(AUTHDEP)
|
secureware.lo: $(authdir)/secureware.c $(AUTHDEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/secureware.c
|
||||||
securid.lo: $(authdir)/securid.c $(AUTHDEP)
|
securid.lo: $(authdir)/securid.c $(AUTHDEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/securid.c
|
||||||
securid5.lo: $(authdir)/securid5.c $(AUTHDEP)
|
securid5.lo: $(authdir)/securid5.c $(AUTHDEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/securid5.c
|
||||||
sia.lo: $(authdir)/sia.c $(AUTHDEP)
|
sia.lo: $(authdir)/sia.c $(AUTHDEP)
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/sia.c
|
||||||
|
|
||||||
# Command dependencies (sudoreplay, testsudoers, visudo)
|
# Command dependencies (sudoreplay, testsudoers, visudo)
|
||||||
error.o: $(top_srcdir)/src/error.c $(incdir)/error.h $(incdir)/missing.h $(top_builddir)/config.h
|
error.o: $(top_srcdir)/src/error.c $(incdir)/error.h $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
@ -252,12 +290,16 @@ getdate.o: $(devdir)/getdate.c $(incdir)/missing.h $(top_builddir)/config.h
|
|||||||
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(devdir)/getdate.c
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(devdir)/getdate.c
|
||||||
goodpath.o: goodpath.lo
|
goodpath.o: goodpath.lo
|
||||||
interfaces.o: interfaces.lo
|
interfaces.o: interfaces.lo
|
||||||
sudoreplay.o: $(srcdir)/sudoreplay.c $(incdir)/alloc.h $(incdir)/missing.h $(incdir)/error.h $(incdir)/missing.h $(top_builddir)/config.h
|
|
||||||
testsudoers.o: $(srcdir)/testsudoers.c $(SUDODEP) $(srcdir)/parse.h $(incdir)/list.h $(srcdir)/interfaces.h $(devdir)/gram.h
|
|
||||||
tsgetgrpw.o: $(srcdir)/tsgetgrpw.c $(SUDODEP)
|
|
||||||
visudo.o: $(srcdir)/visudo.c $(SUDODEP) $(devdir)/gram.h
|
|
||||||
net_ifs.o: $(top_srcdir)/src/net_ifs.c $(SUDODEP)
|
net_ifs.o: $(top_srcdir)/src/net_ifs.c $(SUDODEP)
|
||||||
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(top_srcdir)/src/net_ifs.c
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(top_srcdir)/src/net_ifs.c
|
||||||
|
sudoreplay.o: $(srcdir)/sudoreplay.c $(incdir)/alloc.h $(incdir)/missing.h $(incdir)/error.h $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/sudoreplay.c
|
||||||
|
testsudoers.o: $(srcdir)/testsudoers.c $(SUDODEP) $(srcdir)/parse.h $(incdir)/list.h $(srcdir)/interfaces.h $(devdir)/gram.h
|
||||||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/testsudoers.c
|
||||||
|
tsgetgrpw.o: $(srcdir)/tsgetgrpw.c $(SUDODEP)
|
||||||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/tsgetgrpw.c
|
||||||
|
visudo.o: $(srcdir)/visudo.c $(SUDODEP) $(devdir)/gram.h
|
||||||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/visudo.c
|
||||||
|
|
||||||
install: install-dirs install-plugin install-binaries install-sudoers install-doc
|
install: install-dirs install-plugin install-binaries install-sudoers install-doc
|
||||||
|
|
||||||
|
@ -25,9 +25,6 @@ top_builddir = @top_builddir@
|
|||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
incdir = $(top_srcdir)/include
|
incdir = $(top_srcdir)/include
|
||||||
|
|
||||||
# For out of tree builds
|
|
||||||
VPATH = $(srcdir)
|
|
||||||
|
|
||||||
# Compiler & tools to use
|
# Compiler & tools to use
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
LIBTOOL = @LIBTOOL@ @LT_STATIC@
|
LIBTOOL = @LIBTOOL@ @LT_STATIC@
|
||||||
@ -106,21 +103,37 @@ sesh: sesh.o
|
|||||||
# Dependencies
|
# Dependencies
|
||||||
# XXX - SUDODEP is overkill for some of these
|
# XXX - SUDODEP is overkill for some of these
|
||||||
conversation.o: $(srcdir)/conversation.c $(SUDODEP)
|
conversation.o: $(srcdir)/conversation.c $(SUDODEP)
|
||||||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/conversation.c
|
||||||
error.o: $(srcdir)/error.c $(incdir)/missing.h $(incdir)/error.h $(top_builddir)/config.h
|
error.o: $(srcdir)/error.c $(incdir)/missing.h $(incdir)/error.h $(top_builddir)/config.h
|
||||||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/error.c
|
||||||
exec.o: $(srcdir)/exec.c $(SUDODEP) $(srcdir)/sudo_exec.h
|
exec.o: $(srcdir)/exec.c $(SUDODEP) $(srcdir)/sudo_exec.h
|
||||||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/exec.c
|
||||||
exec_pty.o: $(srcdir)/exec_pty.c $(SUDODEP) $(srcdir)/sudo_exec.h
|
exec_pty.o: $(srcdir)/exec_pty.c $(SUDODEP) $(srcdir)/sudo_exec.h
|
||||||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/exec_pty.c
|
||||||
get_pty.o: $(srcdir)/get_pty.c $(SUDODEP)
|
get_pty.o: $(srcdir)/get_pty.c $(SUDODEP)
|
||||||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/get_pty.c
|
||||||
net_ifs.o: $(srcdir)/net_ifs.c $(SUDODEP)
|
net_ifs.o: $(srcdir)/net_ifs.c $(SUDODEP)
|
||||||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/net_ifs.c
|
||||||
load_plugins.o: $(srcdir)/load_plugins.c $(SUDODEP)
|
load_plugins.o: $(srcdir)/load_plugins.c $(SUDODEP)
|
||||||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/load_plugins.c
|
||||||
parse_args.o: $(srcdir)/parse_args.c sudo_usage.h $(SUDODEP)
|
parse_args.o: $(srcdir)/parse_args.c sudo_usage.h $(SUDODEP)
|
||||||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/parse_args.c
|
||||||
preload.o: $(srcdir)/preload.c $(incdir)/sudo_plugin.h $(top_builddir)/config.h
|
preload.o: $(srcdir)/preload.c $(incdir)/sudo_plugin.h $(top_builddir)/config.h
|
||||||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/preload.c
|
||||||
selinux.o: $(srcdir)/selinux.c $(SUDODEP)
|
selinux.o: $(srcdir)/selinux.c $(SUDODEP)
|
||||||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/selinux.c
|
||||||
sesh.o: $(srcdir)/sesh.c $(incdir)/missing.h $(top_builddir)/config.h
|
sesh.o: $(srcdir)/sesh.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/sesh.c
|
||||||
sudo.o: $(srcdir)/sudo.c $(SUDODEP)
|
sudo.o: $(srcdir)/sudo.c $(SUDODEP)
|
||||||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/sudo.c
|
||||||
sudo_edit.o: $(srcdir)/sudo_edit.c $(SUDODEP)
|
sudo_edit.o: $(srcdir)/sudo_edit.c $(SUDODEP)
|
||||||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/sudo_edit.c
|
||||||
sudo_noexec.lo: $(srcdir)/sudo_noexec.c $(incdir)/missing.h $(top_builddir)/config.h
|
sudo_noexec.lo: $(srcdir)/sudo_noexec.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/sudo_noexec.c
|
||||||
tgetpass.o: $(srcdir)/tgetpass.c $(SUDODEP)
|
tgetpass.o: $(srcdir)/tgetpass.c $(SUDODEP)
|
||||||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/tgetpass.c
|
||||||
ttysize.o: $(srcdir)/ttysize.c $(incdir)/missing.h $(top_builddir)/config.h
|
ttysize.o: $(srcdir)/ttysize.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/ttysize.c
|
||||||
|
|
||||||
install: install-dirs install-binaries @INSTALL_NOEXEC@
|
install: install-dirs install-binaries @INSTALL_NOEXEC@
|
||||||
|
|
||||||
|
@ -23,9 +23,6 @@ srcdir = @srcdir@
|
|||||||
top_builddir = @top_builddir@
|
top_builddir = @top_builddir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
|
|
||||||
# For out of tree builds
|
|
||||||
VPATH = $(srcdir)
|
|
||||||
|
|
||||||
# Compiler & tools to use
|
# Compiler & tools to use
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
@ -58,15 +55,36 @@ libz.la: $(LTOBJS)
|
|||||||
$(LIBTOOL) --mode=link $(CC) -o $@ $(LTOBJS) -no-install
|
$(LIBTOOL) --mode=link $(CC) -o $@ $(LTOBJS) -no-install
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
adler32.lo zutil.lo: $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h
|
adler32.lo: $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h
|
||||||
gzclose.lo gzlib.lo gzread.lo gzwrite.lo: $(srcdir)/zlib.h ./zconf.h $(srcdir)/gzguts.h
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/adler32.c
|
||||||
compress.lo uncompr.lo: $(srcdir)/zlib.h ./zconf.h
|
compress.lo: $(srcdir)/zlib.h ./zconf.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/compress.c
|
||||||
crc32.lo: $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h $(srcdir)/crc32.h
|
crc32.lo: $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h $(srcdir)/crc32.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/crc32.c
|
||||||
deflate.lo: $(srcdir)/deflate.h $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h
|
deflate.lo: $(srcdir)/deflate.h $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h
|
||||||
infback.lo inflate.lo: $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h $(srcdir)/inftrees.h $(srcdir)/inflate.h $(srcdir)/inffast.h $(srcdir)/inffixed.h
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/deflate.c
|
||||||
|
gzclose.lo: $(srcdir)/zlib.h ./zconf.h $(srcdir)/gzguts.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/gzclose.c
|
||||||
|
gzlib.lo: $(srcdir)/zlib.h ./zconf.h $(srcdir)/gzguts.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/gzlib.c
|
||||||
|
gzread.lo: $(srcdir)/zlib.h ./zconf.h $(srcdir)/gzguts.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/gzread.c
|
||||||
|
gzwrite.lo: $(srcdir)/zlib.h ./zconf.h $(srcdir)/gzguts.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/gzwrite.c
|
||||||
|
infback.lo: $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h $(srcdir)/inftrees.h $(srcdir)/inflate.h $(srcdir)/inffast.h $(srcdir)/inffixed.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/infback.c
|
||||||
inffast.lo: $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h $(srcdir)/inftrees.h $(srcdir)/inflate.h $(srcdir)/inffast.h
|
inffast.lo: $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h $(srcdir)/inftrees.h $(srcdir)/inflate.h $(srcdir)/inffast.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/inffast.c
|
||||||
|
inflate.lo: $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h $(srcdir)/inftrees.h $(srcdir)/inflate.h $(srcdir)/inffast.h $(srcdir)/inffixed.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/inflate.c
|
||||||
inftrees.lo: $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h $(srcdir)/inftrees.h
|
inftrees.lo: $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h $(srcdir)/inftrees.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/inftrees.c
|
||||||
trees.lo: $(srcdir)/deflate.h $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h $(srcdir)/trees.h
|
trees.lo: $(srcdir)/deflate.h $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h $(srcdir)/trees.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/trees.c
|
||||||
|
uncompr.lo: $(srcdir)/zlib.h ./zconf.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/uncompr.c
|
||||||
|
zutil.lo: $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/zutil.c
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user