-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.in
More file actions
40 lines (32 loc) · 751 Bytes
/
Makefile.in
File metadata and controls
40 lines (32 loc) · 751 Bytes
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
CC = @CC@
CFLAGS = @CFLAGS@ -I.
CCLD = $(CC)
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
all:: netlogind
Makefile: Makefile.in
./config.status
config.h: config.h.in
./config.status
# util,net < os,pam < session,netlogind
OBJS = util.o net.o os.o pam.o session.o netlogind.o
util.c: util.h
util.h: config.h
net.c: util.h net.h
net.h:
os.c: config.h util.h os.h
os.h: config.h
pam.c: pam.h util.h net.h
pam.h: config.h
session.c: session.h config.h util.h net.h os.h pam.h
session.h:
netlogind.c: config.h util.h net.h os.h session.h
.c.o:
$(CC) $(CFLAGS) -c -o $@ $<
netlogind: $(OBJS)
rm -f netlogind
$(CCLD) $(CFLAGS) $(LDFLAGS) -L. -o $@ $(OBJS) $(LIBS)
clean::
rm -f netlogind $(OBJS)
config-clean:
rm -f config.status config.cache config.log