Changeset 0075527
- Timestamp:
- 2013-03-17T13:38:14Z (12 years ago)
- Children:
- 0147ca9
- Parents:
- 9b2a8c1
- Files:
-
- 6 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r9b2a8c1 r0075527 27 27 subdirobjs = $(foreach dir,$(subdirs),$(dir)/$(dir).o) 28 28 29 all: $(OUTFILE) $(OTR_PI) $(SKYPE_PI) doc systemd29 all: $(OUTFILE) $(OTR_PI) $(SKYPE_PI) $(PYTHON_PI) doc systemd 30 30 ifdef SKYPE_PI 31 31 $(MAKE) -C protocols/skype doc … … 57 57 ifdef SKYPE_PI 58 58 $(MAKE) -C protocols/skype clean 59 endif 60 ifdef PYTHON_PI 61 $(MAKE) -C protocols/python clean 59 62 endif 60 63 … … 118 121 -rmdir $(DESTDIR)$(ETCDIR) 119 122 120 install-plugins: install-plugin-otr install-plugin-skype 123 install-plugins: install-plugin-otr install-plugin-skype install-plugin-python 121 124 122 125 install-plugin-otr: … … 135 138 install -m 0755 $(_SRCDIR_)protocols/skype/skyped.py $(DESTDIR)$(BINDIR)/skyped 136 139 make -C protocols/skype install-doc 140 endif 141 142 install-plugin-python: 143 ifdef PYTHON_PI 144 mkdir -p $(DESTDIR)$(PLUGINDIR) 145 install -m 0755 bpython.so $(DESTDIR)$(PLUGINDIR) 137 146 endif 138 147 … … 170 179 $(SKYPE_PI): $(_SRCDIR_)protocols/skype/skype.c 171 180 @echo '*' Building plugin skype 172 @$(CC) $(CFLAGS) $(SKYPEFLAGS) $< -o $@ 181 $(CC) $(CFLAGS) $(SKYPEFLAGS) $< -o $@ 182 183 $(PYTHON_PI): $(_SRCDIR_)protocols/python/src/bpython.c 184 @echo '*' Building plugin python 185 $(CC) $(CFLAGS) $(PYTHONCFLAGS) $< -o $@ $(EFLAGS) $(PYTHONLDFLAGS) 173 186 174 187 $(objects): %.o: $(_SRCDIR_)%.c -
configure
r9b2a8c1 r0075527 37 37 otr=0 38 38 skype=0 39 python=0 39 40 40 41 events=glib … … 89 90 --skype=0/1/plugin 90 91 Disable/enable Skype support $skype 92 --python=0/1/plugin 93 Disable/enable Python support $skype 91 94 92 95 --events=... Event handler (glib, libevent) $events … … 554 557 fi 555 558 echo 'SKYPE_PI=skype.so' >> Makefile.settings 556 protocols_mods="$protocol_mods skype(plugin)" 559 protocols_mods="$protocols_mods skype(plugin)" 560 fi 561 562 if [ "$python" = "1" -o "$python" = "plugin" ]; then 563 echo "PYTHONCFLAGS=-fPIC -shared $(python-config --cflags)" >> Makefile.settings 564 echo "PYTHONLDFLAGS=$(python-config --ldflags)" >> Makefile.settings 565 echo 'PYTHON_PI=bpython.so' >> Makefile.settings 566 protocols_mods="$protocols_mods python(plugin)" 557 567 fi 558 568
Note: See TracChangeset
for help on using the changeset viewer.