You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@hyperreal.org on 1998/02/22 05:45:48 UTC

cvs commit: apache-1.3/src/os/emx Makefile.tmpl

coar        98/02/21 20:45:48

  Modified:    src/os/bs2000 Makefile.tmpl
               src/os/emx Makefile.tmpl
  Log:
  	Whoops, forgot the emx and bs2000 Makefile.tmpls.
  
  Revision  Changes    Path
  1.3       +11 -0     apache-1.3/src/os/bs2000/Makefile.tmpl
  
  Index: Makefile.tmpl
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/os/bs2000/Makefile.tmpl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Makefile.tmpl	1998/02/01 15:56:16	1.2
  +++ Makefile.tmpl	1998/02/22 04:45:47	1.3
  @@ -21,6 +21,17 @@
   clean:
   	rm -f $(OBJS) $(LIB)
   
  +# We really don't expect end users to use this rule.  It works only with
  +# gcc, and rebuilds Makefile.tmpl.  You have to re-run Configure after
  +# using it.
  +depend:
  +	cp Makefile.tmpl Makefile.tmpl.bak \
  +	    && sed -ne '1,/^# DO NOT REMOVE/p' Makefile.tmpl > Makefile.new \
  +	    && gcc -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \
  +	    && sed -e '1,$$s: $(INCDIR)/: $$(INCDIR)/:g' Makefile.new \
  +		> Makefile.tmpl \
  +	    && rm Makefile.new
  +
   $(OBJS): Makefile
   os.o:	os.c os-inline.c
   ebcdic.o: ebcdic.c
  
  
  
  1.3       +11 -0     apache-1.3/src/os/emx/Makefile.tmpl
  
  Index: Makefile.tmpl
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/os/emx/Makefile.tmpl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Makefile.tmpl	1998/02/01 15:56:17	1.2
  +++ Makefile.tmpl	1998/02/22 04:45:48	1.3
  @@ -31,5 +31,16 @@
   
   $(OBJS): Makefile
   
  +# We really don't expect end users to use this rule.  It works only with
  +# gcc, and rebuilds Makefile.tmpl.  You have to re-run Configure after
  +# using it.
  +depend:
  +	cp Makefile.tmpl Makefile.tmpl.bak \
  +	    && sed -ne '1,/^# DO NOT REMOVE/p' Makefile.tmpl > Makefile.new \
  +	    && gcc -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \
  +	    && sed -e '1,$$s: $(INCDIR)/: $$(INCDIR)/:g' Makefile.new \
  +		> Makefile.tmpl \
  +	    && rm Makefile.new
  +
   # DO NOT REMOVE
   os.o:	os.c os-inline.c