summaryrefslogtreecommitdiff
blob: 7cffea2e770790b1cff34bbf8821bb39158f22c9 (plain)
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
--- libAfterImage-1.18/Makefile.in.old	2008-12-13 13:31:30 +0000
+++ libAfterImage-1.18/Makefile.in	2008-12-13 13:32:06 +0000
@@ -206,7 +206,7 @@
 		)
 
 install.apps: install.lib
-		@(if test -d apps; then cd apps; make install || exit 1; fi)
+		@(if test -d apps; then cd apps; $(MAKE) install || exit 1; fi)
 
 # uninstallation targets : 
 #
@@ -250,7 +250,7 @@
 		done
 
 uninstall.apps:
-		@(if test -d apps; then cd apps; make uninstall || exit 1; fi)
+		@(if test -d apps; then cd apps; $(MAKE) uninstall || exit 1; fi)
 
 uninstall.lib:		@LIBUNINSTALL@ uninstall.inc uninstall.apps
 
@@ -261,11 +261,11 @@
 clean:
 		$(RMF) $(LIB_SHARED) $(LIB_SHARED_CYG) $(LIB_SHARED_CYG_AR) $(LIB_STATIC) *.so.* *.so *.o *~ *% *.bak \#* core ; \
 		for I in ${subdirs}; do $(RMF) $$I/*.o $$I/*.obj $$I/*.bak; done
-		@(if test -d apps; then cd apps; make clean || exit 1; fi)
+		@(if test -d apps; then cd apps; $(MAKE) clean || exit 1; fi)
 
 distclean: clean
 		$(RMF) $(LIB_SHARED) $(LIB_SHARED_CYG) $(LIB_SHARED_CYG_AR) $(LIB_STATIC)  *.o *.so.* *~ *% *.bak \#* *.orig core Makefile 
-		@(if test -d apps; then cd apps; make distclean || exit 1; fi)
+		@(if test -d apps; then cd apps; $(MAKE) distclean || exit 1; fi)
 
 indent:
 		@SRCS=`echo "$(AFTERIMAGE_OBJS) " | sed "s/.o /.c /g"`; \
@@ -276,7 +276,7 @@
 		    mv /tmp/$$i $$i; \
 		  fi; \
 		done ; \
-		(if test -d apps; then cd apps; make indent || exit 1; fi )
+		(if test -d apps; then cd apps; $(MAKE) indent || exit 1; fi )
 
 deps:
 		@echo -n > .depend ; \
@@ -310,10 +310,10 @@
 		  echo -n '		$$('$(LIB_NAME)_PATH')'/$$f >> .shared ; \
 		done; \
 		echo "" >> .shared ; \
-		(if test -d apps; then cd apps; make deps || exit 1; fi)
+		(if test -d apps; then cd apps; $(MAKE) deps || exit 1; fi)
 
 apps: 	@APPSDEPS@
-		@(if test -d apps; then cd apps; make; fi )
+		@(if test -d apps; then cd apps; $(MAKE); fi )
 
 
 $(LIB_STATIC):	$(LIB_OBJS) $(LIB_INCS) config.h