1 # 2 # CDDL HEADER START 3 # 4 # The contents of this file are subject to the terms of the 5 # Common Development and Distribution License, Version 1.0 only 6 # (the "License"). You may not use this file except in compliance 7 # with the License. 8 # 9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 # or http://www.opensolaris.org/os/licensing. 11 # See the License for the specific language governing permissions 12 # and limitations under the License. 13 # 14 # When distributing Covered Code, include this CDDL HEADER in each 15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 # If applicable, add the following below this CDDL HEADER, with the 17 # fields enclosed by brackets "[]" replaced with your own identifying 18 # information: Portions Copyright [yyyy] [name of copyright owner] 19 # 20 # CDDL HEADER END 21 # 22 # 23 #ident "%Z%%M% %I% %E% SMI" 24 # 25 # Copyright (c) 2000 by Sun Microsystems, Inc. 26 # All rights reserved. 27 # 28 # cmd/cmd-inet/etc/ppp/Makefile 29 # 30 31 PPPDIR= ppp 32 PEERSDIR= peers 33 ETCPROGROOT= pap-secrets chap-secrets 34 ETCPROG= options.tmpl options.ttya.tmpl myisp-chat.tmpl 35 ETCPEERS= myisp.tmpl 36 37 include ../../../Makefile.cmd 38 39 ETCPPPDIR= $(ROOTETC)/$(PPPDIR) 40 ETCPEERSDIR= $(ETCPPPDIR)/$(PEERSDIR) 41 ETCPPPPROG= $(ETCPROG:%=$(ETCPPPDIR)/%) $(ETCPEERS:%=$(ETCPEERSDIR)/%) 42 ETCPPPPROGROOT= $(ETCPROGROOT:%=$(ETCPPPDIR)/%) 43 44 OWNER= root 45 GROUP= sys 46 47 # This is here to allow the make command to override this value; 48 # setting it to 0644 simplifies packaging. 49 SECRETSMODE= 0600 50 51 $(ETCPPPPROG) := FILEMODE = 0644 52 $(ETCPPPPROGROOT) := FILEMODE = $(SECRETSMODE) 53 54 .KEEP_STATE: 55 56 all: 57 58 install: all $(ETCPPPDIR) $(ETCPEERSDIR) \ 59 $(ETCPPPPROG) $(ETCPPPPROGROOT) 60 61 $(ETCPPPDIR)/% : % 62 $(INS.file) 63 64 $(ETCPPPDIR): 65 $(INS.dir) 66 67 $(ETCPEERSDIR)/% : % 68 $(INS.file) 69 70 $(ETCPEERSDIR): 71 $(INS.dir) 72 73 FRC: 74 75 clean clobber lint: 76