]> git.saurik.com Git - apple/network_cmds.git/blame_incremental - ypinit.tproj/Makefile
network_cmds-85.tar.gz
[apple/network_cmds.git] / ypinit.tproj / Makefile
... / ...
CommitLineData
1#
2# RC Makefile for ypinit scripts on Rhapsody.
3#
4# $Id: Makefile,v 1.1.1.1 1999/05/02 03:59:01 wsanchez Exp $
5#
6
7VARYP=$(DSTROOT)/private/var/yp
8USRSBIN=$(DSTROOT)/usr/sbin
9
10PROJECT=ypinit.tproj
11
12.PHONY: all install installhdrs installsrc build clean recurse
13
14all: build
15
16##
17# Targets
18##
19
20build: build_init
21
22build_init:
23 @echo "Building $(PROJECT)..."
24
25installsrc:
26 -mkdir -p $(SRCROOT)$(SRCPATH)
27 cp Makefile Makefile.yp Makefile.main ypinit.sh $(SRCROOT)$(SRCPATH)
28
29installhdrs:
30
31clean:
32
33install: install_makefiles install_binaries
34
35install_makefiles:
36 -mkdir -p $(VARYP)
37 install -c -m 644 Makefile.yp $(VARYP)
38 -chown root.wheel $(VARYP)/Makefile.yp
39 install -c -m 644 Makefile.main $(VARYP)
40 -chown root.wheel $(VARYP)/Makefile.main
41
42install_binaries:
43 -mkdir -p $(USRSBIN)
44 install -c -m 755 ypinit.sh $(USRSBIN)
45 -chown root.wheel $(USRSBIN)/ypinit
46