~ubuntu-branches/ubuntu/quantal/enigmail/quantal-security

« back to all changes in this revision

Viewing changes to mozilla/config/makefiles/test/check-xpidl.mk

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2013-09-13 16:02:15 UTC
  • mfrom: (0.12.16)
  • Revision ID: package-import@ubuntu.com-20130913160215-u3g8nmwa0pdwagwc
Tags: 2:1.5.2-0ubuntu0.12.10.1
* New upstream release v1.5.2 for Thunderbird 24

* Build enigmail using a stripped down Thunderbird 17 build system, as it's
  now quite difficult to build the way we were doing previously, with the
  latest Firefox build system
* Add debian/patches/no_libxpcom.patch - Don't link against libxpcom, as it
  doesn't exist anymore (but exists in the build system)
* Add debian/patches/use_sdk.patch - Use the SDK version of xpt.py and
  friends
* Drop debian/patches/ipc-pipe_rename.diff (not needed anymore)
* Drop debian/patches/makefile_depth.diff (not needed anymore)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- makefile -*-
 
2
#
 
3
# This Source Code Form is subject to the terms of the Mozilla Public
 
4
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
 
5
# You can obtain one at http://mozilla.org/MPL/2.0/.
 
6
 
 
7
ifdef VERBOSE
 
8
  $(warning loading test)
 
9
endif
 
10
 
 
11
# Limit scope, we only need install_cmd= for testing
 
12
INCLUDED_AUTOCONF_MK = 1
 
13
include $(topsrcdir)/config/config.mk
 
14
 
 
15
USE_AUTOTARGETS_MK = 1
 
16
include $(topsrcdir)/config/makefiles/makeutils.mk
 
17
 
 
18
basedir  = blah
 
19
DIST     = $(basedir)/dist
 
20
DI       = $(DIST)/include
 
21
IDL_DIR  = $(basedir)/idl
 
22
INSTALL := cp
 
23
 
 
24
XPIDLSRCS = $(srcdir)/check-xpidl.mk
 
25
 
 
26
include $(topsrcdir)/config/makefiles/xpidl.mk
 
27
 
 
28
 
 
29
$(call requiredfunction,topsrcdir)
 
30
$(call requiredfunction,XPIDL_GEN_DIR)
 
31
 
 
32
HIDE=@
 
33
check-xpidl: xpidl-install-src xpidl-install-headers
 
34
        $(HIDE)test -d $(DIST)                   || exit 90
 
35
        $(HIDE)test -f $(DI)/check-xpidl.mk      || exit 91
 
36
        $(HIDE)test -f $(IDL_DIR)/check-xpidl.mk || exit 92
 
37
 
 
38
# Declare targets to avoid including rules.mk
 
39
$(DI) $(IDL_DIR):
 
40
        mkdir -p $@
 
41
 
 
42
clean-xpidl:
 
43
        $(RM) -r $(basedir)