]> git.saurik.com Git - apple/network_cmds.git/blob - newclient.tproj/Makefile
network_cmds-85.tar.gz
[apple/network_cmds.git] / newclient.tproj / Makefile
1 #
2 # Stubbed Legacy Makefile for the newclient script
3 #
4
5 NAME = newclient
6
7 OTHERSRCS = Makefile Makefile.preamble newclient.csh
8
9 MAKEFILEDIR = $(MAKEFILEPATH)/project
10 MAKEFILE = common.make
11
12 # INSTALL is already set to "install -S"
13 XINSTALL = install
14
15 INSTALLDIR=/usr/sbin
16
17 -include Makefile.preamble
18
19 include $(MAKEFILEDIR)/$(MAKEFILE)
20
21 -include Makefile.postamble
22
23 -include Makefile.dependencies
24
25 all project $(NAME):
26
27 install:
28 @dstdir=$(DSTROOT)`grep NEXTSTEP_INSTALLDIR PB.project | sed 's/.*= \(.*\);.*/\1/'`; \
29 if [ ! -d $$dstdir ]; then \
30 $(MKDIRS) $$dstdir; \
31 fi; \
32 $(RM) -f $$dstdir/$(NAME); \
33 echo $(XINSTALL) -c -o $(INSTALL_AS_USER) -g $(INSTALL_AS_GROUP) \
34 -m 555 newclient.csh $$dstdir/$(NAME); \
35 $(XINSTALL) -c -o $(INSTALL_AS_USER) -g $(INSTALL_AS_GROUP) \
36 -m 555 newclient.csh $$dstdir/$(NAME)