diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2012-04-11 03:12:40 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2012-04-11 03:12:40 +0200 |
commit | bfbf55700091bb6084b3cbe151a762816db0e3f0 (patch) | |
tree | bf7605926a6e8fb06c85b1d1a605d889ca67a79f /meego/Makefile | |
download | xmimd-bfbf55700091bb6084b3cbe151a762816db0e3f0.tar.gz xmimd-bfbf55700091bb6084b3cbe151a762816db0e3f0.zip |
initial import
Diffstat (limited to 'meego/Makefile')
-rw-r--r-- | meego/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meego/Makefile b/meego/Makefile new file mode 100644 index 0000000..4992cad --- /dev/null +++ b/meego/Makefile @@ -0,0 +1,27 @@ +CFLAGS?=-g -O0 -Wall +LDFLAGS?=-Wl,-O1 + +MEEGOIMCOMMON_TARGET:=libmeego-im-common.a + +MEEGOIMCOMMON_OBJS:=meego-im-connector.o meego-imcontext-dbus.o meego-im-proxy.o \ + qt-keysym-map.o qt-translate.o +MEEGOIMCOMMON_PKGCONFIG:=x11 dbus-glib-1 QtCore QtGui +MEEGOIMCOMMON_CFLAGS:=$(shell pkg-config --cflags $(MEEGOIMCOMMON_PKGCONFIG)) -DQT_NO_KEYWORDS -std=c99 +MEEGOIMCOMMON_CXXFLAGS:=$(shell pkg-config --cflags $(MEEGOIMCOMMON_PKGCONFIG)) + +all: $(MEEGOIMCOMMON_TARGET) + +$(MEEGOIMCOMMON_TARGET): $(MEEGOIMCOMMON_OBJS) + ar rcs $@ $^ + +%.o: %.c + $(CC) $(MEEGOIMCOMMON_CFLAGS) $(CFLAGS) -o $@ -c $< + +%.o: %.cpp + $(CXX) $(MEEGOIMCOMMON_CXXFLAGS) $(CFLAGS) -o $@ -c $< + +clean: + rm -f $(MEEGOIMCOMMON_TARGET) *.o + +.PHONY: all clean + |