Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r5155570 ra0c6fc5  
    2727subdirobjs = $(foreach dir,$(subdirs),$(dir)/$(dir).o)
    2828
    29 all: $(OUTFILE) $(OTR_PI) $(SKYPE_PI) systemd
     29all: $(OUTFILE) $(OTR_PI) systemd
    3030        $(MAKE) -C doc
    31 ifdef SKYPE_PI
    32         $(MAKE) -C protocols/skype doc
    33 endif
    3431
    3532uninstall: uninstall-bin uninstall-doc
     
    7471install-doc:
    7572        $(MAKE) -C doc install
    76 ifdef SKYPE_PI
    77         $(MAKE) -C protocols/skype install-doc
    78 endif
    7973
    8074uninstall-doc:
    8175        $(MAKE) -C doc uninstall
    82 ifdef SKYPE_PI
    83         $(MAKE) -C protocols/skype uninstall-doc
    84 endif
    8576
    8677install-bin:
     
    118109        install -m 0755 otr.so $(DESTDIR)$(PLUGINDIR)
    119110endif
    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
    128111
    129112systemd:
     
    156139$(OTR_PI): %.so: $(SRCDIR)%.c
    157140        @echo '*' Building plugin $@
    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 $@
     141        @$(CC) $(CFLAGS) $(OTRFLAGS) -fPIC -shared $(LDFLAGS) $< -o $@
    163142
    164143$(objects): %.o: $(SRCDIR)%.c
     
    185164
    186165-include .depend/*.d
     166# DO NOT DELETE
Note: See TracChangeset for help on using the changeset viewer.