Changes in Makefile [a0c6fc5:5155570]
Legend:
- Unmodified
- Added
- Removed
-
Makefile
ra0c6fc5 r5155570 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: … … 109 118 install -m 0755 otr.so $(DESTDIR)$(PLUGINDIR) 110 119 endif 120 ifdef SKYPE_PI 121 mkdir -p $(DESTDIR)$(PLUGINDIR) 122 install -m 0755 skype.so $(DESTDIR)$(PLUGINDIR) 123 mkdir -p $(DESTDIR)$(ETCDIR)/../skyped 124 install -m 0644 $(SRCDIR)protocols/skype/skyped.cnf $(DESTDIR)$(ETCDIR)/../skyped/skyped.cnf 125 install -m 0644 $(SRCDIR)protocols/skype/skyped.conf $(DESTDIR)$(ETCDIR)/../skyped/skyped.conf 126 install -m 0755 $(SRCDIR)protocols/skype/skyped.py $(DESTDIR)$(BINDIR)/skyped 127 endif 111 128 112 129 systemd: … … 139 156 $(OTR_PI): %.so: $(SRCDIR)%.c 140 157 @echo '*' Building plugin $@ 141 @$(CC) $(CFLAGS) $(OTRFLAGS) -fPIC -shared $(LDFLAGS) $< -o $@ 158 @$(CC) $(CFLAGS) $(OTRFLAGS) -fPIC -shared $< -o $@ 159 160 $(SKYPE_PI): $(SRCDIR)protocols/skype/skype.c 161 @echo '*' Building plugin skype 162 @$(CC) $(CFLAGS) -fPIC -shared $< -o $@ 142 163 143 164 $(objects): %.o: $(SRCDIR)%.c … … 164 185 165 186 -include .depend/*.d 166 # DO NOT DELETE
Note: See TracChangeset
for help on using the changeset viewer.