diff options
author | Edin Kadribasic <edink@php.net> | 2002-01-12 14:51:54 +0000 |
---|---|---|
committer | Edin Kadribasic <edink@php.net> | 2002-01-12 14:51:54 +0000 |
commit | db8647203c47208ef7d53778b9f9900d36ddfb90 (patch) | |
tree | 1f65370009072c109859b192e514581522ef6ec9 /sapi/cli/Makefile.in | |
parent | 0a8722a0ac0d5f329c1e85e5b8d011a04d8c2cd9 (diff) | |
download | php-git-db8647203c47208ef7d53778b9f9900d36ddfb90.tar.gz |
Modified the build system to always build CLI SAPI.
Diffstat (limited to 'sapi/cli/Makefile.in')
-rw-r--r-- | sapi/cli/Makefile.in | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/sapi/cli/Makefile.in b/sapi/cli/Makefile.in index a95b517837..eccb13ab06 100644 --- a/sapi/cli/Makefile.in +++ b/sapi/cli/Makefile.in @@ -1,5 +1,25 @@ +LTLIBRARY_NAME = libphp4cli.la +LTLIBRARY_SOURCES = $(top_srcdir)/stub.c php_cli.c getopt.c -LTLIBRARY_NAME = libsapi.la -LTLIBRARY_SOURCES = php_cli.c getopt.c +LTLIBRARY_DEPENDENCIES = \ + $(top_srcdir)/Zend/libZend.la \ + $(top_srcdir)/main/libmain.la \ + $(top_srcdir)/$(REGEX_LIB) \ + $(EXT_LTLIBS) \ + $(top_srcdir)/$(TSRM_LIB) -include $(top_srcdir)/build/ltlib.mk +LTLIBRARY_LDFLAGS = -rpath $(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) +LTLIBRARY_LIBADD = $(LTLIBRARY_DEPENDENCIES) $(EXTRA_LIBS) + + +PROGRAM_NAME = php +PROGRAM_SOURCES = $(top_srcdir)/stub.c +PROGRAM_LDADD = libphp4cli.la $(EXT_PROGRAM_LDADD) +PROGRAM_LDFLAGS = -export-dynamic +PROGRAM_DEPENDENCIES = $(PROGRAM_LDADD) + +targets = $(LTLIBRARY_NAME) $(PROGRAM_NAME) + +include $(top_srcdir)/build/rules.mk +include $(top_srcdir)/build/library.mk +include $(top_srcdir)/build/program.mk |