~ubuntu-branches/ubuntu/saucy/sudo/saucy

« back to all changes in this revision

Viewing changes to common/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2012-11-16 09:31:32 UTC
  • mfrom: (1.4.13)
  • Revision ID: package-import@ubuntu.com-20121116093132-ptext55adlzbrq6y
Tags: 1.8.6p3-0ubuntu1
* New upstream release (1.8.6p3).
* Add patch to fix building with sssd when ldap is disabled.
* Drop sudo.manpages and sudo-ldap.manpages as the upstream build system
  now does the right thing here.
* Build the main sudo package with support for sssd, this doesn't add any
  additional build time or runtime dependency. sudo will dynamically load
  the sssd library if 'sss' is listed for the 'sudoers' nss service.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
top_builddir = @top_builddir@
25
25
top_srcdir = @top_srcdir@
26
26
incdir = $(top_srcdir)/include
 
27
cross_compiling = @CROSS_COMPILING@
27
28
 
28
29
# Where to install things...
29
30
prefix = @prefix@
45
46
# Usually -O and/or -g
46
47
CFLAGS = @CFLAGS@
47
48
 
 
49
# PIE flags
 
50
PIE_CFLAGS = @PIE_CFLAGS@
 
51
PIE_LDFLAGS = @PIE_LDFLAGS@
 
52
 
48
53
# Linker flags
49
54
LDFLAGS = @LDFLAGS@
50
55
 
67
72
.SUFFIXES: .c .h .lo
68
73
 
69
74
.c.lo:
70
 
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $<
 
75
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $<
71
76
 
72
77
libcommon.la: $(LTOBJS)
73
78
        $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(LTOBJS) -no-install
109
114
aix.lo: $(srcdir)/aix.c $(top_builddir)/config.h $(incdir)/missing.h \
110
115
        $(incdir)/alloc.h $(incdir)/error.h $(incdir)/sudo_debug.h \
111
116
        $(incdir)/gettext.h
112
 
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/aix.c
 
117
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/aix.c
113
118
alloc.lo: $(srcdir)/alloc.c $(top_builddir)/config.h $(incdir)/missing.h \
114
119
          $(incdir)/alloc.h $(incdir)/error.h $(incdir)/gettext.h
115
 
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/alloc.c
 
120
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/alloc.c
116
121
atobool.lo: $(srcdir)/atobool.c $(top_builddir)/config.h $(incdir)/missing.h \
117
122
            $(incdir)/sudo_debug.h
118
 
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/atobool.c
 
123
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/atobool.c
119
124
fileops.lo: $(srcdir)/fileops.c $(top_builddir)/config.h \
120
125
            $(top_srcdir)/compat/stdbool.h $(top_srcdir)/compat/timespec.h \
121
126
            $(incdir)/missing.h $(incdir)/fileops.h $(incdir)/sudo_debug.h
122
 
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/fileops.c
 
127
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/fileops.c
123
128
fmt_string.lo: $(srcdir)/fmt_string.c $(top_builddir)/config.h \
124
129
               $(incdir)/missing.h $(incdir)/sudo_debug.h
125
 
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/fmt_string.c
 
130
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/fmt_string.c
126
131
lbuf.lo: $(srcdir)/lbuf.c $(top_builddir)/config.h $(incdir)/missing.h \
127
132
         $(incdir)/alloc.h $(incdir)/error.h $(incdir)/lbuf.h \
128
133
         $(incdir)/sudo_debug.h
129
 
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/lbuf.c
 
134
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/lbuf.c
130
135
list.lo: $(srcdir)/list.c $(top_builddir)/config.h $(incdir)/missing.h \
131
136
         $(incdir)/list.h $(incdir)/error.h
132
 
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/list.c
 
137
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/list.c
133
138
secure_path.lo: $(srcdir)/secure_path.c $(top_builddir)/config.h \
134
139
                $(incdir)/missing.h $(incdir)/sudo_debug.h \
135
140
                $(incdir)/secure_path.h
136
 
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/secure_path.c
 
141
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/secure_path.c
137
142
setgroups.lo: $(srcdir)/setgroups.c $(top_builddir)/config.h \
138
143
              $(incdir)/missing.h $(incdir)/sudo_debug.h
139
 
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/setgroups.c
 
144
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/setgroups.c
140
145
sudo_conf.lo: $(srcdir)/sudo_conf.c $(top_builddir)/config.h \
141
146
              $(top_srcdir)/compat/stdbool.h $(incdir)/missing.h \
142
147
              $(incdir)/alloc.h $(incdir)/error.h $(incdir)/fileops.h \
143
148
              $(top_builddir)/pathnames.h $(incdir)/sudo_plugin.h \
144
149
              $(incdir)/sudo_conf.h $(incdir)/list.h $(incdir)/sudo_debug.h \
145
150
              $(incdir)/secure_path.h $(incdir)/gettext.h
146
 
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/sudo_conf.c
 
151
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/sudo_conf.c
147
152
sudo_debug.lo: $(srcdir)/sudo_debug.c $(top_builddir)/config.h \
148
153
               $(top_srcdir)/compat/stdbool.h $(incdir)/missing.h \
149
154
               $(incdir)/alloc.h $(incdir)/error.h $(incdir)/gettext.h \
150
155
               $(incdir)/sudo_plugin.h $(incdir)/sudo_debug.h
151
 
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/sudo_debug.c
 
156
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/sudo_debug.c
152
157
term.lo: $(srcdir)/term.c $(top_builddir)/config.h $(incdir)/missing.h \
153
158
         $(incdir)/sudo_debug.h
154
 
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/term.c
 
159
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/term.c
155
160
ttysize.lo: $(srcdir)/ttysize.c $(top_builddir)/config.h $(incdir)/missing.h \
156
161
            $(incdir)/sudo_debug.h
157
 
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/ttysize.c
 
162
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/ttysize.c
158
163
zero_bytes.lo: $(srcdir)/zero_bytes.c $(top_builddir)/config.h \
159
164
               $(incdir)/missing.h
160
 
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/zero_bytes.c
 
165
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/zero_bytes.c