-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile.in
executable file
·40 lines (33 loc) · 1006 Bytes
/
Makefile.in
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
CC=@CC@
CFLAGS=@CFLAGS@ -fPIC -fno-stack-protector
LIBS=@LIBS@
INSTALL=@INSTALL@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
libdir=@libdir@
mandir=@mandir@
datarootdir=@datarootdir@
sysconfdir=@sysconfdir@
FLAGS=$(CFLAGS) @DEFS@
OBJ=utility.o
all: pam_ihosts.so
pam_ihosts.so: common.h utility.o pam_module.c
$(CC) $(FLAGS) -opam_ihosts.so -shared -lpam pam_module.c $(OBJ)
-strip pam_ihosts.so
utility.o: utility.h utility.c
$(CC) $(FLAGS) -c utility.c
install: pam_ihosts.so
$(INSTALL) -d $(DESTDIR)$(bindir)
$(INSTALL) -d $(DESTDIR)$(libdir)/security
$(INSTALL) -d $(DESTDIR)$(mandir)/man8
$(INSTALL) pam_ihosts.so $(DESTDIR)$(libdir)/security
$(INSTALL) pam_ihosts.8 $(DESTDIR)$(mandir)/man8
clean:
-rm -f *.o *.so
-rm -f config.log config.status */config.log */config.status
-rm -fr autom4te.cache */autom4te.cache
distclean:
-rm -f *.o *.so
-rm -f config.log config.status */config.log */config.status Makefile */Makefile
-rm -fr autom4te.cache */autom4te.cache