Lines 4-5
Link Here
|
4 |
|
4 |
|
|
|
5 |
CAT = cat |
5 |
PERL = perl |
6 |
PERL = perl |
Lines 7-10
Link Here
|
7 |
|
8 |
|
|
|
9 |
.PHONY: all install install-whois install-mkpasswd install-pos distclean clean pos depend |
10 |
|
11 |
|
8 |
whois_OBJECTS := whois.o utils.o |
12 |
whois_OBJECTS := whois.o utils.o |
9 |
mkpasswd_OBJECTS := mkpasswd.o utils.o |
13 |
mkpasswd_OBJECTS := mkpasswd.o utils.o |
|
|
14 |
DEPINFOS := mkpasswd.depinfo utils.depinfo whois.depinfo |
10 |
|
15 |
|
Lines 58-59
Link Here
|
58 |
|
63 |
|
|
|
64 |
%.depinfo: %.c |
65 |
$(CC) $(DEFS) $(INCLUDES) $(CFLAGS) -MM -MG $< > $@ |
66 |
|
59 |
whois: $(whois_OBJECTS) |
67 |
whois: $(whois_OBJECTS) |
Lines 108-109
Link Here
|
108 |
rm -f po/*.mo |
116 |
rm -f po/*.mo |
|
|
117 |
rm -f $(DEPINFOS) |
109 |
|
118 |
|
Lines 113-116
Link Here
|
113 |
depend: Makefile.depend |
122 |
depend: Makefile.depend |
114 |
Makefile.depend: |
123 |
Makefile.depend: $(DEPINFOS) |
115 |
$(CC) $(DEFS) $(INCLUDES) $(CFLAGS) -MM -MG *.c > $@ |
124 |
$(CAT) $(DEPINFOS) > $@ |
116 |
|
125 |
|