Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.1 KiB

  1. ROOTNAME=spcplui
  2. all: jpnbin chsbin
  3. ################################################################################
  4. #
  5. # Clean out old DLLs
  6. #
  7. clean:
  8. @-del temp.edb /S/Q 2>NUL
  9. @-for /f %1 in ('dir /ad/b/l') do @if not obj == %1 ( if not objd == %1 del /Q %1\*.dll 2>NUL )
  10. @-for /f %1 in ('dir /ad/b/l') do @if not obj == %1 ( if not objd == %1 del /Q %1\$(ROOTNAME)_UpdateLog.csv 2>NUL )
  11. ################################################################################
  12. #
  13. # Build target -- called recursively from xxxbin; must set DIR
  14. #
  15. target: $(DIR)\$(ROOTNAME).dll
  16. $(DIR)\$(ROOTNAME).dll: obj\i386\$(ROOTNAME).dll
  17. cd $(DIR)
  18. @echo *** Running LocStudio for $(DIR) ***
  19. copy $(ROOTNAME).edb temp.edb >NUL
  20. "$(PROGRAMFILES)\LocStudio\lscmd" /G /U temp.edb
  21. del temp.edb
  22. cd ..
  23. ################################################################################
  24. #
  25. # Language targets -- call this makefile recursively for each language
  26. #
  27. jpnbin:
  28. nmake -nologo -f local.mak target DIR=1041
  29. chsbin:
  30. nmake -nologo -f local.mak target DIR=2052