php-src / Makefile.in

DEPTH     = .
topsrcdir = @topsrcdir@
srcdir    = @srcdir@
VPATH     = @srcdir@

ZEND_DIR = $(srcdir)/Zend
SUBDIRS = Zend ext sapi $(TSRM_DIR) $(REGEX_DIR) . $(PEAR_DIR)

LTLIBRARY_NAME = libphp4.la
	
LTLIBRARY_SOURCES = \
       main.c internal_functions.c snprintf.c php_sprintf.c \
       configuration-parser.c configuration-scanner.c \
       safe_mode.c fopen-wrappers.c php_realpath.c alloca.c \
       php_ini.c SAPI.c rfc1867.c dlist.c php_content_types.c strlcpy.c \
       strlcat.c mergesort.c reentrancy.c php_variables.c

LTLIBRARY_DEPENDENCIES = \
		Zend/libZend.la \
		sapi/$(PHP_SAPI)/libsapi.la \
		$(REGEX_LIB) \
		$(EXT_LTLIBS) \
		$(TSRM_LIB)

LTLIBRARY_LDFLAGS = -rpath $(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS)
LTLIBRARY_LIBADD = $(LTLIBRARY_DEPENDENCIES) $(EXTRA_LIBS)

PROGRAM_NAME         = $(PHP_PROGRAM)
PROGRAM_SOURCES      = stub.c
PROGRAM_LDADD        = libphp4.la
PROGRAM_LDFLAGS      = -export-dynamic	
PROGRAM_DEPENDENCIES = $(PROGRAM_LDADD)

targets = $(LTLIBRARY_NAME) $(PROGRAM_NAME)

install_targets = install-local install-modules
	
include $(topsrcdir)/build/rules.mk
include $(topsrcdir)/build/library.mk
include $(topsrcdir)/build/program.mk

install-local:
	@$(LIBTOOL) --silent --mode=install cp libphp4.la $(phptempdir)/libphp4.la >/dev/null 2>&1
	-@$(mkinstalldirs) $(bindir)
	$(INSTALL_IT)

configuration-parser.h configuration-parser.c: configuration-parser.y
	$(YACC) -p cfg -v -d $< -o configuration-parser.c

configuration-scanner.c: configuration-scanner.l
	$(LEX) -Pcfg -o$@ -i $<

.NOEXPORT:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.