File: Make-template

package info (click to toggle)
ldap 3.3-1.1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 5,540 kB
  • ctags: 6,336
  • sloc: ansic: 61,900; makefile: 1,053; sh: 868; python: 201
file content (88 lines) | stat: -rw-r--r-- 2,411 bytes parent folder | download | duplicates (2)
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
79
80
81
82
83
84
85
86
87
88
#-----------------------------------------------------------------------------
# Copyright (c) 1994 Regents of the University of Michigan.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that this notice is preserved and that due credit is given
# to the University of Michigan at Ann Arbor. The name of the University
# may not be used to endorse or promote products derived from this
# software without specific prior written permission. This software
# is provided ``as is'' without express or implied warranty.
#
#       LDAP servers Makefile
#
#-----------------------------------------------------------------------------

############################################################################
#                                                                          #
# You should not have to edit anything below this point                    #
#                                                                          #
############################################################################

#
# rules to make the software
#

all:	FORCE
	@echo "making all in `$(PWD)`"
	@for i in *; do \
	    if [ -d $$i -a $$i != "RCS" ]; then \
		echo "  cd $$i; $(MAKE) $(MFLAGS) all"; \
		( cd $$i; $(MAKE) $(MFLAGS) all ); \
	    fi; \
	done


#
# rules to install the software
#

install:	FORCE
	@echo "making install in `$(PWD)`"
	@for i in *; do \
	    if [ -d $$i -a $$i != "RCS" ]; then \
		echo "  cd $$i; $(MAKE) $(MFLAGS) install"; \
		( cd $$i; $(MAKE) $(MFLAGS) install ); \
	    fi; \
	done

#
# rules to make clean
#

clean:	FORCE
	@echo "making clean in `$(PWD)`"
	@for i in *; do \
	    if [ -d $$i -a $$i != "RCS" ]; then \
		echo "  cd $$i; $(MAKE) $(MFLAGS) clean"; \
		( cd $$i; $(MAKE) $(MFLAGS) clean ); \
	    fi; \
	done

veryclean:	clean

#
# rules to make depend
#
#

depend:	FORCE
	@echo "making depend in `$(PWD)`"
	@for i in *; do \
	    if [ -d $$i -a $$i != "RCS" ]; then \
		echo "  cd $$i; $(MAKE) $(MFLAGS) depend"; \
		( cd $$i; $(MAKE) $(MFLAGS) depend ); \
	    fi; \
	done

links:
	@echo "making links in `$(PWD)`"; \
	for i in .src/*; do \
	    if [ -d $$i -a $$i != ".src/RCS" ]; then \
		d=`basename $$i`; \
		( $(MKDIR) $$d; cd $$d; $(LN) ../.src/$$d .src; \
		  $(LN) ../.src/$$d/Make-template . ; \
		  $(MAKE) $(MFLAGS) MKDIR="$(MKDIR)" LN="$(LN)" \
		    -f Make-template links ) ; \
	    fi; \
	done