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
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.
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]
23 #ident "%Z%%M% %I% %E% SMI"
25 # Copyright (c) 1999, by Sun Microsystems, Inc.
26 # All rights reserved.
28 # Makefile for building Jar manifests. The file lists in the
29 # manifests are dynamically generated from the lists of files
30 # built by javalib/Makefile; this way there is one and only
31 # one list of files which needs to be maintained. slpd.jar
32 # includes all generated classfiles in com/sun/slp, so its
33 # file list is generated by 'ls com/sun/slp/*.class'. slp.jar
34 # contains only a subset of files; these files are named by
35 # the UA_SA_SUBSET_CLASSES macro.
38 include $(SRC)/Makefile.master
41 $(SLPMANI) := JARFILES = $(UA_SA_SUBSET_CLASSES) $(PKGPATH)/$(CLIENT_MSGS)
42 $(SLPMANI) := SPECTITLE = "Service Location Protocol API"
43 $(SLPDMANI) := JARFILES:sh= cd "$CLASSES"; ls "$PKGPATH"/*.class $PKGPATH/*.properties | sed 's/\$/\\\$\$/g'
44 $(SLPDMANI) := SPECTITLE = "Service Location Protocol Daemon"
47 IMPLTITLE = $(PKGNAME)
48 IMPLVERS:sh=echo [`date`]
49 IMPLVEND = "Sun Microsystems, Inc."
50 $(SLPDMANI) := MAINCLASS = "Main-class: com.sun.slp.slpd\\n"
51 $(SLPMANI) := MAINCLASS = ""
54 $(MANIFESTS): Makefile.manifest Makefile.conf
55 @$(ECHO) "Manifest-Version: 1.0" > $@;
56 @$(ECHO) "Specification-Title: $(SPECTITLE)" >> $@;
57 @$(ECHO) "Specification-Version: $(SPECVERSION)" >> $@;
58 @$(ECHO) "Specification-Vendor: $(SPECVENDOR)" >> $@;
59 @$(ECHO) "Implementation-Title: $(IMPLTITLE)" >> $@;
60 @$(ECHO) "Implementation-Version: $(IMPLVERS)" >> $@;
61 @$(ECHO) "Implementation-Vendor: $(IMPLVEND)" >> $@;
62 @$(ECHO) $(MAINCLASS) >> $@;
63 @for f in $(JARFILES); \
65 $(ECHO) "Name: $$f" >> $@; \