2013-11-14 13:57:01 +01:00
|
|
|
include ../../config-user.mk
|
2013-11-14 23:22:56 +01:00
|
|
|
include ../../libr/config.mk
|
|
|
|
include ../../mk/${COMPILER}.mk
|
2013-11-14 13:57:01 +01:00
|
|
|
|
2014-01-30 01:45:08 +01:00
|
|
|
ifeq ($(USE_LIB_ZIP),1)
|
|
|
|
all:
|
|
|
|
rm -f librz.a
|
|
|
|
else
|
|
|
|
|
2013-11-14 23:22:56 +01:00
|
|
|
all: librz.a
|
2013-11-14 13:57:01 +01:00
|
|
|
|
2013-11-14 23:22:56 +01:00
|
|
|
LIBAR=librz.a
|
2013-11-15 01:25:34 +01:00
|
|
|
librz.a: zip/libr_zip.a
|
2013-12-22 04:37:05 +01:00
|
|
|
${CC_AR} librz.a zlib/*.o zip/*.o
|
2013-11-14 23:22:56 +01:00
|
|
|
|
2013-11-15 01:25:34 +01:00
|
|
|
zip/libr_zip.a: zlib/libr_z.a
|
2014-05-09 01:09:09 +02:00
|
|
|
$(MAKE) -C zip
|
2013-11-14 13:57:01 +01:00
|
|
|
|
2013-11-15 01:25:34 +01:00
|
|
|
zlib/libr_z.a:
|
2014-05-09 01:09:09 +02:00
|
|
|
$(MAKE) -C zlib
|
2013-11-14 23:22:56 +01:00
|
|
|
|
2013-11-14 13:57:01 +01:00
|
|
|
clean:
|
2014-05-09 01:09:09 +02:00
|
|
|
$(MAKE) -C zlib clean
|
|
|
|
$(MAKE) -C zip clean
|
2013-11-14 23:22:56 +01:00
|
|
|
rm -f *.a *.${EXT_SO}
|
2014-01-30 01:45:08 +01:00
|
|
|
endif
|