|
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 CORE_DEPTH = ../.. |
|
8 DEPTH = ../.. |
|
9 |
|
10 include $(CORE_DEPTH)/coreconf/config.mk |
|
11 |
|
12 publish: |
|
13 ifeq ($(OS_TARGET),Linux) |
|
14 rm -rf $(OBJDIR) |
|
15 cp -r linux $(OBJDIR) |
|
16 $(MAKE) -C $(OBJDIR) publish |
|
17 endif |
|
18 ifeq ($(OS_TARGET),SunOS) |
|
19 rm -rf $(OBJDIR) |
|
20 cp -r solaris $(OBJDIR) |
|
21 $(MAKE) -C $(OBJDIR) publish |
|
22 endif |
|
23 |
|
24 clean:: |
|
25 rm -rf $(OBJDIR) |
|
26 |
|
27 include $(CORE_DEPTH)/coreconf/rules.mk |