home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2003 September / VPR0309.ISO / DOTNETSDK / dotNETSDK / setup.exe / netfxsd1.cab / makefile_305________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Encoding:
Makefile  |  2001-09-18  |  2.5 KB  |  56 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 = UseResources.resources \
  10.           en-NZ\UseResources.resources.dll \
  11.           ja\UseResources.resources.dll \
  12.           de\UseResources.resources.dll
  13.  
  14. TARGET2 = UseResources.en-NZ.resources \
  15.           UseResources.ja.resources \
  16.           UseResources.de.resources
  17.  
  18. TARGET3 = UseResources.exe
  19.  
  20. SOURCES = UseResources.cs
  21.  
  22. CLEANUP = *.exe *.dll *.pdb *.resources
  23. CLEANUPDLL = en-NZ\UseResources.resources.dll \
  24.              ja\UseResources.resources.dll \
  25.              de\UseResources.resources.dll
  26. #--------------------------------------------------
  27. _IMPORTS=/r:System.Drawing.dll
  28.  
  29. #--------------------------------------------------
  30. all : $(TARGET1) $(TARGET2) $(TARGET3)
  31.     rem Sample $(MAKEDIR)
  32.  
  33. $(TARGET3) : $(TARGET1)
  34.     $(_CS) $(_CS_EXE_FLAGS) $(_IMPORTS) /out:$@ $(SOURCES) $(NETSAMPLEPATH)\QuickStart\QSVersion.cs /res:UseResources.resources
  35.  
  36. en-NZ\UseResources.resources.dll : $(TARGET2)
  37.     if not exist en-NZ md en-NZ
  38.     $(_AL) /t:lib /culture:en-NZ /embed:UseResources.en-NZ.resources /out:en-NZ\UseResources.resources.dll /title:" " /descr:"A QuickStart Tutorial Assembly" /config:" " /comp:"Microsoft Corporation" /prod:"Microsoftョ QuickStart Tutorials" /copy:"ゥ Microsoft Corporation.  All rights reserved." /trade:" " /v:1.0.*
  39.  
  40. ja\UseResources.resources.dll : $(TARGET2)
  41.     if not exist ja md ja
  42.     $(_AL) /t:lib /culture:ja /embed:UseResources.ja.resources /out:ja\UseResources.resources.dll /title:" " /descr:"A QuickStart Tutorial Assembly" /config:" " /comp:"Microsoft Corporation" /prod:"Microsoftョ QuickStart Tutorials" /copy:"ゥ Microsoft Corporation.  All rights reserved." /trade:" " /v:1.0.*
  43.  
  44. de\UseResources.resources.dll : $(TARGET2)
  45.     if not exist de md de
  46.     $(_AL) /t:lib /culture:de /embed:UseResources.de.resources /out:de\UseResources.resources.dll /title:" " /descr:"A QuickStart Tutorial Assembly" /config:" " /comp:"Microsoft Corporation" /prod:"Microsoftョ QuickStart Tutorials" /copy:"ゥ Microsoft Corporation.  All rights reserved." /trade:" " /v:1.0.*
  47.  
  48. clean :
  49.     for %i in ( $(CLEANUP) ) do del %i
  50.     for %i in ( $(CLEANUPDLL) ) do if exist %i del %i
  51.     if exist de rd de=
  52.     if exist ja rd ja
  53.     if exist en-NZ rd en-NZ
  54. #--------------------------------------------------
  55.  
  56.