1 include ..
/..
/Makefile.
include GETTEXT-VERSION ..
/..
/download-files.
include
3 PLATFORM
=$(NATIVEPLATFORM
)
4 DEPS
= ..
/..
/Makefile.
include Makefile GETTEXT-VERSION ..
/..
/download-files.
include \
5 02-disable-test-doc.patch
7 # configuration settings
8 CONFIGURE
=.
/configure
--prefix=$(PREFIX
) \
10 --disable-native-java \
14 --disable-libasprintf \
19 --with-included-gettext \
20 --with-included-glib \
21 --with-included-libcroco \
22 --with-included-libxml \
27 LIBDYLIB
=$(PLATFORM
)/gettext-tools
/src
/.libs
/libgettextsrc.a
29 all: .installed-
$(PLATFORM
)
32 $(PLATFORM
): $(DEPS
) |
$(TARBALLS_LOCATION
)/$(ARCHIVE
).
$(HASH_TYPE
)
33 rm -rf
$(PLATFORM
)/*; mkdir
-p
$(PLATFORM
)
34 cd
$(PLATFORM
); $(ARCHIVE_TOOL
) $(ARCHIVE_TOOL_FLAGS
) $(TARBALLS_LOCATION
)/$(ARCHIVE
)
35 cd
$(PLATFORM
); patch
-p1
-i ..
/02-disable-test-doc.patch
36 cd
$(PLATFORM
); $(CONFIGURE
)
38 $(LIBDYLIB
): $(PLATFORM
)
39 $(MAKE
) -C
$(PLATFORM
)/gettext-runtime
/intl libgnuintl.h
40 $(MAKE
) -C
$(PLATFORM
)/libtextstyle
41 $(MAKE
) -C
$(PLATFORM
)/gettext-tools
43 .installed-
$(PLATFORM
): $(LIBDYLIB
)
44 $(MAKE
) -C
$(PLATFORM
)/gettext-tools
install
48 $(MAKE
) -C
$(PLATFORM
) clean
49 rm -f .installed-
$(PLATFORM
)
52 rm -rf
$(PLATFORM
) .installed-
$(PLATFORM
)