- Timestamp:
- 2011-12-17T13:50:01Z (13 years ago)
- Branches:
- master
- Children:
- 18c6d36
- Parents:
- 87dddee (diff), 17f057d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r87dddee r6e9ae72 27 27 subdirobjs = $(foreach dir,$(subdirs),$(dir)/$(dir).o) 28 28 29 all: $(OUTFILE) $(OTR_PI) systemd29 all: $(OUTFILE) $(OTR_PI) $(SKYPE_PI) systemd 30 30 $(MAKE) -C doc 31 ifdef SKYPE_PI 32 $(MAKE) -C protocols/skype doc 33 endif 31 34 32 35 uninstall: uninstall-bin uninstall-doc … … 71 74 install-doc: 72 75 $(MAKE) -C doc install 76 ifdef SKYPE_PI 77 $(MAKE) -C protocols/skype install-doc 78 endif 73 79 74 80 uninstall-doc: 75 81 $(MAKE) -C doc uninstall 82 ifdef SKYPE_PI 83 $(MAKE) -C protocols/skype uninstall-doc 84 endif 76 85 77 86 install-bin: 78 mkdir -p $(DESTDIR)$( BINDIR)79 install -m 0755 $(OUTFILE) $(DESTDIR)$( BINDIR)/$(OUTFILE)87 mkdir -p $(DESTDIR)$(SBINDIR) 88 install -m 0755 $(OUTFILE) $(DESTDIR)$(SBINDIR)/$(OUTFILE) 80 89 81 90 uninstall-bin: 82 rm -f $(DESTDIR)$( BINDIR)/$(OUTFILE)91 rm -f $(DESTDIR)$(SBINDIR)/$(OUTFILE) 83 92 84 93 install-dev: … … 104 113 -rmdir $(DESTDIR)$(ETCDIR) 105 114 106 install-plugins: 115 install-plugins: install-plugin-otr install-plugin-skype 116 117 install-plugin-otr: 107 118 ifdef OTR_PI 108 119 mkdir -p $(DESTDIR)$(PLUGINDIR) 109 120 install -m 0755 otr.so $(DESTDIR)$(PLUGINDIR) 121 endif 122 123 install-plugin-skype: 124 ifdef SKYPE_PI 125 mkdir -p $(DESTDIR)$(PLUGINDIR) 126 install -m 0755 skype.so $(DESTDIR)$(PLUGINDIR) 127 mkdir -p $(DESTDIR)$(ETCDIR)/../skyped $(DESTDIR)$(BINDIR) 128 install -m 0644 $(SRCDIR)protocols/skype/skyped.cnf $(DESTDIR)$(ETCDIR)/../skyped/skyped.cnf 129 install -m 0644 $(SRCDIR)protocols/skype/skyped.conf.dist $(DESTDIR)$(ETCDIR)/../skyped/skyped.conf 130 install -m 0755 $(SRCDIR)protocols/skype/skyped.py $(DESTDIR)$(BINDIR)/skyped 131 make -C protocols/skype install-doc 110 132 endif 111 133 … … 139 161 $(OTR_PI): %.so: $(SRCDIR)%.c 140 162 @echo '*' Building plugin $@ 141 @$(CC) $(CFLAGS) $(OTRFLAGS) -fPIC -shared $(LDFLAGS) $< -o $@ 163 @$(CC) $(CFLAGS) -fPIC -shared $(LDFLAGS) $< -o $@ $(OTRFLAGS) 164 165 $(SKYPE_PI): $(SRCDIR)protocols/skype/skype.c 166 @echo '*' Building plugin skype 167 @$(CC) $(CFLAGS) -fPIC -shared $< -o $@ 142 168 143 169 $(objects): %.o: $(SRCDIR)%.c … … 164 190 165 191 -include .depend/*.d 192 # DO NOT DELETE
Note: See TracChangeset
for help on using the changeset viewer.