windows-nt/Source/XPSP1/NT/inetsrv/msmq/sdk/samples/javadraw/makefile
2020-09-26 16:20:57 +08:00

34 lines
1.4 KiB
Makefile

# ----------------------------------------------------------------------------
# Standard Microsoft SDK for Java MAKEFILE for Samples
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# Platform SDK root
# ----------------------------------------------------------------------------
ROOT = ..\..\..\..
# ----------------------------------------------------------------------------
# Tools
# ----------------------------------------------------------------------------
JVCATTR = jvc.exe /nologo /nowarn /x- /nomessage
# ----------------------------------------------------------------------------
# Set destination directory.
# ----------------------------------------------------------------------------
DEST_DIR= .
# ----------------------------------------------------------------------------
# generate com wrapper to mqoa.tlb and build the sample.
# ----------------------------------------------------------------------------
all:
if NOT exist %windir%\Java\Classes\Classes.zip clspack -auto
JActiveX /w /d $(DEST_DIR) $(ROOT)\lib\mqoa.tlb
$(JVCATTR) /d $(DEST_DIR) *.java
jexegen /main:DistDraw /out:$(DEST_DIR)\DistDraw.exe /w *.class
# ----------------------------------------------------------------------------
# Dependencies
# ----------------------------------------------------------------------------