1 PKGDIR ?= ../.. 2 L4DIR ?= $(PKGDIR)/../../.. 3 4 TARGET = libe2p.a libe2p.so 5 PC_FILENAME = libe2p 6 7 SRC_C = \ 8 crypto_mode.c encoding.c errcode.c feature.c fgetflags.c \ 9 fgetproject.c fgetversion.c fsetflags.c fsetproject.c fsetversion.c \ 10 getflags.c getversion.c hashstr.c iod.c ljs.c ls.c mntopts.c \ 11 ostype.c parse_num.c pe.c percent.c pf.c ps.c setflags.c setversion.c \ 12 uuid.c 13 14 REQUIRES_LIBS = libet libsupport 15 16 PRIVATE_INCDIR += \ 17 $(PKGDIR)/lib \ 18 $(PKGDIR)/lib/libext2fs \ 19 $(PKGDIR)/lib/libsupport \ 20 $(PKGDIR)/include/libet \ 21 $(PKGDIR)/include/libe2p $(PKGDIR)/include/libe2p/e2p \ 22 $(PKGDIR)/include/libext2fs \ 23 $(PKGDIR)/include/libsupport 24 25 CONTRIB_INCDIR = libe2p 26 27 include $(L4DIR)/mk/lib.mk