home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 39 / IOPROG_39.ISO / SOFT / sdkjava40.exe / data1.cab / fg_Samples / Samples / COM / CCIEx / makefile < prev    next >
Encoding:
Makefile  |  2000-05-04  |  1.4 KB  |  43 lines

  1. # ----------------------------------------------------------------------------
  2. # Standard Microsoft SDK for Java MAKEFILE for Samples
  3. # ----------------------------------------------------------------------------
  4.  
  5. # ----------------------------------------------------------------------------
  6. # Tools
  7. # ----------------------------------------------------------------------------
  8.  
  9. JVCATTR = jvc.exe -nologo -x- -nomessage
  10. MIDLATTR = midl.exe /Oicf /nologo
  11. JCTVXATTR = jactivex /javatlb /X:m-
  12.  
  13. # ----------------------------------------------------------------------------
  14. # Set destination directory.
  15. # ----------------------------------------------------------------------------
  16.  
  17. DEST_DIR= .
  18. OUTDIR=.\Debug
  19.  
  20. # ----------------------------------------------------------------------------
  21. # Build the sample
  22. # ----------------------------------------------------------------------------
  23.  
  24. all:
  25.     $(MIDLATTR)  sample.idl
  26.     $(MAKE) -f proxystub.mak
  27.     copy Debug\*.dll $(DEST_DIR)    
  28.     $(JCTVXATTR) -d $(DEST_DIR) sample.tlb
  29.     $(JVCATTR) -d $(DEST_DIR) sample\dcom\*.java
  30.     $(JVCATTR) -d $(DEST_DIR) sample\*.java
  31.  
  32. # ----------------------------------------------------------------------------
  33. # Clean up the output files
  34. # ----------------------------------------------------------------------------
  35.  
  36. clean:
  37.     del *.tlb
  38.     del *.c
  39.     del sample.h
  40.     del *.dll
  41.     del sample\*.class
  42.     del sample\dcom\*.class
  43.     if exist $(OUTDIR)\nul @rd /S /Q $(OUTDIR)