home *** CD-ROM | disk | FTP | other *** search
Makefile | 2001-09-18 | 2.3 KB | 49 lines |
- !IFNDEF NETSAMPLEPATH
- !ERROR Env Variable NETSAMPLEPATH must be defined: Parent directory of QuickStart Samples
- !ENDIF
-
- !include $(NETSAMPLEPATH)\QuickStart\master.mak
-
-
- #--------------------------------------------------
- TARGET1 = MakeResources.exe
- TARGET2 = MultipleResources.exe
-
- SOURCES1 = MakeResources.vb
- SOURCES2 = MultipleResources.vb
-
- CLEANUP = *.exe *.dll *.pdb *.resources
- CLEANUPDLL = en-NZ\MultipleResources.resources.dll \
- ja\MultipleResources.resources.dll \
- de\MultipleResources.resources.dll
- #--------------------------------------------------
- _IMPORTS=/r:System.Drawing.dll /r:System.dll /r:System.Windows.Forms.dll
-
- #--------------------------------------------------
- all : $(TARGET1) DLLS $(TARGET2)
- rem Sample $(MAKEDIR)
-
- $(TARGET1) : $(SOURCES1)
- $(_BC) $(_VB_EXE_FLAGS) $(_IMPORTS) /out:$@ $(SOURCES1) $(NETSAMPLEPATH)\QuickStart\QSVersion.vb
- $@
-
- DLLS : $(TARGET1)
- if not exist en-NZ md en-NZ
- if not exist de md de
- if not exist ja md ja
- $(_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.*
- $(_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.*
- $(_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.*
-
- $(TARGET2) : DLLS $(SOURCES2)
- $(_BC) $(_VB_EXE_FLAGS) $(_IMPORTS) /out:$@ $(SOURCES2) $(NETSAMPLEPATH)\QuickStart\QSVersion.vb /res:items.resources
-
- clean :
- for %i in ( $(CLEANUP) ) do del %i
- for %i in ( $(CLEANUPDLL) ) do if exist %i del %i
- if exist en-NZ rd en-NZ
- if exist de rd de
- if exist ja rd ja
- #--------------------------------------------------
-
-