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# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 23# Use is subject to license terms. 24# 25 26include ../../../../../Makefile.master 27include ../../../../Makefile.cmd 28 29 30GUIDIR=$(SRC)/cmd/krb5/kadmin/gui 31 32CLASSES=DCPanel DCListener DCTextField DCCircularTextField DateTimeDialog \ 33 DurationHelper LineSeparator EncListDialog 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 $(RM) ./*.class 65 66FRC: 67