home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 39 / IOPROG_39.ISO / SOFT / sdkjava40.exe / data1.cab / fg_Samples / Samples / WFC / ClassDecoder / MAKEFILE < prev   
Encoding:
Text File  |  2000-05-04  |  1.8 KB  |  41 lines

  1. # ----------------------------------------------------------------------------
  2. # Standard Microsoft SDK for Java MAKEFILE for Samples
  3. # ----------------------------------------------------------------------------
  4.  
  5. # ----------------------------------------------------------------------------
  6. # Tools
  7. # ----------------------------------------------------------------------------
  8.  
  9. JVCATTR = jvc.exe -nologo -nomessage -x-
  10. JCTVXATTR = jactivex /javatlb /X:m-
  11. JEXEGEN = jexegen
  12. CABARC = cabarc
  13. MIDLATTR = midl.exe /Oicf /nologo  
  14. SIGNCODE = signcode -j javasign.dll -jp low 
  15. MAKECERT = makecert
  16. CERT2SPC = cert2spc
  17. # ----------------------------------------------------------------------------
  18. # Set destination directory.
  19. # ----------------------------------------------------------------------------
  20.  
  21. DEST_DIR= .
  22.  
  23. # ----------------------------------------------------------------------------
  24. #
  25. # ----------------------------------------------------------------------------
  26.  
  27. all:
  28.     $(JVCATTR) -d $(DEST_DIR) sample\decoder\*.java
  29.     $(JVCATTR) -d $(DEST_DIR) sample\appletViewer\*.java
  30.     $(JVCATTR) -d $(DEST_DIR) sample\viewer\*.java
  31.     $(JEXEGEN) /MAIN:sample.viewer.ClassDecoder /OUT:$(DEST_DIR)\ClassViewer.exe /R /w /v sample\*.class sample\*.res*
  32.     $(CABARC) -r -p N $(DEST_DIR)\classviewer.cab sample\appletViewer\*.class sample\decoder\*.class
  33.     $(MAKECERT) -sk sample -n "CN=sample" sample.cer
  34.     $(CERT2SPC) sample.cer sample.spc
  35.     $(SIGNCODE) -spc sample.spc -k sample $(DEST_DIR)\classviewer.cab
  36. #    xcopy decode.htm $(DEST_DIR)\decode.htm
  37.     del sample.cer
  38.     del sample.spc
  39. # ----------------------------------------------------------------------------
  40. # Dependencies
  41. # ----------------------------------------------------------------------------