Changeset df1a59d4


Ignore:
Timestamp:
2008-03-07T12:38:58Z (12 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
2dbb768
Parents:
f578275
Message:

add support for osx

Location:
skype
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • skype/Makefile

    rf578275 rdf1a59d4  
    55AMVERSION = $(shell automake --version|sed 's/.* //;s/\([0-9]\+\.[0-9]\+\)\.[0-9]\+/\1/;q')
    66
    7 skype.so: skype.c config.mak
    8         $(CC) $(CFLAGS) -shared -o skype.so skype.c $(LDFLAGS)
     7skype.$(SHARED_EXT): skype.c config.mak
     8        $(CC) $(CFLAGS) $(SHARED_FLAGS) -o skype.$(SHARED_EXT) skype.c $(LDFLAGS)
    99
    10 install: skype.so skyped.py
     10install: skype.$(SHARED_EXT) skyped.py
    1111        $(INSTALL) -d $(DESTDIR)$(plugindir)
    1212        $(INSTALL) -d $(DESTDIR)$(bindir)
    1313        $(INSTALL) -d $(DESTDIR)$(sysconfdir)
    14         $(INSTALL) skype.so $(DESTDIR)$(plugindir)
     14        $(INSTALL) skype.$(SHARED_EXT) $(DESTDIR)$(plugindir)
    1515        $(INSTALL) skyped.py $(DESTDIR)$(bindir)/skyped
    1616        sed -i 's|/usr/local/etc/skyped|$(sysconfdir)|' $(DESTDIR)$(bindir)/skyped
     
    2626
    2727clean:
    28         rm -f skype.so
     28        rm -f skype.$(SHARED_EXT)
    2929
    3030distclean: clean
  • skype/README

    rf578275 rdf1a59d4  
    3737  install GTK for nothing, right?)
    3838
    39 `bitlbee-skype` has been tested under Linux and Windows. Skype and Skype4py is
    40 available under OSX, too, so it probably works, but this has not been tested.
     39`bitlbee-skype` has been tested under Linux and Mac OS X. Skype and Skype4py is
     40available under Windows, too, so it probably works, but this has not been tested.
    4141
    4242== How to set it up
  • skype/config.mak.in

    rf578275 rdf1a59d4  
    11CFLAGS = @CFLAGS@
    22LDFLAGS = @LDFLAGS@
     3SHARED_FLAGS = @SHARED_FLAGS@
     4SHARED_EXT = @SHARED_EXT@
    35INSTALL = @INSTALL@
    46prefix = @prefix@
  • skype/configure.ac

    rf578275 rdf1a59d4  
    1212fi
    1313
     14case "`$CC -dumpmachine`" in
     15        *linux*)
     16                SHARED_FLAGS="-shared"
     17                SHARED_EXT="so"
     18                ;;
     19        *apple-darwin*)
     20                SHARED_FLAGS="-dynamiclib -Wl,-headerpad_max_install_names,-undefined,dynamic_lookup"
     21                SHARED_EXT="dynlib"
     22                ;;
     23        *)
     24                AC_MSG_ERROR([Your machine is not yet supported])
     25                ;;
     26esac
     27AC_SUBST(SHARED_FLAGS)
     28AC_SUBST(SHARED_EXT)
     29
    1430dnl Check for bitlbee
    1531PKG_CHECK_MODULES(BITLBEE, bitlbee)
Note: See TracChangeset for help on using the changeset viewer.