security/nss/lib/zlib/Makefile

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:b2a4a4c63b1a
1 #! gmake
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
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7 #######################################################################
8 # (1) Include initial platform-independent assignments (MANDATORY). #
9 #######################################################################
10
11 include manifest.mn
12
13 #######################################################################
14 # (2) Include "global" configuration information. (OPTIONAL) #
15 #######################################################################
16
17 include $(CORE_DEPTH)/coreconf/config.mk
18
19 #######################################################################
20 # (3) Include "component" configuration information. (OPTIONAL) #
21 #######################################################################
22
23
24 #######################################################################
25 # (4) Include "local" platform-dependent assignments (OPTIONAL). #
26 #######################################################################
27
28 include config.mk
29
30 #######################################################################
31 # (5) Execute "global" rules. (OPTIONAL) #
32 #######################################################################
33
34 include $(CORE_DEPTH)/coreconf/rules.mk
35
36 #######################################################################
37 # (6) Execute "component" rules. (OPTIONAL) #
38 #######################################################################
39
40
41
42 #######################################################################
43 # (7) Execute "local" rules. (OPTIONAL). #
44 #######################################################################
45
46 export:: private_export
47
48 test: $(PROGRAMS)
49 @cd $(OBJDIR); \
50 if echo hello world | ./minigzip | ./minigzip -d && ./example; then \
51 echo ' *** zlib test OK ***'; \
52 else \
53 echo ' *** zlib test FAILED ***'; false; \
54 fi
55 -@rm -f foo.gz

mercurial