diff --git a/win32/libs/expat/Makefile b/win32/libs/expat/Makefile index 1cb110359..c6036b797 100644 --- a/win32/libs/expat/Makefile +++ b/win32/libs/expat/Makefile @@ -6,6 +6,8 @@ PKG_SOURCE:=$(PKG_SOURCEBASE).tar.gz PKG_SOURCE_URL:=@SF/expat PKG_MD5SUM:=ee8b492592568805593f81f8cdf2a04c +TARGET:=$(TOPDIR)/builds/libs/lib/libexpat.la + include $(TOPDIR)/rules.mk extract-stamp: $(TOPDIR)/downloads/$(PKG_SOURCE) @@ -16,10 +18,13 @@ $(PKG_SOURCEBASE)/config.status: extract-stamp cd $(PKG_SOURCEBASE) && ./configure --host=$(HOST_TRIPLET) --enable-static --disable-shared --prefix=`pwd`/../$(TOPDIR)/build/libs $(PKG_SOURCEBASE)/libexpat.la: $(PKG_SOURCEBASE)/config.status + $(MAKE) -C $(PKG_SOURCEBASE) libexpat.la + +$(TARGET): $(PKG_SOURCEBASE)/libexpat.la $(MAKE) -C $(PKG_SOURCEBASE) installlib all: build -build: $(PKG_SOURCEBASE)/libexpat.la +build: $(TARGET) clean: $(RM) -rf $(PKG_SOURCEBASE) extract-stamp diff --git a/win32/libs/freetype2/Makefile b/win32/libs/freetype2/Makefile index dc79ec0c5..d0e31f396 100644 --- a/win32/libs/freetype2/Makefile +++ b/win32/libs/freetype2/Makefile @@ -6,6 +6,8 @@ PKG_SOURCE:=$(PKG_SOURCEBASE).tar.bz2 PKG_SOURCE_URL:=@SF/freetype PKG_MD5SUM:=519c7cbf5cbd72ffa822c66844d3114c +TARGET:=$(TOPDIR)/build/libs/lib/libfreetype.la + include $(TOPDIR)/rules.mk extract-stamp: $(TOPDIR)/downloads/$(PKG_SOURCE) @@ -15,11 +17,11 @@ extract-stamp: $(TOPDIR)/downloads/$(PKG_SOURCE) $(PKG_SOURCEBASE)/builds/unix/config.status: extract-stamp cd $(PKG_SOURCEBASE) && ./configure --host=$(HOST_TRIPLET) --enable-static --disable-shared --prefix=`pwd`/../$(TOPDIR)/build/libs -$(PKG_SOURCEBASE)/objs/libfreetype.la: $(PKG_SOURCEBASE)/builds/unix/config.status +$(TARGET): $(PKG_SOURCEBASE)/builds/unix/config.status $(MAKE) -C $(PKG_SOURCEBASE) install all: build -build: $(PKG_SOURCEBASE)/objs/libfreetype.la +build: $(TARGET) clean: $(RM) -rf $(PKG_SOURCEBASE) extract-stamp diff --git a/win32/libs/gettext/Makefile b/win32/libs/gettext/Makefile index 63ff1f962..e9d2530ce 100644 --- a/win32/libs/gettext/Makefile +++ b/win32/libs/gettext/Makefile @@ -6,6 +6,8 @@ PKG_SOURCE:=$(PKG_SOURCEBASE).tar.gz PKG_SOURCE_URL:=http://ftp.gnu.org/pub/gnu/gettext/ PKG_MD5SUM:=58a2bc6d39c0ba57823034d55d65d606 +TARGET:=$(TOPDIR)/build/libs/lib/libintl.la + include $(TOPDIR)/rules.mk $(PKG_SOURCEBASE) extract-stamp: $(TOPDIR)/downloads/$(PKG_SOURCE) @@ -16,10 +18,13 @@ $(PKG_SOURCEBASE)/config.status: extract-stamp cd $(PKG_SOURCEBASE) && ./configure --host=$(HOST_TRIPLET) --enable-static --disable-shared --prefix=`pwd`/../$(TOPDIR)/build/libs --disable-java $(PKG_SOURCEBASE)/gettext-runtime/intl/libintl.la: $(PKG_SOURCEBASE)/config.status + $(MAKE) -C $(PKG_SOURCEBASE)/gettext-runtime/intl libintl.la + +$(TARGET): $(PKG_SOURCEBASE)/gettext-runtime/intl/libintl.la $(MAKE) -C $(PKG_SOURCEBASE)/gettext-runtime/intl install-exec all: build -build: $(PKG_SOURCEBASE)/gettext-runtime/intl/libintl.la +build: $(TARGET) clean: $(RM) -r $(PKG_SOURCEBASE) extract-stamp