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.

42 lines
1.5 KiB

  1. # special stuff for evtmon
  2. # the -D's come from the office guys' original 'emtest' sample app
  3. # WARNING: DEBUG implies DYN_RULE for some reason
  4. EM_DEFINES =
  5. EM_DEFINES = $(EM_STUFF) \
  6. -DSTANDALONE -DSTANDALONE_WIN32 \
  7. -DSTATIC_INIT -DANSI_XCHAR
  8. # static EM-supplied hdrs/srcs come from evtmon/inc
  9. # dynamic rulc-generated hdrs/srcs come from -I$O
  10. # the -I$O is semi-weird but they're config-dependent so they need to go there
  11. EM_INCLUDES =
  12. EM_INCLUDES = $(EM_INCLUDES);$(CCSHELL_DIR)\inc\evtmon
  13. EM_INCLUDES = $(EM_INCLUDES);$O
  14. # rulc generated headers, from ierules.rul
  15. # we'd like to key off of all of these, but they're not always
  16. # created (sigh), so for now we key off emeval.c, which always is
  17. YYHDR = \
  18. $O\emdef.h $O\emacts.h $O\emactr.h $O\emruli.h \
  19. $O\emeval.c $O\emsqck.c_ $O\emact.c_
  20. YYHDR = $O\emeval.c
  21. YYSRC = $(CCSHELL_DIR)\lib\genem.c
  22. # BUGBUG tmp hack until we put genem.c in shell/lib/evtmon
  23. YYSRC = $(CCSHELL_DIR)\inc\evtmon\genem.c
  24. $O\libem.obj : libem.c $(YYSRC) $(YYHDR)
  25. # rulc puts its stuff in "." so we need to pushd/popd around it
  26. # also rulc doesn't (re)gen 'unneeded' files so we need to cleanup beforehand
  27. # we
  28. $(YYHDR) : ierules.rul
  29. $(C_PREPROCESSOR_NAME) $(C_PREPROCESSOR_FLAGS) ierules.rul > $(O)\ierules.rl
  30. cd $O
  31. del emdef.h emactr.h emacts.h emruli.h
  32. del emeval.c emact.c_ emfilt.c
  33. rulc ierules.rl
  34. cd $(CCSHELL_DIR)\browseui\emclient
  35. !include $(CCSHELL_DIR)\makefile.inc