X-Git-Url: http://git.maemo.org/git/?p=him-cellwriter;a=blobdiff_plain;f=Makefile;fp=Makefile;h=d0a29db06a7d1f00aa3c6a102b3944c34ff1d25f;hp=0000000000000000000000000000000000000000;hb=b9bf8c6f84402447eaa3a06079e51f825b50da5d;hpb=76401ae399bfbd224d0836833b4982d51d2ae96b diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d0a29db --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +LIBS = gtk+-2.0 glib-2.0 gconf-2.0 hildon-1 hildon-input-method-ui-3.0 hildon-input-method-framework-3.0 + +build: + LIBS='$(LIBS)' make -C src + +clean: + make -C src clean + +install: src/him_cellwriter.so default_profile + mkdir -p $(prefix)/lib/hildon-input-method/ + install src/him_cellwriter.so $(prefix)/lib/hildon-input-method/ + mkdir -p $(prefix)/share/him_cellwriter + install default_profile $(prefix)/share/him_cellwriter/profile + +configure: + @echo '#!/bin/sh' > configure + @echo 'echo Looking for $(LIBS) && echo "Found!" && echo Run make to build' >> configure + @echo 'pkg-config --print-errors $(LIBS)' >> configure + @chmod +x configure + +distclean: