httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@hyperreal.org
Subject cvs commit: apache-apr/apr/file_io/os2 Makefile.in
Date Fri, 04 Jun 1999 16:37:49 GMT
bjh         99/06/04 09:37:48

  Added:       apr/file_io/os2 Makefile.in
  Log:
  Add Makefile template for OS/2 file_io
  
  Revision  Changes    Path
  1.1                  apache-apr/apr/file_io/os2/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  #CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)
  #LIBS=$(EXTRA_LIBS) $(LIBS1)
  #INCLUDES=$(INCLUDES1) $(INCLUDES0) $(EXTRA_INCLUDES)
  #LDFLAGS=$(LDFLAGS1) $(EXTRA_LDFLAGS)
  
  CC=@CC@
  RANLIB=@RANLIB@
  CFLAGS=@PLATFORM@ @CFLAGS@ @OPTIM@
  LDLIBS=@LDLIBS@
  LDFLAGS=@LDFLAGS@ $(LDLIBS)
  INCDIR=../../include
  INCDIR1=../../../include
  INCLUDES=-I$(INCDIR) -I$(INCDIR1) -I.
  
  LIB=../file.a
  
  OBJS=dir.o \
  	fileacc.o \
  	filedup.o \
  	filestat.o \
  	open.o \
  	pipe.o \
  	readwrite.o \
  	seek.o \
  	maperrorcode.o
  
  .c.o:
  	$(CC) $(CFLAGS) -c $(INCLUDES) $<
  
  all: $(LIB)
  
  clean:
  	$(RM) -f *.o *.a *.so
  
  distclean: clean
  	-$(RM) -f Makefile
  
  $(OBJS): Makefile
  
  $(LIB): $(OBJS)
  	$(RM) -f $@
  	$(AR) cr $@ $(OBJS)
  	$(RANLIB) $@
  
  #
  # 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.in Makefile.in.bak \
  	    && sed -ne '1,/^# DO NOT REMOVE/p' Makefile.in > Makefile.new \
  	    && gcc -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \
  	    && sed -e '1,$$s: $(INCDIR)/: $$(INCDIR)/:g' \
  	           -e '1,$$s: $(OSDIR)/: $$(OSDIR)/:g' Makefile.new \
  		> Makefile.in \
  	    && rm Makefile.new
  
  # DO NOT REMOVE
  dir.o: dir.c ../../../include/apr_file_io.h fileio.h \
   ../../../include/apr_errno.h ../../../include/apr_general.h
  fileacc.o: fileacc.c ../../../include/apr_file_io.h fileio.h \
   ../../../include/apr_errno.h ../../../include/apr_general.h
  filedup.o: filedup.c ../../../include/apr_file_io.h fileio.h \
   ../../../include/apr_errno.h ../../../include/apr_general.h
  filestat.o: filestat.c ../../../include/apr_file_io.h fileio.h \
   ../../../include/apr_errno.h ../../../include/apr_general.h
  open.o: open.c ../../../include/apr_file_io.h fileio.h \
   ../../../include/apr_errno.h ../../../include/apr_general.h \
   ../../include/apr_lib.h ../../include/apr_config.h \
   ../../include/hsregex.h
  pipe.o: pipe.c ../../../include/apr_file_io.h fileio.h \
   ../../../include/apr_errno.h ../../../include/apr_general.h
  readwrite.o: readwrite.c ../../../include/apr_file_io.h fileio.h \
   ../../../include/apr_errno.h ../../../include/apr_general.h
  seek.o: seek.c ../../../include/apr_file_io.h fileio.h \
   ../../../include/apr_errno.h ../../../include/apr_general.h
  
  
  

Mime
View raw message