home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2003 September / VPR0309.ISO / DOTNETSDK / dotNETSDK / setup.exe / netfxsd1.cab / makefile_656________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Encoding:
Makefile  |  2001-09-27  |  1.3 KB  |  53 lines

  1. !IFDEF DEBUG
  2. _CPP_DBG_FLAGS=/Zi /D "_DEBUG"
  3. _LINK_DBG_FLAGS=/debug
  4. _VBC_DBG_FLAGS=/debug:full
  5. _CSC_DBG_FLAGS=/debug:full
  6. !ELSE
  7. _CPP_DBG_FLAGS=
  8. _LINK_DBG_FLAGS=
  9. _VBC_DBG_FLAGS=/debug-
  10. _CSC_DBG_FLAGS=/debug-
  11. !ENDIF
  12.  
  13.  
  14. first: run
  15.  
  16.  
  17. all:    Account.dll Loan.dll RateSvr.dll Customer.dll
  18.  
  19. Account.dll:    Account.cpp
  20.     cl /CLR /GX $(_CPP_DBG_FLAGS) $? -link -dll $(_LINK_DBG_FLAGS) /out:$@
  21.     regasm /nologo /silent $*.dll /tlb:$*.tlb
  22.     gacutil /i $*.dll
  23.  
  24.  
  25. Loan.dll:    Account.dll
  26.     vbc $(_VBC_DBG_FLAGS) /t:library /r:Account.dll /out:loan.dll loan.vb /nologo
  27.     regasm /nologo /silent $*.dll /tlb:$*.tlb
  28.     gacutil /i $*.dll
  29.  
  30. RateSvr.dll:        RateSvr\RateLookup.tlb
  31.     regsvr32 /s rateSvr\ratelookup.dll
  32.     tlbimp /nologo RateSvr\RateLookup.dll /silent /keyfile:bank.snk
  33.     gacutil /i $*.dll
  34.  
  35. Customer.dll:    Customer.cpp
  36.     cl /CLR /GX $(_CPP_DBG_FLAGS) $? -link -dll $(_LINK_DBG_FLAGS) /out:$@
  37.     regasm /nologo /silent $*.dll /tlb:$*.tlb
  38.     gacutil /i $*.dll
  39.  
  40. run: all
  41.     start bank.vbp
  42.  
  43. clean:
  44.     @if exist Account.obj  del Account.obj
  45.     @if exist customer.obj del customer.obj
  46.     @if exist Account.dll  del Account.dll
  47.     @if exist Customer.dll del Customer.dll
  48.     @if exist loan.dll     del loan.dll
  49.     @if exist RateSvr.dll  del RateSvr.dll
  50.     @if exist Account.tlb  del Account.tlb
  51.     @if exist Customer.tlb del Customer.tlb
  52.     @if exist Loan.tlb     del Loan.tlb
  53.