/usr/share/sendmail/examples/milter/Makefile is in sendmail-base 8.15.2-10.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #!/usr/bin/make -f
SHELL= /bin/sh
# Define standard compile/install flags
CC = gcc
CFLAGS = -O2 -Wall
INSTALL = install
INCLS = -I.
DEFS =
CFLAGS += $(DEFS) $(INCLS)
LDFLAGS =
LIBS = /usr/lib/libmilter/libmilter.a \
/usr/lib/libmilter/libsm.a \
-lldap -llber \
-lbind \
-pthread
all: sample
sample: sample.c
@rm -f $@
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $? $(LIBS)
clean:
rm -rf sample *~
|