#
# @(#)Makefile	1.3 98/09/15
#
# javah
#

BUILDDIR = ..\..\..
LOCATION = com\sun\javah
PROGRAM = javah
!include $(BUILDDIR)\makefiles\defs.nmk

#
# Stuff to compile.
#
PKG = com.sun.tools.javah
!include $(MINCLUDES)\com_sun_javah.jmk

JAVA_ARGS    = "{\"-J-ms8m\",\"com.sun.tools.javah.Main\"}"

#
# Rules.
#
!include $(BUILDDIR)\makefiles\program.nmk

#
# Properties.
#
RESSRC = $(SHARE_SRC)\classes\com\sun\tools\javah\resources
RESDST = $(CLASSBINDIR)\com\sun\tools\javah\resources
optimized.epilogue debug.epilogue: $(RESDST) properties.install

properties.install: $(RESDST)\l10n.properties \
		    $(RESDST)\l10n_ja.properties \
		    $(RESDST)\win32_x86.properties

$(RESDST)\l10n.properties: $(RESSRC)\l10n.properties
	$(DEL) $@
	copy $? $@

$(RESDST)\l10n_ja.properties: $(RESSRC)\l10n_ja.properties
	$(DEL) $@
	copy $? $@

$(RESDST)\win32_x86.properties: $(RESSRC)\win32_x86.properties
	$(DEL) $@
	copy $? $@

$(RESDST):
	if not exist $@ mkdir $@
