forked from php/php-src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integration of -ng changes. Changes:
- added support for externally built modules, - improved support for in-tree shared modules, - fixed diversion bugs, - configure displays some informative messages, - faster static build (libtool isn't used anymore for compiling non-PIC objects), - dependencies comparable to automake's without requiring GNU make or GCC, - working make clean for non-GNU makes.
- Loading branch information
Sascha Schumann
committed
Dec 30, 1999
1 parent
6bf3529
commit f2f8d38
Showing
169 changed files
with
2,627 additions
and
719 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
|
||
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 request_info.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 | ||
|
||
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 install 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.