home *** CD-ROM | disk | FTP | other *** search
- # ----------------------------------------------------------------------------
- # Standard Microsoft SDK for Java MAKEFILE for Samples
- # ----------------------------------------------------------------------------
-
- # ----------------------------------------------------------------------------
- # Tools
- # ----------------------------------------------------------------------------
-
- JVCATTR = jvc.exe -nologo -nomessage -x-
- JCTVXATTR = jactivex /javatlb /X:m-
- JEXEGEN = jexegen
- CABARC = cabarc
- MIDLATTR = midl.exe /Oicf /nologo
- SIGNCODE = signcode -j javasign.dll -jp low
- MAKECERT = makecert
- CERT2SPC = cert2spc
- # ----------------------------------------------------------------------------
- # Set destination directory.
- # ----------------------------------------------------------------------------
-
- DEST_DIR= .
-
- # ----------------------------------------------------------------------------
- #
- # ----------------------------------------------------------------------------
-
- all:
- $(JVCATTR) -d $(DEST_DIR) sample\decoder\*.java
- $(JVCATTR) -d $(DEST_DIR) sample\appletViewer\*.java
- $(JVCATTR) -d $(DEST_DIR) sample\viewer\*.java
- $(JEXEGEN) /MAIN:sample.viewer.ClassDecoder /OUT:$(DEST_DIR)\ClassViewer.exe /R /w /v sample\*.class sample\*.res*
- $(CABARC) -r -p N $(DEST_DIR)\classviewer.cab sample\appletViewer\*.class sample\decoder\*.class
- $(MAKECERT) -sk sample -n "CN=sample" sample.cer
- $(CERT2SPC) sample.cer sample.spc
- $(SIGNCODE) -spc sample.spc -k sample $(DEST_DIR)\classviewer.cab
- # xcopy decode.htm $(DEST_DIR)\decode.htm
- del sample.cer
- del sample.spc
- # ----------------------------------------------------------------------------
- # Dependencies
- # ----------------------------------------------------------------------------