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

« back to all changes in this revision

Viewing changes to mozilla/testing/mozbase/mozprocess/tests/Makefile

  • 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
#
 
2
# proclaunch  tests Makefile
 
3
#
 
4
UNAME := $(shell uname -s)
 
5
ifeq ($(UNAME), MINGW32_NT-6.1)
 
6
WIN32 = 1
 
7
endif
 
8
ifeq ($(UNAME), MINGW32_NT-5.1)
 
9
WIN32 = 1
 
10
endif
 
11
 
 
12
ifeq ($(WIN32), 1)
 
13
CC      = cl
 
14
LINK    = link
 
15
CFLAGS  = //Od //I "iniparser" //D "WIN32" //D "_WIN32" //D "_DEBUG" //D "_CONSOLE" //D "_UNICODE" //D "UNICODE" //Gm //EHsc //RTC1 //MDd //W3 //nologo //c //ZI //TC
 
16
LFLAGS  = //OUT:"proclaunch.exe" //INCREMENTAL //LIBPATH:"iniparser\\" //NOLOGO //DEBUG //SUBSYSTEM:CONSOLE //DYNAMICBASE //NXCOMPAT //MACHINE:X86 //ERRORREPORT:PROMPT iniparser.lib  kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
 
17
RM      = rm -f
 
18
 
 
19
default: all
 
20
all: iniparser proclaunch
 
21
 
 
22
iniparser:
 
23
        $(MAKE) -C iniparser
 
24
 
 
25
proclaunch.obj: proclaunch.c
 
26
        $(CC) $(CFLAGS) proclaunch.c
 
27
 
 
28
proclaunch: proclaunch.obj
 
29
        $(LINK) $(LFLAGS) proclaunch.obj
 
30
 
 
31
else
 
32
CC      = gcc
 
33
ifeq ($(UNAME), Linux)
 
34
CFLAGS  = -g -v -Iiniparser
 
35
else
 
36
CFLAGS  = -g -v -arch i386 -Iiniparser
 
37
endif
 
38
 
 
39
LFLAGS  = -L.. -liniparser
 
40
AR          = ar
 
41
ARFLAGS = rcv
 
42
RM      = rm -f
 
43
 
 
44
 
 
45
default: all
 
46
 
 
47
all: libiniparser.a proclaunch
 
48
 
 
49
libiniparser.a:
 
50
        $(MAKE) -C iniparser
 
51
 
 
52
proclaunch: proclaunch.c
 
53
        $(CC) $(CFLAGS) -o proclaunch proclaunch.c -Iiniparser -Liniparser -liniparser
 
54
 
 
55
clean veryclean:
 
56
        $(RM) proclaunch 
 
57
endif