1. xemacs
  2. speedbar

Source

speedbar / Makefile.upstream

Diff from to

File Makefile.upstream

 
 ede_FILES=Project.ede Makefile
 
-opt_LISP=rpm.el sb-gud.el sb-info.el sb-rmail.el sb-w3.el
-EMACS=emacs!
-images_MISC=sb-dir-plus.xpm sb-dir-minus.xpm sb-dir.xpm sb-pg-plus.xpm sb-pg-minus.xpm sb-pg.xpm sb-mail.xpm sb-tag-plus.xpm sb-tag-minus.xpm sb-tag.xpm sb-tag-gt.xpm sb-tag-v.xpm
-info_INFOS=speedbar.texi
-speedbar_LISP=speedbar.el
+speedbar_LISP=dframe.el speedbar.el
 EMACS=emacs
-VERSION=0.11.1
+info_TEXINFOS=speedbar.texi
+MAKEINFO=makeinfo
+opt_LISP=rpm.el sb-gud.el sb-info.el sb-rmail.el sb-w3.el sb-texinfo.el bigclock.el
+aux_AUX=INSTALL
+images_MISC=sb-dir-plus.xpm sb-dir-minus.xpm sb-dir.xpm sb-pg-plus.xpm sb-pg-minus.xpm sb-pg.xpm sb-mail.xpm sb-tag-plus.xpm sb-tag-minus.xpm sb-tag.xpm sb-tag-gt.xpm sb-tag-v.xpm sb-tag-type.xpm sb-image.el
+VERSION=0.13a
 DISTDIR=speedbar-$(VERSION)
 top_builddir = 
 
 DEP_FILES=.deps/.P
 
-all: info speedbar
+all: speedbar speedbar.info
 
 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
 -include $(DEP_FILES)
 
-%.o: %.c
-	@echo '$(COMPILE) -c $<'; \
-	$(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
+speedbar: $(speedbar_LISP)
+	@echo "(add-to-list 'load-path nil)" > $@-compile-script
+	@for loadpath in ${LOADPATH}; do \
+	   echo "(add-to-list 'load-path \"$$loadpath\")" >> $@-compile-script; \
+	 done
+	@echo "(setq debug-on-error t)" >> $@-compile-script
+	$(EMACS) -batch -l $@-compile-script -f batch-byte-compile $^
 
-opt:
-	@echo "(add-to-list 'load-path \"$(PWD)\")" > opt-compile-script
-	@echo "(setq debug-on-error t)" >> opt-compile-script
-	$(EMACS) -batch -l opt-compile-script -f batch-byte-compile  $(opt_LISP)
+speedbar.info: $(info_TEXINFOS)
+	makeinfo -o $@ $<
+
+opt: $(opt_LISP)
+	@echo "(add-to-list 'load-path nil)" > $@-compile-script
+	@for loadpath in ${LOADPATH}; do \
+	   echo "(add-to-list 'load-path \"$$loadpath\")" >> $@-compile-script; \
+	 done
+	@echo "(setq debug-on-error t)" >> $@-compile-script
+	$(EMACS) -batch -l $@-compile-script -f batch-byte-compile $^
+
 images: 
 	@
 
+tags: $(speedbar_LISP) $(info_TEXINFOS) $(opt_LISP) $(images_MISC) 
+	etags $^
 
-info: $(info_INFOS)
-	makeinfo speedbar.texi
-speedbar:
-	@echo "(add-to-list 'load-path \"$(PWD)\")" > speedbar-compile-script
-	@echo "(setq debug-on-error t)" >> speedbar-compile-script
-	$(EMACS) -batch -l speedbar-compile-script -f batch-byte-compile  $(speedbar_LISP)
 
 clean:
 	rm -f *.elc *.info
 dist:
 	rm -rf $(DISTDIR)
 	mkdir $(DISTDIR)
-	cp $(opt_LISP) $(images_MISC) $(info_INFOS) $(speedbar_LISP) $(ede_FILES) $(DISTDIR)
+	cp $(speedbar_LISP) $(info_TEXINFOS) $(opt_LISP) $(aux_AUX) $(images_MISC) $(ede_FILES) $(DISTDIR)
 	tar -cvzf $(DISTDIR).tar.gz $(DISTDIR)
 	rm -rf $(DISTDIR)
 
-tags: $(opt_LISP) $(images_MISC) $(info_INFOS) $(speedbar_LISP) 
-	etags $^
-
 Makefile: Project.ede
 	@echo Makefile is out of date!  It needs to be regenerated by EDE.
 	@false