Changeset 370899f for Makefile


Ignore:
Timestamp:
2011-04-12T00:16:35Z (10 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
17dd2ed, bf8ee39
Parents:
43b1cd7
Message:

Add build system support for building the skype plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r43b1cd7 r370899f  
    2727subdirobjs = $(foreach dir,$(subdirs),$(dir)/$(dir).o)
    2828
    29 all: $(OUTFILE) $(OTR_PI) systemd
     29all: $(OUTFILE) $(OTR_PI) $(SKYPE_PI) systemd
    3030        $(MAKE) -C doc
    3131
     
    109109        install -m 0755 otr.so $(DESTDIR)$(PLUGINDIR)
    110110endif
     111ifdef SKYPE_PI
     112        mkdir -p $(DESTDIR)$(PLUGINDIR)
     113        install -m 0755 skype.so $(DESTDIR)$(PLUGINDIR)
     114endif
    111115
    112116systemd:
     
    141145        @$(CC) $(CFLAGS) $(OTRFLAGS) -fPIC -shared $< -o $@
    142146
     147$(SKYPE_PI): $(SRCDIR)protocols/skype/skype.c
     148        @echo '*' Building plugin skype
     149        @$(CC) $(CFLAGS) -fPIC -shared $< -o $@
     150
    143151$(objects): %.o: $(SRCDIR)%.c
    144152        @echo '*' Compiling $<
Note: See TracChangeset for help on using the changeset viewer.