buildsys  Diff

Differences From Artifact [685b657d9f]:

To Artifact [2c79875d24]:


204
205
206
207
208
209
210

211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238




239






























240
241

242
243
244
245
246
247
248
	else \
		${LINK_FAILED}; \
	fi

${FRAMEWORK} ${FRAMEWORK_NOINST}: ${EXT_DEPS} ${LIB_OBJS} ${LIB_OBJS_EXTRA}
	${LINK_STATUS}
	out="$@"; \

	if rm -fr $@ && \
	    ${MKDIR_P} $@/Versions/${LIB_MAJOR} && \
	    ${LN_S} ${LIB_MAJOR} $@/Versions/Current && \
	    ${MAKE} @MAKEFLAGS_SILENT@ \
		COPY_HEADERS_IF_SUBDIR=${includesubdir} \
		COPY_HEADERS_DESTINATION=$$PWD/$@/Versions/${LIB_MAJOR}/Headers\
		copy-headers-into-framework && \
	    ${LN_S} Versions/Current/Headers $@/Headers && \
	    if test -f Info.plist; then \
		    ${MKDIR_P} $@/Versions/${LIB_MAJOR}/Resources && \
		    ${INSTALL} -m 644 Info.plist \
			$@/Versions/${LIB_MAJOR}/Resources/Info.plist && \
		    ${LN_S} Versions/Current/Resources $@/Resources; \
	    fi && \
	    if test -f module.modulemap; then \
		    ${MKDIR_P} $@/Versions/${LIB_MAJOR}/Modules && \
		    ${INSTALL} -m 644 module.modulemap \
			$@/Versions/${LIB_MAJOR}/Modules/module.modulemap && \
		    ${LN_S} Versions/Current/Modules $@/Modules; \
	    fi && \
	    ${LD} -o $@/Versions/${LIB_MAJOR}/$${out%.framework} ${LIB_OBJS} \
	        ${LIB_OBJS_EXTRA} ${FRAMEWORK_LDFLAGS} \
		${FRAMEWORK_LDFLAGS_INSTALL_NAME} ${LDFLAGS} \
		${FRAMEWORK_LIBS} && \
	    ${LN_S} Versions/Current/$${out%.framework} \
		$@/$${out%.framework} && \
	    ${CODESIGN} -fs ${CODESIGN_IDENTITY} $@; then \
		${LINK_OK}; \




	else \






























		rm -fr $$out; false; \
		${LINK_FAILED}; \

	fi

copy-headers-into-framework:
	for i in "" ${SUBDIRS} ${SUBDIRS_AFTER}; do \
		test x"$$i" = x"" && continue; \
		cd $$i || exit 1; \
		${MAKE} @MAKEFLAGS_SILENT@ copy-headers-into-framework || \







>
|
<
<
|
|
|
|
<
|
<
|
<
<
|
|
|
|
|
<
|
|
|
|
|
<
<
|
|
>
>
>
>

>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
|
>







204
205
206
207
208
209
210
211
212


213
214
215
216

217

218


219
220
221
222
223

224
225
226
227
228


229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
	else \
		${LINK_FAILED}; \
	fi

${FRAMEWORK} ${FRAMEWORK_NOINST}: ${EXT_DEPS} ${LIB_OBJS} ${LIB_OBJS_EXTRA}
	${LINK_STATUS}
	out="$@"; \
	if test x"@HOST_IS_IOS@" = x"yes"; then \
		if rm -fr $@ && \


		    ${MAKE} @MAKEFLAGS_SILENT@ \
			COPY_HEADERS_IF_SUBDIR=${includesubdir} \
			COPY_HEADERS_DESTINATION=$$PWD/$@/Headers \
			copy-headers-into-framework && \

		    if test -f Info.plist; then \

			    ${INSTALL} -m 644 Info.plist $@/Info.plist; \


		    fi && \
		    if test -f module.modulemap; then \
			    ${MKDIR_P} $@/Modules && \
			    ${INSTALL} -m 644 module.modulemap \
				$@/Modules/module.modulemap; \

		    fi && \
		    ${LD} -o $@/$${out%.framework} \
			${LIB_OBJS} ${LIB_OBJS_EXTRA} ${FRAMEWORK_LDFLAGS} \
			${FRAMEWORK_LDFLAGS_INSTALL_NAME} ${LDFLAGS} \
			${FRAMEWORK_LIBS} && \


		    ${CODESIGN} -fs ${CODESIGN_IDENTITY} $@; then \
			${LINK_OK}; \
		else \
			rm -fr $$out; false; \
			${LINK_FAILED}; \
		fi; \
	else \
		versiondir="$@/Versions/${LIB_MAJOR}"; \
		if rm -fr $@ && \
		    ${MKDIR_P} $$versiondir && \
		    ${LN_S} ${LIB_MAJOR} $@/Versions/Current && \
		    ${MAKE} @MAKEFLAGS_SILENT@ \
			COPY_HEADERS_IF_SUBDIR=${includesubdir} \
			COPY_HEADERS_DESTINATION=$$PWD/$$versiondir/Headers \
			copy-headers-into-framework && \
		    ${LN_S} Versions/Current/Headers $@/Headers && \
		    if test -f Info.plist; then \
			    ${MKDIR_P} $$versiondir/Resources && \
			    ${INSTALL} -m 644 Info.plist \
				$$versiondir/Resources/Info.plist && \
			    ${LN_S} Versions/Current/Resources $@/Resources; \
		    fi && \
		    if test -f module.modulemap; then \
			    ${MKDIR_P} $$versiondir/Modules && \
			    ${INSTALL} -m 644 module.modulemap \
				$$versiondir/Modules/module.modulemap && \
			    ${LN_S} Versions/Current/Modules $@/Modules; \
		    fi && \
		    ${LD} -o $$versiondir/$${out%.framework} \
			${LIB_OBJS} ${LIB_OBJS_EXTRA} ${FRAMEWORK_LDFLAGS} \
			${FRAMEWORK_LDFLAGS_INSTALL_NAME} ${LDFLAGS} \
			${FRAMEWORK_LIBS} && \
		    ${LN_S} Versions/Current/$${out%.framework} \
			$@/$${out%.framework} && \
		    ${CODESIGN} -fs ${CODESIGN_IDENTITY} $@; then \
			${LINK_OK}; \
		else \
			rm -fr $$out; false; \
			${LINK_FAILED}; \
		fi; \
	fi

copy-headers-into-framework:
	for i in "" ${SUBDIRS} ${SUBDIRS_AFTER}; do \
		test x"$$i" = x"" && continue; \
		cd $$i || exit 1; \
		${MAKE} @MAKEFLAGS_SILENT@ copy-headers-into-framework || \