168
185
libparsesudoers.la: $(LIBPARSESUDOERS_OBJS)
169
186
$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(LIBPARSESUDOERS_OBJS) -no-install
171
sudoers.la: $(SUDOERS_OBJS) $(LT_LIBS) libparsesudoers.la
172
$(LIBTOOL) @LT_STATIC@ --mode=link $(CC) $(SUDOERS_LDFLAGS) $(LTLDFLAGS) -o $@ $(SUDOERS_OBJS) libparsesudoers.la $(SUDOERS_LIBS) -module -export-symbols $(srcdir)/sudoers.sym -avoid-version -rpath $(plugindir)
188
sudoers.la: $(SUDOERS_OBJS) $(LT_LIBS) libparsesudoers.la @LT_LDDEP@
189
$(LIBTOOL) @LT_STATIC@ --mode=link $(CC) $(LDFLAGS) $(LT_LDFLAGS) -o $@ $(SUDOERS_OBJS) libparsesudoers.la $(SUDOERS_LIBS) -module -avoid-version -rpath $(plugindir)
174
191
visudo: libparsesudoers.la $(VISUDO_OBJS) $(LT_LIBS)
175
$(LIBTOOL) --mode=link $(CC) -o $@ $(VISUDO_OBJS) $(LDFLAGS) libparsesudoers.la $(LIBS) $(NET_LIBS)
192
$(LIBTOOL) --mode=link $(CC) -o $@ $(VISUDO_OBJS) $(LDFLAGS) $(PIE_LDFLAGS) libparsesudoers.la $(LIBS) $(NET_LIBS)
177
194
sudoreplay: timestr.lo $(REPLAY_OBJS) $(LT_LIBS)
178
$(LIBTOOL) --mode=link $(CC) -o $@ $(REPLAY_OBJS) $(LDFLAGS) timestr.lo $(REPLAY_LIBS) $(LIBS)
195
$(LIBTOOL) --mode=link $(CC) -o $@ $(REPLAY_OBJS) $(LDFLAGS) $(PIE_LDFLAGS) timestr.lo $(REPLAY_LIBS) $(LIBS)
180
197
testsudoers: libparsesudoers.la $(TEST_OBJS) $(LT_LIBS)
181
$(LIBTOOL) --mode=link $(CC) -o $@ $(TEST_OBJS) $(LDFLAGS) libparsesudoers.la $(LIBS) $(NET_LIBS) @LIBDL@
198
$(LIBTOOL) --mode=link $(CC) -o $@ $(TEST_OBJS) $(LDFLAGS) $(PIE_LDFLAGS) libparsesudoers.la $(LIBS) $(NET_LIBS) @LIBDL@
183
200
check_addr: $(CHECK_ADDR_OBJS) $(LT_LIBS)
184
$(LIBTOOL) --mode=link $(CC) -o $@ $(CHECK_ADDR_OBJS) $(LDFLAGS) $(LIBS) $(NET_LIBS)
201
$(LIBTOOL) --mode=link $(CC) -o $@ $(CHECK_ADDR_OBJS) $(LDFLAGS) $(PIE_LDFLAGS) $(LIBS) $(NET_LIBS)
186
203
check_iolog_path: $(CHECK_IOLOG_PATH_OBJS) $(LT_LIBS)
187
$(LIBTOOL) --mode=link $(CC) -o $@ $(CHECK_IOLOG_PATH_OBJS) $(LDFLAGS) $(LIBS)
204
$(LIBTOOL) --mode=link $(CC) -o $@ $(CHECK_IOLOG_PATH_OBJS) $(LDFLAGS) $(PIE_LDFLAGS) $(LIBS)
189
206
check_fill: $(CHECK_FILL_OBJS) $(LT_LIBS)
190
$(LIBTOOL) --mode=link $(CC) -o $@ $(CHECK_FILL_OBJS) $(LDFLAGS) $(LIBS)
207
$(LIBTOOL) --mode=link $(CC) -o $@ $(CHECK_FILL_OBJS) $(LDFLAGS) $(PIE_LDFLAGS) $(LIBS)
209
check_symbols: $(CHECK_SYMBOLS_OBJS) $(LT_LIBS)
210
$(LIBTOOL) --mode=link $(CC) -o $@ $(CHECK_SYMBOLS_OBJS) $(LDFLAGS) $(PIE_LDFLAGS) $(LIBS) @SUDO_LIBS@
192
212
check_wrap: $(CHECK_WRAP_OBJS) $(LT_LIBS)
193
$(LIBTOOL) --mode=link $(CC) -o $@ $(CHECK_WRAP_OBJS) $(LDFLAGS) $(LIBS)
213
$(LIBTOOL) --mode=link $(CC) -o $@ $(CHECK_WRAP_OBJS) $(LDFLAGS) $(PIE_LDFLAGS) $(LIBS)
195
215
GENERATED = gram.h gram.c toke.c def_data.c def_data.h getdate.c
283
301
rm -f $(DESTDIR)$(sudoersdir)/sudoers
285
303
check: $(TEST_PROGS) visudo testsudoers
287
./check_addr $(srcdir)/regress/parser/check_addr.in; \
288
rval=`expr $$rval + $$?`; \
290
rval=`expr $$rval + $$?`; \
291
./check_iolog_path $(srcdir)/regress/iolog_path/data; \
292
rval=`expr $$rval + $$?`; \
293
./check_wrap $(srcdir)/regress/logging/check_wrap.in > check_wrap.out; \
294
diff check_wrap.out $(srcdir)/regress/logging/check_wrap.out.ok; \
295
rval=`expr $$rval + $$?`; \
296
passed=0; failed=0; total=0; \
297
for t in $(srcdir)/regress/sudoers/*.in; do \
299
dirbase=`basename $$dir`; \
304
@-if test X"$(cross_compiling)" != X"yes"; then \
307
./check_addr $(srcdir)/regress/parser/check_addr.in; \
308
rval=`expr $$rval + $$?`; \
310
rval=`expr $$rval + $$?`; \
311
./check_iolog_path $(srcdir)/regress/iolog_path/data; \
312
rval=`expr $$rval + $$?`; \
313
if [ X"$(soext)" != X"" ]; then \
314
./check_symbols .libs/sudoers$(soext) $(shlib_exp); \
315
rval=`expr $$rval + $$?`; \
317
./check_wrap $(srcdir)/regress/logging/check_wrap.in > check_wrap.out; \
318
diff check_wrap.out $(srcdir)/regress/logging/check_wrap.out.ok; \
319
rval=`expr $$rval + $$?`; \
320
passed=0; failed=0; total=0; \
321
mkdir -p regress/sudoers; \
323
for t in $(srcdir)/regress/$$dir/*.in; do \
300
324
base=`basename $$t .in`; \
301
out="$${base}.out"; \
302
toke="$${base}.toke"; \
325
out="regress/sudoers/$${base}.out"; \
326
toke="regress/sudoers/$${base}.toke"; \
303
327
./testsudoers -dt <$$t >$$out 2>$$toke; \
304
if cmp $$out $$dir/$$out.ok >/dev/null; then \
328
if cmp $$out $(srcdir)/$$out.ok >/dev/null; then \
305
329
passed=`expr $$passed + 1`; \
306
echo "$$dirbase/$$base (parse): OK"; \
330
echo "$$dir/$$base (parse): OK"; \
308
332
failed=`expr $$failed + 1`; \
309
echo "$$dirbase/$$base: FAIL"; \
310
diff $$out $$dir/$$out.ok; \
333
echo "$$dir/$$base: FAIL"; \
334
diff $$out $(srcdir)/$$out.ok; \
312
336
total=`expr $$total + 1`; \
313
if cmp $$toke $$dir/$$toke.ok >/dev/null; then \
337
if cmp $$toke $(srcdir)/$$toke.ok >/dev/null; then \
314
338
passed=`expr $$passed + 1`; \
315
echo "$$dirbase/$$base (toke): OK"; \
339
echo "$$dir/$$base (toke): OK"; \
317
341
failed=`expr $$failed + 1`; \
318
echo "$$dirbase/$$base (toke): FAIL"; \
319
diff $$out $$dir/$$out.ok; \
342
echo "$$dir/$$base (toke): FAIL"; \
343
diff $$out $(srcdir)/$$out.ok; \
321
345
total=`expr $$total + 1`; \
323
echo "$$dirbase: $$passed/$$total tests passed; $$failed/$$total tests failed"; \
324
rval=`expr $$rval + $$failed`; \
325
passed=0; failed=0; total=0; \
326
for t in $(srcdir)/regress/*/*.sh; do \
328
dirbase=`basename $$dir`; \
329
base=`basename $$t .sh`; \
330
out="$${base}.out"; \
331
err="$${base}.err"; \
332
$(SHELL) $$t >$$out 2>$$err; \
333
if cmp $$out $$dir/$$out.ok >/dev/null; then \
334
passed=`expr $$passed + 1`; \
335
echo "$$dirbase/$$base: OK"; \
337
failed=`expr $$failed + 1`; \
338
echo "$$dirbase/$$base: FAIL"; \
339
diff $$out $$dir/$$out.ok; \
341
total=`expr $$total + 1`; \
342
if test -s $$dir/$$err.ok; then \
343
if cmp $$err $$dir/$$err.ok >/dev/null; then \
347
echo "$$dir: $$passed/$$total tests passed; $$failed/$$total tests failed"; \
348
rval=`expr $$rval + $$failed`; \
349
for dir in testsudoers visudo; do \
350
mkdir -p regress/$$dir; \
351
passed=0; failed=0; total=0; \
352
for t in $(srcdir)/regress/$$dir/*.sh; do \
353
base=`basename $$t .sh`; \
354
out="regress/$$dir/$${base}.out"; \
355
err="regress/$$dir/$${base}.err"; \
356
TESTDIR=$$PWD/$(srcdir)/regress/$$dir \
357
$(SHELL) $$t >$$out 2>$$err; \
358
if cmp $$out $(srcdir)/$$out.ok >/dev/null; then \
344
359
passed=`expr $$passed + 1`; \
345
echo "$$dirbase/$$base (stderr): OK"; \
360
echo "$$dir/$$base: OK"; \
347
362
failed=`expr $$failed + 1`; \
348
echo "$$dirbase/$$base (stderr): FAIL"; \
349
diff $$out $$dir/$$out.ok; \
363
echo "$$dir/$$base: FAIL"; \
364
diff $$out $(srcdir)/$$out.ok; \
351
366
total=`expr $$total + 1`; \
352
elif test -s $$err; then \
367
if test -s $(srcdir)/$$err.ok; then \
368
if cmp $$err $(srcdir)/$$err.ok >/dev/null; then \
369
passed=`expr $$passed + 1`; \
370
echo "$$dir/$$base (stderr): OK"; \
372
failed=`expr $$failed + 1`; \
373
echo "$$dir/$$base (stderr): FAIL"; \
374
diff $$out $(srcdir)/$$out.ok; \
376
total=`expr $$total + 1`; \
377
elif test -s $$err; then \
381
echo "$$dir: $$passed/$$total tests passed; $$failed/$$total tests failed"; \
382
rval=`expr $$rval + $$failed`; \
356
echo "$$dirbase: $$passed/$$total tests passed; $$failed/$$total tests failed"; \
357
rval=`expr $$rval + $$failed`; exit $$rval
360
-$(LIBTOOL) --mode=clean rm -f $(PROGS) $(TEST_PROGS) *.lo *.o *.la *.a stamp-* core *.core core.* *.out *.toke *.err
388
-$(LIBTOOL) --mode=clean rm -f $(PROGS) $(TEST_PROGS) *.lo *.o *.la *.a stamp-* core *.core core.* *.out *.toke *.err *.inc
362
390
mostlyclean: clean
398
426
$(devdir)/def_data.h $(srcdir)/logging.h $(srcdir)/sudo_nss.h \
399
427
$(incdir)/sudo_plugin.h $(incdir)/sudo_debug.h $(incdir)/gettext.h \
400
428
$(srcdir)/parse.h $(srcdir)/redblack.h $(devdir)/gram.h
401
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/alias.c
429
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/alias.c
402
430
audit.lo: $(srcdir)/audit.c $(top_builddir)/config.h $(incdir)/missing.h \
403
431
$(srcdir)/logging.h $(incdir)/sudo_debug.h $(srcdir)/bsm_audit.h \
404
432
$(srcdir)/linux_audit.h
405
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/audit.c
433
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/audit.c
406
434
boottime.lo: $(srcdir)/boottime.c $(top_builddir)/config.h $(incdir)/missing.h \
407
435
$(incdir)/sudo_debug.h
408
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/boottime.c
436
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/boottime.c
409
437
bsdauth.lo: $(authdir)/bsdauth.c $(top_builddir)/config.h $(srcdir)/sudoers.h \
410
438
$(top_srcdir)/compat/stdbool.h $(top_builddir)/pathnames.h \
411
439
$(incdir)/missing.h $(incdir)/error.h $(incdir)/alloc.h \
412
440
$(incdir)/list.h $(incdir)/fileops.h $(srcdir)/defaults.h \
413
441
$(devdir)/def_data.h $(srcdir)/logging.h $(srcdir)/sudo_nss.h \
414
442
$(incdir)/sudo_plugin.h $(incdir)/sudo_debug.h $(incdir)/gettext.h
415
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/bsdauth.c
443
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(authdir)/bsdauth.c
416
444
bsm_audit.lo: $(srcdir)/bsm_audit.c $(top_builddir)/config.h \
417
445
$(incdir)/gettext.h $(incdir)/error.h $(incdir)/sudo_debug.h \
418
446
$(srcdir)/bsm_audit.h
419
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/bsm_audit.c
447
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/bsm_audit.c
420
448
check.lo: $(srcdir)/check.c $(top_builddir)/config.h $(srcdir)/sudoers.h \
421
449
$(top_srcdir)/compat/stdbool.h $(top_builddir)/pathnames.h \
422
450
$(incdir)/missing.h $(incdir)/error.h $(incdir)/alloc.h \
423
451
$(incdir)/list.h $(incdir)/fileops.h $(srcdir)/defaults.h \
424
452
$(devdir)/def_data.h $(srcdir)/logging.h $(srcdir)/sudo_nss.h \
425
453
$(incdir)/sudo_plugin.h $(incdir)/sudo_debug.h $(incdir)/gettext.h
426
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/check.c
454
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/check.c
427
455
check_addr.o: $(srcdir)/regress/parser/check_addr.c $(top_builddir)/config.h \
428
456
$(srcdir)/sudoers.h $(top_srcdir)/compat/stdbool.h \
429
457
$(top_builddir)/pathnames.h $(incdir)/missing.h \
447
475
$(srcdir)/sudo_nss.h $(incdir)/sudo_plugin.h \
448
476
$(incdir)/sudo_debug.h $(incdir)/gettext.h \
449
477
$(devdir)/def_data.c
450
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/regress/iolog_path/check_iolog_path.c
478
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/regress/iolog_path/check_iolog_path.c
479
check_symbols.o: $(srcdir)/regress/check_symbols/check_symbols.c \
480
$(top_builddir)/config.h $(top_srcdir)/compat/dlfcn.h \
481
$(incdir)/missing.h $(incdir)/error.h
482
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/regress/check_symbols/check_symbols.c
451
483
check_wrap.o: $(srcdir)/regress/logging/check_wrap.c $(top_builddir)/config.h \
452
484
$(incdir)/missing.h $(incdir)/error.h $(incdir)/sudo_plugin.h
453
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/regress/logging/check_wrap.c
485
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/regress/logging/check_wrap.c
454
486
dce.lo: $(authdir)/dce.c $(top_builddir)/config.h $(srcdir)/sudoers.h \
455
487
$(top_srcdir)/compat/stdbool.h $(top_builddir)/pathnames.h \
456
488
$(incdir)/missing.h $(incdir)/error.h $(incdir)/alloc.h \
457
489
$(incdir)/list.h $(incdir)/fileops.h $(srcdir)/defaults.h \
458
490
$(devdir)/def_data.h $(srcdir)/logging.h $(srcdir)/sudo_nss.h \
459
491
$(incdir)/sudo_plugin.h $(incdir)/sudo_debug.h $(incdir)/gettext.h
460
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/dce.c
492
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(authdir)/dce.c
461
493
defaults.lo: $(srcdir)/defaults.c $(top_builddir)/config.h $(srcdir)/sudoers.h \
462
494
$(top_srcdir)/compat/stdbool.h $(top_builddir)/pathnames.h \
463
495
$(incdir)/missing.h $(incdir)/error.h $(incdir)/alloc.h \
466
498
$(incdir)/sudo_plugin.h $(incdir)/sudo_debug.h \
467
499
$(incdir)/gettext.h $(srcdir)/parse.h $(devdir)/gram.h \
468
500
$(devdir)/def_data.c
469
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/defaults.c
501
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/defaults.c
470
502
env.lo: $(srcdir)/env.c $(top_builddir)/config.h $(srcdir)/sudoers.h \
471
503
$(top_srcdir)/compat/stdbool.h $(top_builddir)/pathnames.h \
472
504
$(incdir)/missing.h $(incdir)/error.h $(incdir)/alloc.h \
473
505
$(incdir)/list.h $(incdir)/fileops.h $(srcdir)/defaults.h \
474
506
$(devdir)/def_data.h $(srcdir)/logging.h $(srcdir)/sudo_nss.h \
475
507
$(incdir)/sudo_plugin.h $(incdir)/sudo_debug.h $(incdir)/gettext.h
476
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/env.c
508
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/env.c
477
509
error.o: $(top_srcdir)/src/error.c $(top_builddir)/config.h \
478
510
$(incdir)/missing.h $(incdir)/error.h $(incdir)/gettext.h
479
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(top_srcdir)/src/error.c
511
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(top_srcdir)/src/error.c
480
512
find_path.lo: $(srcdir)/find_path.c $(top_builddir)/config.h \
481
513
$(srcdir)/sudoers.h $(top_srcdir)/compat/stdbool.h \
482
514
$(top_builddir)/pathnames.h $(incdir)/missing.h \
571
603
$(devdir)/def_data.h $(srcdir)/logging.h $(srcdir)/sudo_nss.h \
572
604
$(incdir)/sudo_plugin.h $(incdir)/sudo_debug.h $(incdir)/gettext.h \
573
605
$(srcdir)/parse.h $(incdir)/lbuf.h
574
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/ldap.c
606
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/ldap.c
575
607
linux_audit.lo: $(srcdir)/linux_audit.c $(top_builddir)/config.h \
576
608
$(incdir)/missing.h $(incdir)/error.h $(incdir)/alloc.h \
577
609
$(incdir)/gettext.h $(incdir)/sudo_debug.h \
578
610
$(srcdir)/linux_audit.h
579
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/linux_audit.c
611
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/linux_audit.c
580
612
logging.lo: $(srcdir)/logging.c $(top_builddir)/config.h $(srcdir)/sudoers.h \
581
613
$(top_srcdir)/compat/stdbool.h $(top_builddir)/pathnames.h \
582
614
$(incdir)/missing.h $(incdir)/error.h $(incdir)/alloc.h \
583
615
$(incdir)/list.h $(incdir)/fileops.h $(srcdir)/defaults.h \
584
616
$(devdir)/def_data.h $(srcdir)/logging.h $(srcdir)/sudo_nss.h \
585
617
$(incdir)/sudo_plugin.h $(incdir)/sudo_debug.h $(incdir)/gettext.h
586
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/logging.c
618
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/logging.c
587
619
logwrap.lo: $(srcdir)/logwrap.c $(top_builddir)/config.h $(srcdir)/sudoers.h \
588
620
$(top_srcdir)/compat/stdbool.h $(top_builddir)/pathnames.h \
589
621
$(incdir)/missing.h $(incdir)/error.h $(incdir)/alloc.h \
590
622
$(incdir)/list.h $(incdir)/fileops.h $(srcdir)/defaults.h \
591
623
$(devdir)/def_data.h $(srcdir)/logging.h $(srcdir)/sudo_nss.h \
592
624
$(incdir)/sudo_plugin.h $(incdir)/sudo_debug.h $(incdir)/gettext.h
593
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/logwrap.c
625
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/logwrap.c
594
626
logwrap.o: logwrap.lo
595
627
match.lo: $(srcdir)/match.c $(top_builddir)/config.h $(srcdir)/sudoers.h \
596
628
$(top_srcdir)/compat/stdbool.h $(top_builddir)/pathnames.h \
609
641
$(srcdir)/logging.h $(srcdir)/sudo_nss.h \
610
642
$(incdir)/sudo_plugin.h $(incdir)/sudo_debug.h \
611
643
$(incdir)/gettext.h $(srcdir)/interfaces.h
612
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/match_addr.c
644
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/match_addr.c
613
645
match_addr.o: match_addr.lo
614
646
net_ifs.o: $(top_srcdir)/src/net_ifs.c $(top_builddir)/config.h \
615
647
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \
616
648
$(incdir)/sudo_debug.h $(incdir)/gettext.h
617
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(top_srcdir)/src/net_ifs.c
649
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(top_srcdir)/src/net_ifs.c
618
650
pam.lo: $(authdir)/pam.c $(top_builddir)/config.h $(srcdir)/sudoers.h \
619
651
$(top_srcdir)/compat/stdbool.h $(top_builddir)/pathnames.h \
620
652
$(incdir)/missing.h $(incdir)/error.h $(incdir)/alloc.h \
621
653
$(incdir)/list.h $(incdir)/fileops.h $(srcdir)/defaults.h \
622
654
$(devdir)/def_data.h $(srcdir)/logging.h $(srcdir)/sudo_nss.h \
623
655
$(incdir)/sudo_plugin.h $(incdir)/sudo_debug.h $(incdir)/gettext.h
624
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/pam.c
656
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(authdir)/pam.c
625
657
parse.lo: $(srcdir)/parse.c $(top_builddir)/config.h $(srcdir)/sudoers.h \
626
658
$(top_srcdir)/compat/stdbool.h $(top_builddir)/pathnames.h \
627
659
$(incdir)/missing.h $(incdir)/error.h $(incdir)/alloc.h \
629
661
$(devdir)/def_data.h $(srcdir)/logging.h $(srcdir)/sudo_nss.h \
630
662
$(incdir)/sudo_plugin.h $(incdir)/sudo_debug.h $(incdir)/gettext.h \
631
663
$(srcdir)/parse.h $(incdir)/lbuf.h $(devdir)/gram.h
632
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/parse.c
664
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/parse.c
633
665
passwd.lo: $(authdir)/passwd.c $(top_builddir)/config.h $(srcdir)/sudoers.h \
634
666
$(top_srcdir)/compat/stdbool.h $(top_builddir)/pathnames.h \
635
667
$(incdir)/missing.h $(incdir)/error.h $(incdir)/alloc.h \
636
668
$(incdir)/list.h $(incdir)/fileops.h $(srcdir)/defaults.h \
637
669
$(devdir)/def_data.h $(srcdir)/logging.h $(srcdir)/sudo_nss.h \
638
670
$(incdir)/sudo_plugin.h $(incdir)/sudo_debug.h $(incdir)/gettext.h
639
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/passwd.c
671
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(authdir)/passwd.c
640
672
plugin_error.lo: $(srcdir)/plugin_error.c $(top_builddir)/config.h \
641
673
$(incdir)/missing.h $(incdir)/alloc.h $(incdir)/error.h \
642
674
$(incdir)/sudo_plugin.h $(incdir)/gettext.h
643
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/plugin_error.c
675
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/plugin_error.c
644
676
pwutil.lo: $(srcdir)/pwutil.c $(top_builddir)/config.h $(srcdir)/sudoers.h \
645
677
$(top_srcdir)/compat/stdbool.h $(top_builddir)/pathnames.h \
646
678
$(incdir)/missing.h $(incdir)/error.h $(incdir)/alloc.h \
685
717
$(incdir)/fileops.h $(srcdir)/defaults.h $(devdir)/def_data.h \
686
718
$(srcdir)/logging.h $(srcdir)/sudo_nss.h $(incdir)/sudo_plugin.h \
687
719
$(incdir)/sudo_debug.h $(incdir)/gettext.h
688
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/set_perms.c
720
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/set_perms.c
689
721
sia.lo: $(authdir)/sia.c $(top_builddir)/config.h $(srcdir)/sudoers.h \
690
722
$(top_srcdir)/compat/stdbool.h $(top_builddir)/pathnames.h \
691
723
$(incdir)/missing.h $(incdir)/error.h $(incdir)/alloc.h \
692
724
$(incdir)/list.h $(incdir)/fileops.h $(srcdir)/defaults.h \
693
725
$(devdir)/def_data.h $(srcdir)/logging.h $(srcdir)/sudo_nss.h \
694
726
$(incdir)/sudo_plugin.h $(incdir)/sudo_debug.h $(incdir)/gettext.h
695
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(authdir)/sia.c
727
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(authdir)/sia.c
728
sssd.lo: $(srcdir)/sssd.c $(top_builddir)/config.h \
729
$(top_srcdir)/compat/dlfcn.h $(srcdir)/sudoers.h \
730
$(top_srcdir)/compat/stdbool.h $(top_builddir)/pathnames.h \
731
$(incdir)/missing.h $(incdir)/error.h $(incdir)/alloc.h \
732
$(incdir)/list.h $(incdir)/fileops.h $(srcdir)/defaults.h \
733
$(devdir)/def_data.h $(srcdir)/logging.h $(srcdir)/sudo_nss.h \
734
$(incdir)/sudo_plugin.h $(incdir)/sudo_debug.h $(incdir)/gettext.h \
735
$(srcdir)/parse.h $(incdir)/lbuf.h $(incdir)/sudo_debug.h
736
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(DEFS) $(srcdir)/sssd.c
696
737
sudo_auth.lo: $(authdir)/sudo_auth.c $(top_builddir)/config.h \
697
738
$(srcdir)/sudoers.h $(top_srcdir)/compat/stdbool.h \
698
739
$(top_builddir)/pathnames.h $(incdir)/missing.h \