1 include ..
/..
/Makefile.
include EXPAT-VERSION ..
/..
/download-files.
include
3 PLATFORM
=$(NATIVEPLATFORM
)
4 DEPS
=..
/..
/Makefile.
include Makefile EXPAT-VERSION ..
/..
/download-files.
include
6 # configuration settings
7 CONFIGURE
=cp
-f
$(CONFIG_SUB
) $(CONFIG_GUESS
) .
/conftools
; CFLAGS
="-fPIC" .
/configure
--prefix=$(PREFIX
) --disable-shared
9 LIBDYLIB
=$(PLATFORM
)/lib
/.libs
/lib
$(LIBNAME
).a
11 all: .installed-
$(PLATFORM
)
14 $(PLATFORM
): $(DEPS
) |
$(TARBALLS_LOCATION
)/$(ARCHIVE
).
$(HASH_TYPE
)
15 rm -rf
$(PLATFORM
)/*; mkdir
-p
$(PLATFORM
)
16 cd
$(PLATFORM
); $(ARCHIVE_TOOL
) $(ARCHIVE_TOOL_FLAGS
) $(TARBALLS_LOCATION
)/$(ARCHIVE
)
17 cd
$(PLATFORM
); $(CONFIGURE
)
19 $(LIBDYLIB
): $(PLATFORM
)
20 $(MAKE
) -C
$(PLATFORM
)
22 .installed-
$(PLATFORM
): $(LIBDYLIB
)
23 $(MAKE
) -C
$(PLATFORM
) install
27 $(MAKE
) -C
$(PLATFORM
) clean
28 rm -f .installed-
$(PLATFORM
)
31 rm -rf
$(PLATFORM
) .installed-
$(PLATFORM
)