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.

26 lines
597 B

  1. # Rules for compiling .cfgs from .xmls
  2. .SUFFIXES: .cfg .h .xml
  3. {..\}.xml{$(O)}.cfg:
  4. copy $** $(O)
  5. $(_TPG_ROOT)\Tools\gc.exe -h $*.h $*.xml
  6. # Automatic Registration
  7. !if defined(MAKEDLL) && defined(AUTOREG)
  8. $(TARGETNAME).cpy: $(O)\$(TARGETNAME).dll
  9. regsvr32 /s $** > $@
  10. !else
  11. $(TARGETNAME).cpy:
  12. echo File not registered: $** > $@
  13. !endif
  14. !if $(FREEBUILD)
  15. HWXBIN=$(_TPG_ROOT)\hwx\release
  16. !else
  17. HWXBIN=$(_TPG_ROOT)\hwx\debug
  18. !endif
  19. hwxbin: $(O)\$(TARGETNAME).$(TARGETEXT)
  20. mkdir $(HWXBIN)
  21. copy $(O)\$(TARGETNAME).$(TARGETEXT) $(HWXBIN)
  22. copy $(O)\$(TARGETNAME).pdb $(HWXBIN)