Makefile.am   [plain text]


SUBDIRS = khtml kwq

all-am: previous-clean-timestamp previous-js-clean-timestamp config-timestamp
	pbxbuild -buildstyle $(BUILDSTYLE) OBJROOT=$(SYMROOTS) SYMROOT=$(SYMROOTS) DSTROOT=$(SYMROOTS) 
clean-am:
	pbxbuild clean OBJROOT=$(SYMROOTS) SYMROOT=$(SYMROOTS) DSTROOT=$(SYMROOTS) 
	rm -rf $(SYMROOTS)/WebCore.build
	rm -rf $(SYMROOTS)/WebCore.framework
	rm -rf $(SYMROOTS)/Safari.app/Frameworks/WebCore.framework

WebCore-combined.exp: WebCore.exp WebCore-tests.exp previous-clean-timestamp
	cat $^ > $@

config.h: config-timestamp

config-timestamp: ../config.h previous-clean-timestamp
	if ! cmp -s config.h ../config.h; then \
	    cat ../config.h > config.h; \
	fi
	touch $@

noinst_DATA = WebCore-combined.exp
noinst_HEADERS = config.h
BUILT_SOURCES = $(noinst_DATA) $(noinst_HEADERS)
CLEANFILES = $(BUILT_SOURCES)

previous-clean-timestamp: force-clean-timestamp
	make clean && touch $@ && touch previous-js-clean-timestamp

previous-js-clean-timestamp: force-js-clean-timestamp
	../Tools/Scripts/clean-webcore-js && touch $@