Makefile.protocol
上传用户:shenzhenrh
上传日期:2013-05-12
资源大小:2904k
文件大小:1k
源码类别:

信息检索与抽取

开发平台:

Unix_Linux

  1. ifndef swarm_srcdir
  2. swarm_srcdir = $(top_srcdir)
  3. endif
  4. abs_top_builddir := $(shell cd $(top_builddir); pwd)
  5. abs_builddir := $(shell pwd)
  6. ifeq ($(OSTYPE),cygwin)
  7.   dos_abs_top_builddir := $(shell cygpath -w $(abs_top_builddir))
  8.   dos_abs_builddir := $(shell cygpath -w $(abs_builddir))
  9.   dos_swarm_srcdir = $(shell cygpath -w $(swarm_srcdir))
  10. define elcrule
  11. cp -f $< $(dir $@)_$(notdir $<)
  12. $(ENVEMACS) -batch -f batch-byte-compile '$(shell cd $(dir $@); cygpath -w `pwd`)_$(notdir $<)'
  13. mv $(dir $@)_$(notdir $@) $@
  14. $(RM) $(dir $@)_$(notdir $<)
  15. endef
  16. else
  17.   dos_abs_top_builddir := $(abs_top_builddir)
  18.   dos_abs_builddir := $(abs_builddir)
  19.   dos_swarm_srcdir := $(swarm_srcdir)
  20. define elcrule
  21. cp -f $< $(dir $@)_$(notdir $<)
  22. $(ENVEMACS) -batch -f batch-byte-compile $(shell cd $(dir $@); pwd)/_$(notdir $<)
  23. mv $(dir $@)_$(notdir $@) $@
  24. $(RM) $(dir $@)_$(notdir $<)
  25. endef
  26. endif
  27. ENVEMACS = TOP_BUILDDIR='$(dos_abs_top_builddir)' BUILDDIR='$(dos_abs_builddir)' SWARMSRCDIR='$(dos_swarm_srcdir)' $(EMACS)
  28. MODULES = defobj collections activity objectbase random simtools gui simtoolsgui space analysis
  29. %.elc: $(swarm_srcdir)/etc/%.el
  30. $(elcrule)
  31. $(abs_top_builddir)/%.elc: $(swarm_srcdir)/etc/%.el
  32. $(elcrule)
  33. $(abs_top_builddir)/%.elc: $(top_srcdir)/%.el
  34. $(elcrule)
  35. %.elc: %.el
  36. $(elcrule)
  37. $(abs_top_builddir)/protocol.elc: $(abs_top_builddir)/common.elc
  38. GUIOPT = --eval '(setq *disable-gui* $(if $(GUIDIR),nil,t))'