blob: ad45436b1629f13992e75eaa64208c54df7e311b (
plain) (
blame)
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
|
--- dst/Makefile.dist.orig Sun Nov 17 03:27:43 2002
+++ dst/Makefile.dist Fri Mar 5 23:40:45 2004
@@ -26,12 +26,24 @@
all: libdst.a
-install:
-
libdst.a: $(OBJ)
rm -f dst.a
ar cruv libdst.a $(OBJ)
$(RANLIB) libdst.a
+
+install: all
+ for dir in $(LIBDIR);\
+ do \
+ foo=""; \
+ for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \
+ foo=$${foo}/$$bar; \
+ if [ ! -d $$foo ]; then \
+ mkdir $$foo; \
+ chmod 755 $$foo; \
+ fi; \
+ done; \
+ done
+ $(INSTALL) libdst.a $(DESTDIR)$(LIBDIR)
depend:
$(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRC)
|