~ubuntu-branches/ubuntu/lucid/enigmail/lucid-security

« back to all changes in this revision

Viewing changes to config/static-rules.mk

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2010-04-10 01:42:24 UTC
  • Revision ID: james.westby@ubuntu.com-20100410014224-fbq9ui5x3b0h2t36
Tags: 2:1.0.1-0ubuntu1
* First releaase of enigmail 1.0.1 for tbird/icedove 3
  (LP: #527138)
* redo packaging from scratch 
  + add debian/make-orig target that uses xulrunner provided
    buildsystem + enigmail tarball to produce a proper orig.tar.gz
  + use debhelper 7 with mozilla-devscripts
  + use debian source format 3.0 (quilt)
  + patch enigmail to use frozen API only
    - add debian/patches/frozen_api.diff
  + patch build system to not link against -lxul - which isnt
    available for sdks produced by all-static apps like tbird
    - add debian/patches/build_system_dont_link_libxul.diff
  + add minimal build-depends to control

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
ifdef _NO_AUTO_VARS
 
3
_TARGET = $(srcdir)/$(@F)
 
4
else
 
5
_TARGET = $@
 
6
endif
 
7
 
 
8
$(warning FINAL_LINK_COMP_NAMES = $(FINAL_LINK_COMP_NAMES))
 
9
$(warning FINAL_LINK_COMPS = $(FINAL_LINK_COMPS))
 
10
 
 
11
nsStaticComponents.cpp: $(topsrcdir)/config/nsStaticComponents.cpp.in $(GLOBAL_DEPS) $(FINAL_LINK_COMP_NAMES)
 
12
        rm -f $@
 
13
        cat $< | \
 
14
        sed -e "s|%MODULE_LIST%|$(foreach m, $(STATIC_COMPONENT_LIST),MODULE($(m)))|" \
 
15
        > $(_TARGET)
 
16
 
 
17
GARBAGE += nsStaticComponents.cpp
 
18
 
 
19
ifeq ($(OS_ARCH),IRIX)
 
20
LDFLAGS += -Wl,-LD_LAYOUT:lgot_buffer=80
 
21
endif
 
22
 
 
23
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
 
24
LIBS    += -framework QuickTime -framework IOKit -lcrypto
 
25
endif