##
##  Apache Makefile, automatically generated by Configure script.
##  Hand-edited changes will be lost if the Configure script is re-run.
##  Sources: - ../Makefile.config (via Configuration.apaci)
##           - ./Makefile.tmpl
##

##
##  Inherited Makefile options from Configure script
##  (Begin of automatically generated section)
##
SRCDIR=..
EXTRA_CFLAGS=`$(SRCDIR)/apaci`
EXTRA_LDFLAGS=
EXTRA_LIBS=
EXTRA_INCLUDES=
EXTRA_DEPS=
OSDIR=$(SRCDIR)/os/unix
INCDIR=$(SRCDIR)/include
INCLUDES0=-I$(OSDIR) -I$(INCDIR)
SHELL=/bin/sh
OS=BeOS BONE
CC=gcc
CPP=gcc -E
TARGET=httpd
OPTIM=
CFLAGS1= -DBONE -I/boot/home/files/code/php-4.0.6 -I/boot/home/files/code/php-4.0.6/main -I/boot/home/files/code/php-4.0.6/main -I/boot/home/files/code/php-4.0.6/Zend -I/boot/home/files/code/php-4.0.6/Zend -I/boot/home/files/code/php-4.0.6/TSRM -I/boot/home/files/code/php-4.0.6/TSRM -I/boot/home/files/code/php-4.0.6 -DUSE_EXPAT -I$(SRCDIR)/lib/expat-lite -DNO_DL_NEEDED
INCLUDES1=
LIBS_SHLIB=
LDFLAGS1=
MFLAGS_STATIC=--no-print-directory
REGLIB=
EXPATLIB=lib/expat-lite/libexpat.a
RANLIB=ranlib
LIBS1=  -Wl,-rpath,/boot/home/config/lib -Wl,-rpath,/boot/apps/www/postgresql/lib  -L/boot/home/config/lib -L/boot/apps/www/postgresql/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4   -lpq -lz -lssl -lcrypto -lbind -lsocket  -lbe -lroot  -lbind -lsocket -lbe -lroot
##
##  (End of automatically generated section)
##

MODULES=standard php4 
CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)

default: all

all clean distclean depend :: 
	@for i in $(MODULES) ""; do \
	  if [ "x$$i" != "x" ]; then \
	    echo "===> $(SDP)modules/$$i"; \
		case "x$(OS)" in \
		  xOS390 | xTPF) (cd $$i && $(MAKE) SDP='$(SDP)' $@) || exit 1;; \
		              *) (cd $$i && $(MAKE) $(MFLAGS_STATIC) SDP='$(SDP)' CC='$(CC)' AUX_CFLAGS='$(CFLAGS)' RANLIB='$(RANLIB)' $@) || exit 1;; \
		esac; \
		echo "<=== $(SDP)modules/$$i"; \
	  fi; \
	done

