-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile.in
64 lines (48 loc) · 1.26 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# This is NOT generated by automake!
AUTORECONF=autoreconf
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
datadir=@datadir@
datarootdir=@datarootdir@
mandir=@mandir@
mansubdir=@mansubdir@
sysconfdir=@sysconfdir@
piddir=@piddir@
srcdir=@srcdir@
top_srcdir=@top_srcdir@
DESTDIR=
VPATH=@srcdir@
PATHS= -DDUODIR=\"$(sysconfdir)\"
CC=@CC@
LD=@LD@
CFLAGS=@CFLAGS@
CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ @OPENSSL_INCLUDES@ $(PATHS) @DEFS@
LDFLAGS=-L. @OPENSSL_LDFLAGS@ @LDFLAGS@
LIBS=@OPENSSL_LIBS@ @LIBS@
AR=@AR@
RANLIB=@RANLIB@
INSTALL=@INSTALL@
LIBDUO_OBJS= duo.o http_parser.o https.o match.o parson.o urlenc.o
TARGETS= libduo.a test-duoapi test-duologin
all: $(TARGETS)
$(LIBDUO_OBJS): Makefile.in config.h
.c.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
libduo.a: $(LIBDUO_OBJS)
$(AR) rv $@ $(LIBDUO_OBJS)
$(RANLIB) $@
test-duoapi: test-duoapi.o libduo.a
$(LD) -o $@ test-duoapi.o $(LDFLAGS) -lduo $(LIBS)
test-duologin: test-duologin.o libduo.a
$(LD) -o $@ test-duologin.o $(LDFLAGS) -lduo $(LIBS)
clean:
rm -f *.o *.a $(TARGETS) config.cache config.log
rm -f *.out core
distclean:
rm -f *.o *.a $(TARGETS) logintest config.cache config.log
rm -f *.out core *~
rm -f Makefile config.h config.status
rm -rf autom4te.cache