1
0
mirror of https://github.com/php/php-src.git synced 2026-04-20 22:41:20 +02:00
Files
archived-php-src/sapi/servlet/Makefile.in
Sascha Schumann f2f8d38efa 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.
1999-12-30 02:59:53 +00:00

34 lines
991 B
Makefile

DEPTH = ../..
topsrcdir = @topsrcdir@
srcdir = @srcdir@
VPATH = @srcdir@
LTLIBRARY_NAME = libsapi.la
LTLIBRARY_SOURCES = servlet.c java.c
include $(topsrcdir)/build/ltlib.mk
CFLAGS += $(JAVA_CFLAGS)
INCLUDES += $(JAVA_INCLUDE)
java.c : ../../ext/java/java.c
@cp ../../ext/java/java.c .
phplib_DATA=phpsrvlt.jar
phpsrvlt.jar : servlet.java ../../ext/java/reflect.java
@test -e net || mkdir net
@test -e net/php || mkdir net/php
@cp servlet.java net/php
@cp ../../ext/java/reflect.java net/php
javac net/php/reflect.java
@echo library=php4>net/php/reflect.properties
@echo library=php4>net/php/servlet.properties
@test ! -f reflect.class || mv reflect.class net/php # bug in KJC javac
javac -classpath .:@SERVLET_CLASSPATH@:@JAVA_CLASSPATH@ net/php/servlet.java
@test ! -f servlet.class || mv servlet.class net/php # bug in KJC javac
zip -q0 phpsrvlt.jar net/php/*.class net/php/*.properties
@rm net/php/servlet.* net/php/reflect.*
@rmdir net/php
@rmdir net