forked from Remmy/afterstep
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Makefile.libs.in
79 lines (57 loc) · 2.13 KB
/
Makefile.libs.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
@MAKEFILEDEFINES@
confsdirs= autoconf libAfterBase libAfterImage
subdirs = libAfterBase libAfterImage
all:
@for I in ${subdirs}; do (cd $$I; ${MAKE} $@ || exit 1); done
mkdir: mkdir.bin mkdir.lib mkdir.man
mkdir.bin:
@$(MKDIR) -p $(AFTER_BIN_DIR);
mkdir.lib:
@$(MKDIR) -p $(LIBDIR);
mkdir.man:
@$(MKDIR) -p $(AFTER_MAN_DIR); $(MKDIR) -p $(AFTER_MAN_API_DIR);
install: install.data mkdir
@for I in ${subdirs}; do (cd $$I; ${MAKE} install || exit 1); done
install.bin: mkdir.bin
@for I in ${subdirs}; do (cd $$I; ${MAKE} install.bin || exit 1); done
install.lib: mkdir.lib
@for I in ${subdirs}; do (cd $$I; ${MAKE} install.lib || exit 1); done
install.man: mkdir.man
@for I in ${subdirs}; do (cd $$I; ${MAKE} install.man || exit 1); done
install.script: mkdir.bin
@for I in ${subdirs}; do (cd $$I; ${MAKE} install.script || exit 1); done
install.data:
$(MKDIR) -p $(AFTER_DOC_DIR)
uninstall:
@for I in ${subdirs}; do (cd $$I; ${MAKE} uninstall || exit 1); done
clean:
@for I in ${subdirs}; do (cd $$I; ${MAKE} clean || exit 1); done
distclean:
@for I in ${subdirs}; do (cd $$I; ${MAKE} distclean || exit 1); done
$(RMF) config.cache config.log config.status Makefile.bak Makefile config.h configure.h *.o *~ *% *.bak \#* core
indent:
for i in ${subdirs}; do ${MAKE} -C $$i indent; done
@cd include; \
for i in *.h; do \
if (indent < $$i > /tmp/$$i); then \
echo indent $$i; \
mv /tmp/$$i $$i; \
fi; \
done
deps:
for I in ${subdirs}; do (cd $$I; touch .depend || exit 1); done; \
for I in ${subdirs}; do (cd $$I; ${MAKE} deps || exit 1); done
config:
for I in ${confsdirs}; do \
autoconf --localdir=$$I $$I/configure.in > \
$$I/configure ; chmod 755 $$I/configure ; \
done; \
autoconf --localdir=autoconf autoconf/configure.libs.in > \
autoconf/configure.libs ; chmod 755 autoconf/configure.libs ; \
$(MV) autoconf/configure.libs ./ \
$(MV) autoconf/configure ./
configclean:
$(RMF) ./config.status ./config.log ./include/config.h ./config.cache ./include/configure.h ; \
for I in ${confsdirs}; do \
$(RMF) $$I/config.status $$I/config.log $$I/config.h $$I/config.cache $$I/configure.h ; \
done; \