~lefteris-nikoltsios/+junk/samba-lp1016895

« back to all changes in this revision

Viewing changes to lib/talloc/talloc.mk

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-12-21 13:18:04 UTC
  • mfrom: (0.39.21 sid)
  • Revision ID: package-import@ubuntu.com-20111221131804-xtlr39wx6njehxxr
Tags: 2:3.6.1-3ubuntu1
* Merge from Debian testing.  Remaining changes:
  + debian/patches/VERSION.patch:
    - set SAMBA_VERSION_SUFFIX to Ubuntu.
  + debian/patches/error-trans.fix-276472:
    - Add the translation of Unix Error code -ENOTSUP to NT Error Code
    - NT_STATUS_NOT_SUPPORTED to prevent the Permission denied error.
  + debian/smb.conf:
    - add "(Samba, Ubuntu)" to server string.
    - comment out the default [homes] share, and add a comment about
      "valid users = %S" to show users how to restrict access to
      \\server\username to only username.
    - Set 'usershare allow guests', so that usershare admins are 
      allowed to create public shares in addition to authenticated
      ones.
    - add map to guest = Bad user, maps bad username to guest access.
  + debian/samba-common.config:
    - Do not change priority to high if dhclient3 is installed.
    - Use priority medium instead of high for the workgroup question.
  + debian/control:
    - Don't build against or suggest ctdb.
    - Add dependency on samba-common-bin to samba.
  + Add ufw integration:
    - Created debian/samba.ufw.profile
    - debian/rules, debian/samba.dirs, debian/samba.files: install
      profile
    - debian/control: have samba suggest ufw
  + Add apport hook:
    - Created debian/source_samba.py.
    - debian/rules, debian/samba.dirs, debian/samba-common-bin.files: install
  + Switch to upstart:
    - Add debian/samba.{nmbd,smbd}.upstart.
  + debian/samba.logrotate, debian/samba-common.dhcp, debian/samba.if-up:
    - Make them upstart compatible
  + debian/samba.postinst: 
    - Avoid scary pdbedit warnings on first import.
  + debian/samba-common.postinst: Add more informative error message for
    the case where smb.conf was manually deleted
  + debian/patches/fix-debuglevel-name-conflict.patch: don't use 'debug_level'
    as a global variable name in an NSS module 
  + Dropped:
    - debian/patches/error-trans.fix-276472
    - debian/patches/fix-debuglevel-name-conflict.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
TALLOC_OBJ = $(tallocdir)/talloc.o 
2
 
 
3
 
TALLOC_SHLIB = libtalloc.$(SHLIBEXT)
4
 
TALLOC_SOLIB = libtalloc.$(SHLIBEXT).$(TALLOC_VERSION)
5
 
TALLOC_SONAME = libtalloc.$(SHLIBEXT).$(TALLOC_VERSION_MAJOR)
6
 
TALLOC_STLIB = libtalloc.a
7
 
 
8
 
all:: $(TALLOC_STLIB) $(TALLOC_SOLIB) testsuite
9
 
 
10
 
testsuite:: $(LIBOBJ) testsuite.o testsuite_main.o
11
 
        $(CC) $(CFLAGS) -o testsuite testsuite.o testsuite_main.o $(LIBOBJ) $(LIBS)
12
 
 
13
 
$(TALLOC_STLIB): $(LIBOBJ)
14
 
        ar -rv $@ $(LIBOBJ)
15
 
        @-ranlib $@
16
 
 
17
 
install:: all 
18
 
        ${INSTALLCMD} -d $(DESTDIR)$(libdir)
19
 
        ${INSTALLCMD} -d $(DESTDIR)$(libdir)/pkgconfig
20
 
        ${INSTALLCMD} -m 755 $(TALLOC_STLIB) $(DESTDIR)$(libdir)
21
 
        ${INSTALLCMD} -m 755 $(TALLOC_SOLIB) $(DESTDIR)$(libdir)
22
 
        ${INSTALLCMD} -d $(DESTDIR)${includedir}
23
 
        ${INSTALLCMD} -m 644 $(srcdir)/talloc.h $(DESTDIR)$(includedir)
24
 
        ${INSTALLCMD} -m 644 talloc.pc $(DESTDIR)$(libdir)/pkgconfig
25
 
        if [ -f talloc.3 ];then ${INSTALLCMD} -d $(DESTDIR)$(mandir)/man3; fi
26
 
        if [ -f talloc.3 ];then ${INSTALLCMD} -m 644 talloc.3 $(DESTDIR)$(mandir)/man3; fi
27
 
        which swig >/dev/null 2>&1 && ${INSTALLCMD} -d $(DESTDIR)`swig -swiglib` || true
28
 
        which swig >/dev/null 2>&1 && ${INSTALLCMD} -m 644 talloc.i $(DESTDIR)`swig -swiglib` || true
29
 
        rm -f $(DESTDIR)$(libdir)/$(TALLOC_SONAME)
30
 
        ln -s $(TALLOC_SOLIB) $(DESTDIR)$(libdir)/$(TALLOC_SONAME)
31
 
        rm -f $(DESTDIR)$(libdir)/$(TALLOC_SHLIB)
32
 
        ln -s $(TALLOC_SOLIB) $(DESTDIR)$(libdir)/$(TALLOC_SHLIB)
33
 
 
34
 
doc:: talloc.3 talloc.3.html
35
 
 
36
 
clean::
37
 
        rm -f *~ $(LIBOBJ) $(TALLOC_SOLIB) $(TALLOC_STLIB) testsuite testsuite.o testsuite_main.o *.gc?? talloc.3 talloc.3.html
38
 
        rm -fr abi
39
 
        rm -f talloc.exports.sort talloc.exports.check talloc.exports.check.sort
40
 
        rm -f talloc.signatures.sort talloc.signatures.check talloc.signatures.check.sort
41
 
 
42
 
test:: testsuite
43
 
        ./testsuite
44
 
 
45
 
abi_checks::
46
 
        @echo ABI checks:
47
 
        @./script/abi_checks.sh talloc talloc.h
48
 
 
49
 
test:: abi_checks
50
 
 
51
 
gcov::
52
 
        gcov talloc.c