added gentoo ebuilds
[libmixp.git] / Makefile
blob4ab9e4546c927b9679193ec86331d934b865e3be
2 # Author(s): Enrico Weigelt <weigelt@metux.de>
5 include ./build.mk
7 all: lib libmixp.pc client
9 lib:
10 make -C libmixp
12 client:
13 make -C cmd
15 install-lib:
16 make -C libmixp install
18 install-pkgconfig: libmixp.pc
19 mkdir -p $(DESTDIR)$(PKGCONFIGDIR)
20 cp libmixp.pc $(DESTDIR)$(PKGCONFIGDIR)
22 install-includes: include/9p-mixp/*.h
23 mkdir -p $(DESTDIR)$(INCLUDEDIR)/9p-mixp
24 for i in include/9p-mixp/*.h ; do cp $$i $(DESTDIR)$(INCLUDEDIR)/9p-mixp ; done
26 install: install-pkgconfig install-includes install-lib
28 clean:
29 rm -f *.o *.a *.so *.pc
30 make -C libmixp clean
31 make -C cmd clean