#CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS) #LIBS=$(EXTRA_LIBS) $(LIBS1) #INCLUDES=$(INCLUDES1) $(INCLUDES0) $(EXTRA_INCLUDES) #LDFLAGS=$(LDFLAGS1) $(EXTRA_LDFLAGS) RM=@RM@ CC=@CC@ RANLIB=@RANLIB@ CFLAGS=@CFLAGS@ @OPTIM@ LIBS=@LIBS@ LDFLAGS=@LDFLAGS@ $(LIBS) INCDIR=../../include INCLUDES=-I$(INCDIR) -I. #LIB=libfile.a OBJS=dir.o \ fileacc.o \ filedup.o \ filestat.o \ open.o \ pipe.o \ readwrite.o \ seek.o .c.o: $(CC) $(CFLAGS) -c $(INCLUDES) $< all: $(OBJS) clean: $(RM) -f *.o *.a *.so distclean: clean -$(RM) -f 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.in. 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 fileio.h $(INCDIR)/apr_private.h \ $(INCDIR)/apr_general.h $(INCDIR)/apr.h \ $(INCDIR)/apr_errno.h $(INCDIR)/apr_file_io.h \ $(INCDIR)/apr_time.h $(INCDIR)/apr_lib.h \ $(INCDIR)/apr_thread_proc.h $(INCDIR)/apr_portable.h \ $(INCDIR)/apr_network_io.h $(INCDIR)/apr_lock.h fileacc.o: fileacc.c fileio.h $(INCDIR)/apr_private.h \ $(INCDIR)/apr_general.h $(INCDIR)/apr.h \ $(INCDIR)/apr_errno.h $(INCDIR)/apr_file_io.h \ $(INCDIR)/apr_time.h $(INCDIR)/apr_lib.h \ $(INCDIR)/apr_thread_proc.h filedup.o: filedup.c fileio.h $(INCDIR)/apr_private.h \ $(INCDIR)/apr_general.h $(INCDIR)/apr.h \ $(INCDIR)/apr_errno.h $(INCDIR)/apr_file_io.h \ $(INCDIR)/apr_time.h $(INCDIR)/apr_lib.h \ $(INCDIR)/apr_thread_proc.h $(INCDIR)/apr_portable.h \ $(INCDIR)/apr_network_io.h $(INCDIR)/apr_lock.h filestat.o: filestat.c fileio.h $(INCDIR)/apr_private.h \ $(INCDIR)/apr_general.h $(INCDIR)/apr.h \ $(INCDIR)/apr_errno.h $(INCDIR)/apr_file_io.h \ $(INCDIR)/apr_time.h $(INCDIR)/apr_lib.h \ $(INCDIR)/apr_thread_proc.h open.o: open.c fileio.h $(INCDIR)/apr_private.h \ $(INCDIR)/apr_general.h $(INCDIR)/apr.h \ $(INCDIR)/apr_errno.h $(INCDIR)/apr_file_io.h \ $(INCDIR)/apr_time.h $(INCDIR)/apr_lib.h \ $(INCDIR)/apr_thread_proc.h $(INCDIR)/apr_portable.h \ $(INCDIR)/apr_network_io.h $(INCDIR)/apr_lock.h pipe.o: pipe.c fileio.h $(INCDIR)/apr_private.h \ $(INCDIR)/apr_general.h $(INCDIR)/apr.h \ $(INCDIR)/apr_errno.h $(INCDIR)/apr_file_io.h \ $(INCDIR)/apr_time.h $(INCDIR)/apr_lib.h \ $(INCDIR)/apr_thread_proc.h readwrite.o: readwrite.c fileio.h $(INCDIR)/apr_private.h \ $(INCDIR)/apr_general.h $(INCDIR)/apr.h \ $(INCDIR)/apr_errno.h $(INCDIR)/apr_file_io.h \ $(INCDIR)/apr_time.h $(INCDIR)/apr_lib.h \ $(INCDIR)/apr_thread_proc.h $(INCDIR)/apr_lock.h seek.o: seek.c fileio.h $(INCDIR)/apr_private.h \ $(INCDIR)/apr_general.h $(INCDIR)/apr.h \ $(INCDIR)/apr_errno.h $(INCDIR)/apr_file_io.h \ $(INCDIR)/apr_time.h $(INCDIR)/apr_lib.h \ $(INCDIR)/apr_thread_proc.h