Skip to content

Commit 0151a93

Browse files
committed
Add *.stub.php sources to targets
1 parent cb08082 commit 0151a93

File tree

77 files changed

+142
-11
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+142
-11
lines changed

cmake/Zend/CMakeLists.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,24 +114,32 @@ target_sources(
114114
zend_ast.c
115115
zend_atomic.c
116116
zend_attributes.c
117+
zend_attributes.stub.php
117118
zend_builtin_functions.c
119+
zend_builtin_functions.stub.php
118120
zend_call_stack.c
119121
zend_closures.c
122+
zend_closures.stub.php
120123
zend_compile.c
121124
zend_constants.c
125+
zend_constants.stub.php
122126
zend_cpuinfo.c
123127
zend_default_classes.c
124128
zend_dtrace.c
125129
zend_enum.c
130+
zend_enum.stub.php
126131
zend_exceptions.c
132+
zend_exceptions.stub.php
127133
zend_execute_API.c
128134
zend_execute.c
129135
zend_extensions.c
130136
zend_fibers.c
137+
zend_fibers.stub.php
131138
zend_float.c
132139
zend_gc.c
133140
$<$<NOT:$<PLATFORM_ID:Windows>>:zend_gdb.c>
134141
zend_generators.c
142+
zend_generators.stub.php
135143
zend_hash.c
136144
zend_highlight.c
137145
zend_hrtime.c
@@ -140,6 +148,7 @@ target_sources(
140148
zend_ini_scanner.c
141149
zend_ini.c
142150
zend_interfaces.c
151+
zend_interfaces.stub.php
143152
zend_iterators.c
144153
zend_language_parser.c
145154
zend_language_scanner.c
@@ -166,6 +175,7 @@ target_sources(
166175
zend_virtual_cwd.c
167176
zend_vm_opcodes.c
168177
zend_weakrefs.c
178+
zend_weakrefs.stub.php
169179
zend.c
170180
PUBLIC
171181
FILE_SET HEADERS

cmake/cmake/modules/PHP/AddCustomCommand/RunCommand.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ foreach(input ${DEPENDS})
2323
endif()
2424

2525
foreach(output ${OUTPUT})
26-
if(NOT EXISTS ${output})
27-
continue()
28-
endif()
29-
3026
if("${input}" IS_NEWER_THAN "${output}")
3127
set(needsUpdate TRUE)
3228
break()

cmake/ext/bcmath/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ target_sources(
3131
php_bcmath
3232
PRIVATE
3333
bcmath.c
34+
bcmath.stub.php
3435
libbcmath/src/add.c
3536
libbcmath/src/compare.c
3637
libbcmath/src/debug.c

cmake/ext/bz2/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ target_sources(
3333
PRIVATE
3434
bz2_filter.c
3535
bz2.c
36+
bz2.stub.php
3637
)
3738

3839
target_compile_definitions(

cmake/ext/calendar/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ target_sources(
3232
PRIVATE
3333
cal_unix.c
3434
calendar.c
35+
calendar.stub.php
3536
dow.c
3637
easter.c
3738
french.c

cmake/ext/com_dotnet/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@ target_sources(
3939
com_com.c
4040
com_dotnet.c
4141
com_extension.c
42+
com_extension.stub.php
4243
com_handlers.c
4344
com_iterator.c
4445
com_misc.c
4546
com_olechar.c
4647
com_persist.c
48+
com_persist.stub.php
4749
com_saproxy.c
4850
com_typeinfo.c
4951
com_variant.c

cmake/ext/ctype/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ target_sources(
3131
php_ctype
3232
PRIVATE
3333
ctype.c
34+
ctype.stub.php
3435
)

cmake/ext/curl/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ target_sources(
3535
php_curl
3636
PRIVATE
3737
curl_file.c
38+
curl_file.stub.php
3839
interface.c
3940
multi.c
4041
share.c
42+
curl.stub.php
4143
PUBLIC
4244
FILE_SET HEADERS
4345
FILES

cmake/ext/date/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ target_sources(
2626
lib/tm2unixtime.c
2727
lib/unixtime2tm.c
2828
php_date.c
29+
php_date.stub.php
2930
PUBLIC
3031
FILE_SET HEADERS
3132
FILES

cmake/ext/dba/CMakeLists.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,20 +158,21 @@ endif()
158158
target_sources(
159159
php_dba
160160
PRIVATE
161-
dba.c
162161
dba_cdb.c
163-
dba_dbm.c
164-
dba_gdbm.c
165-
dba_ndbm.c
166162
dba_db1.c
167163
dba_db2.c
168164
dba_db3.c
169165
dba_db4.c
166+
dba_dbm.c
170167
dba_flatfile.c
168+
dba_gdbm.c
171169
dba_inifile.c
170+
dba_lmdb.c
171+
dba_ndbm.c
172172
dba_qdbm.c
173173
dba_tcadb.c
174-
dba_lmdb.c
174+
dba.c
175+
dba.stub.php
175176
)
176177

177178
target_compile_definitions(php_dba PRIVATE ZEND_ENABLE_STATIC_TSRMLS_CACHE=1)

0 commit comments

Comments
 (0)