2 # Author(s): Enrico Weigelt <weigelt@metux.de>
9 all: lib
$(LIBNAME
).
pc app
20 make
-C
$(LIBNAME
) install
22 install-pkgconfig
: $(LIBNAME
).
pc
23 mkdir
-p
$(DESTDIR
)$(PKGCONFIGDIR
)
24 cp
$(LIBNAME
).
pc $(DESTDIR
)$(PKGCONFIGDIR
)
26 install-includes
: include/$(INCNAME
)/*.h
27 mkdir
-p
$(DESTDIR
)$(INCLUDEDIR
)/$(INCNAME
)
28 for i in
include/$(INCNAME
)/*.h
; do cp
$$i $(DESTDIR
)$(INCLUDEDIR
)/$(INCNAME
) ; done
30 install: install-pkgconfig install-includes install-lib
33 rm -f
*.o
*.a
*.so
$(LIBNAME
).
pc
34 make
-C
$(LIBNAME
) clean
35 make
-C
$(APPNAME
) clean