Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
include ../config.mak |
| 2 |
QT=qt3 |
| 3 |
QTIM=$(QT)/plugins/inputmethods |
| 4 |
IMMODULES=$(libdir)/$(QTIM) |
| 5 |
INCS=-I../im-client -I/usr/include `pkg-config --cflags qt-mt` -I/usr/include/Xft2/X11/Xft -I/usr/include/fontconfig -I/usr/include/freetype2 |
| 6 |
CXXFLAGS=$(OPTFLAGS) $(INCS) -Wall -D_REENTRANT -DUNIX=1 -fPIC -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_NO_DEBUG |
| 7 |
OBJS=qgcininputcontextplugin.o qgcininputcontextplugin_my.o qgcininputcontext.o qgcininputcontext_x11.o |
| 8 |
.SUFFIXES: .c .cpp .a .so .E .h |
| 9 |
LDFLAGS=-L../im-client -lgcin-im-client -Wl,-rpath,$(gcinlibdir) `pkg-config qt-mt --libs` |
| 10 |
all: libqgcin.so |
| 11 |
|
| 12 |
.cpp.E: |
| 13 |
$(CXX) -E $(CFLAGS) $(INCS) $< > $@ |
| 14 |
.h.o: |
| 15 |
$(QT_MOC) $< -o $<_moc.cpp |
| 16 |
$(CXX) -c -pipe $(CXXFLAGS) $(INCS) $<_moc.cpp -o $@ |
| 17 |
|
| 18 |
libqgcin.so: $(OBJS) |
| 19 |
$(CXX) $(gcc_ld_run_path) -fno-exceptions -shared -o $@ $(OBJS) $(LDFLAGS) |
| 20 |
rm -f core.* |
| 21 |
install: |
| 22 |
if [ $(prefix) = /usr/local ]; then \ |
| 23 |
install -d $(DESTDIR)/$(QT_IM_DIR); \ |
| 24 |
install -m 755 libqgcin.so $(DESTDIR)/$(QT_IM_DIR); \ |
| 25 |
else \ |
| 26 |
install -d $(IMMODULES); \ |
| 27 |
install -m 755 libqgcin.so $(IMMODULES); \ |
| 28 |
fi |
| 29 |
clean: |
| 30 |
rm -f $(OBJS) libqgcin.so *~ core.* *moc*.cpp *.E |