]> git.saurik.com Git - apple/network_cmds.git/blame - newclient.tproj/Makefile
network_cmds-76.tar.gz
[apple/network_cmds.git] / newclient.tproj / Makefile
CommitLineData
b7080c8e
A
1#
2# Stubbed Legacy Makefile for the newclient script
3#
4
5NAME = newclient
6
7OTHERSRCS = Makefile Makefile.preamble newclient.csh
8
9MAKEFILEDIR = $(MAKEFILEPATH)/project
10MAKEFILE = common.make
11
12# INSTALL is already set to "install -S"
13XINSTALL = install
14
15INSTALLDIR=/usr/sbin
16
17-include Makefile.preamble
18
19include $(MAKEFILEDIR)/$(MAKEFILE)
20
21-include Makefile.postamble
22
23-include Makefile.dependencies
24
25all project $(NAME):
26
27install:
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)