Changeset a949b43
- Timestamp:
- 2018-03-11T19:33:55Z (7 years ago)
- Branches:
- master
- Children:
- 686ac51
- Parents:
- 8167346
- Files:
-
- 56 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r8167346 ra949b43 19 19 subdirobjs = $(foreach dir,$(subdirs),$(dir)/$(dir).o) 20 20 21 all: $(OUTFILE) $(OTR_PI) $(SKYPE_PI)doc systemd21 all: $(OUTFILE) $(OTR_PI) doc systemd 22 22 23 23 doc: … … 53 53 rm -f *.o $(OUTFILE) core utils/bitlbeed init/bitlbee*.service 54 54 $(MAKE) -C tests clean 55 ifdef SKYPE_PI56 $(MAKE) -C protocols/skype clean57 endif58 55 59 56 distclean: clean $(subdirs) … … 79 76 $(MAKE) -C doc install 80 77 endif 81 ifdef SKYPE_PI82 $(MAKE) -C protocols/skype install-doc83 endif84 78 85 79 uninstall-doc: 86 80 ifdef DOC 87 81 $(MAKE) -C doc uninstall 88 endif89 ifdef SKYPE_PI90 $(MAKE) -C protocols/skype uninstall-doc91 82 endif 92 83 … … 128 119 -rmdir $(DESTDIR)$(ETCDIR) 129 120 130 install-plugins: install-plugin-otr install-plugin-skype121 install-plugins: install-plugin-otr 131 122 132 123 install-plugin-otr: … … 134 125 mkdir -p $(DESTDIR)$(PLUGINDIR) 135 126 $(INSTALL) -m 0755 otr.so $(DESTDIR)$(PLUGINDIR) 136 endif137 138 install-plugin-skype:139 ifdef SKYPE_PI140 mkdir -p $(DESTDIR)$(PLUGINDIR)141 $(INSTALL) -m 0755 skype.so $(DESTDIR)$(PLUGINDIR)142 mkdir -p $(DESTDIR)$(ETCDIR)/../skyped $(DESTDIR)$(BINDIR)143 $(INSTALL) -m 0644 $(_SRCDIR_)protocols/skype/skyped.cnf $(DESTDIR)$(ETCDIR)/../skyped/skyped.cnf144 $(INSTALL) -m 0644 $(_SRCDIR_)protocols/skype/skyped.conf.dist $(DESTDIR)$(ETCDIR)/../skyped/skyped.conf145 $(INSTALL) -m 0755 $(_SRCDIR_)protocols/skype/skyped.py $(DESTDIR)$(BINDIR)/skyped146 $(MAKE) -C protocols/skype install-doc147 127 endif 148 128 … … 177 157 $(VERBOSE) $(CC) $(CFLAGS) -fPIC -shared $(LDFLAGS) $< -o $@ $(OTRFLAGS) 178 158 179 $(SKYPE_PI): $(_SRCDIR_)protocols/skype/skype.c180 @echo '*' Building plugin skype181 $(VERBOSE) $(CC) $(CFLAGS) $(LDFLAGS) $(SKYPEFLAGS) $< -o $@182 183 159 $(objects): %.o: $(_SRCDIR_)%.c 184 160 @echo '*' Compiling $< -
configure
r8167346 ra949b43 47 47 plugins=1 48 48 otr=0 49 skype=050 49 51 50 events=glib … … 148 147 --otr=0/1/auto/plugin 149 148 Disable/enable OTR encryption support $otr 150 --skype=0/1/plugin151 Disable/enable Skype support $skype152 149 153 150 --events=... Event handler (glib, libevent) $events … … 751 748 echo "CFLAGS+=$($PKG_CONFIG --cflags libotr) $(libgcrypt-config --cflags)" >> Makefile.settings 752 749 echo 'OTR_PI=otr.so' >> Makefile.settings 753 fi754 755 if [ "$skype" = "1" -o "$skype" = "plugin" ]; then756 if [ "$arch" = "Darwin" ]; then757 echo "SKYPEFLAGS=-dynamiclib -undefined dynamic_lookup" >> Makefile.settings758 else759 echo "SKYPEFLAGS=-fPIC -shared" >> Makefile.settings760 fi761 echo 'SKYPE_PI=skype.so' >> Makefile.settings762 protocols_mods="$protocol_mods skype(plugin)"763 750 fi 764 751
Note: See TracChangeset
for help on using the changeset viewer.