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

  1. !IFNDEF NETSAMPLEPATH
  2. !ERROR Env Variable NETSAMPLEPATH must be defined: Parent directory of QuickStart Samples
  3. !ENDIF
  4.  
  5. !include $(NETSAMPLEPATH)\QuickStart\master.mak
  6.  
  7.  
  8. #--------------------------------------------------
  9. TARGET1 = MakeResources.exe
  10. TARGET2 = MultipleResources.exe
  11.  
  12. SOURCES1 = MakeResources.vb
  13. SOURCES2 = MultipleResources.vb
  14.  
  15. CLEANUP = *.exe *.dll *.pdb *.resources
  16. CLEANUPDLL = en-NZ\MultipleResources.resources.dll \
  17.              ja\MultipleResources.resources.dll \
  18.              de\MultipleResources.resources.dll
  19. #--------------------------------------------------
  20. _IMPORTS=/r:System.Drawing.dll /r:System.dll /r:System.Windows.Forms.dll
  21.  
  22. #--------------------------------------------------
  23. all : $(TARGET1) DLLS $(TARGET2)
  24.     rem Sample $(MAKEDIR)
  25.  
  26. $(TARGET1) : $(SOURCES1)
  27.     $(_BC) $(_VB_EXE_FLAGS) $(_IMPORTS) /out:$@ $(SOURCES1) $(NETSAMPLEPATH)\QuickStart\QSVersion.vb
  28.     $@
  29.  
  30. DLLS : $(TARGET1)
  31.     if not exist en-NZ md en-NZ
  32.     if not exist de md de
  33.     if not exist ja md ja
  34.     $(_AL) /t:lib /out:.\en-NZ\MultipleResources.resources.dll /embed:items.en-NZ.resources /culture:en-NZ /title:" " /descr:"A QuickStart Tutorial Assembly" /config:" " /comp:"Microsoft Corporation" /prod:"Microsoftョ QuickStart Tutorials" /copy:"ゥ Microsoft Corporation.  All rights reserved." /trade:" " /v:1.0.*
  35.     $(_AL) /t:lib /out:.\de\MultipleResources.resources.dll /embed:items.de.resources /culture:de /title:" " /descr:"A QuickStart Tutorial Assembly" /config:" " /comp:"Microsoft Corporation" /prod:"Microsoftョ QuickStart Tutorials" /copy:"ゥ Microsoft Corporation.  All rights reserved." /trade:" " /v:1.0.*
  36.     $(_AL) /t:lib /out:.\ja\MultipleResources.resources.dll /embed:items.ja.resources /culture:ja /title:" " /descr:"A QuickStart Tutorial Assembly" /config:" " /comp:"Microsoft Corporation" /prod:"Microsoftョ QuickStart Tutorials" /copy:"ゥ Microsoft Corporation.  All rights reserved." /trade:" " /v:1.0.*
  37.  
  38. $(TARGET2) : DLLS $(SOURCES2)
  39.     $(_BC) $(_VB_EXE_FLAGS) $(_IMPORTS) /out:$@ $(SOURCES2) $(NETSAMPLEPATH)\QuickStart\QSVersion.vb /res:items.resources
  40.  
  41. clean :
  42.     for %i in ( $(CLEANUP) ) do del %i
  43.     for %i in ( $(CLEANUPDLL) ) do if exist %i del %i
  44.     if exist en-NZ rd en-NZ
  45.     if exist de rd de
  46.     if exist ja rd ja
  47. #--------------------------------------------------
  48.  
  49.