xref: /titanic_41/usr/src/cmd/krb5/kadmin/gui/util/Makefile (revision 1402f64f9efa57c2c2cba776f3f45c67e6055deb)
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# Copyright (c) 1999-2001 by Sun Microsystems, Inc.
24# All rights reserved.
25#
26
27include ../../../../../Makefile.master
28include ../../../../Makefile.cmd
29
30
31GUIDIR=$(SRC)/cmd/krb5/kadmin/gui
32
33CLASSES=HelpDialog ContextHelp ChoiceDialog
34
35JFILES=$(CLASSES:%=%.java)
36
37CLFILES=$(CLASSES:%=../classdir/%.class)
38
39.SUFFIXES: .java .class $(SUFFIXES)
40
41CLASSPATH=$(GUIDIR):$(GUIDIR)/classdir:$(GUIDIR)/util:$(GUIDIR)/dataclasses:$(GUIDIR)/dchanger:$(GUIDIR)/native:$(GUIDIR)/visualrt:$(GUIDIR)/visualrt.jar:$(JAVA_ROOT)/jre/lib/rt.jar:$(JAVA_ROOT)/jre/lib/i18n.jar
42
43../classdir/%.class: %.java
44	$(JAVAC) $(JAVAFLAGS) -d ../classdir -classpath $(CLASSPATH) $<
45
46all: $(CLFILES)
47
48install: all
49
50echo:
51	@echo $(CLASSES)
52	@echo $(JFILES)
53	@echo $(CLFILES)
54	@echo $(SUFFIXES)
55
56clobber : clobber_local
57
58clean: clean_local
59
60clobber_local: clean_local
61
62clean_local:
63	$(RM) $(CLFILES)
64
65FRC:
66