1 martin 1.11 #//%LICENSE////////////////////////////////////////////////////////////////
|
2 martin 1.12 #//
|
3 martin 1.11 #// Licensed to The Open Group (TOG) under one or more contributor license
4 #// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
5 #// this work for additional information regarding copyright ownership.
6 #// Each contributor licenses this file to you under the OpenPegasus Open
7 #// Source License; you may not use this file except in compliance with the
8 #// License.
|
9 martin 1.12 #//
|
10 martin 1.11 #// Permission is hereby granted, free of charge, to any person obtaining a
11 #// copy of this software and associated documentation files (the "Software"),
12 #// to deal in the Software without restriction, including without limitation
13 #// the rights to use, copy, modify, merge, publish, distribute, sublicense,
14 #// and/or sell copies of the Software, and to permit persons to whom the
15 #// Software is furnished to do so, subject to the following conditions:
|
16 martin 1.12 #//
|
17 martin 1.11 #// The above copyright notice and this permission notice shall be included
18 #// in all copies or substantial portions of the Software.
|
19 martin 1.12 #//
|
20 martin 1.11 #// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
21 martin 1.12 #// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
22 martin 1.11 #// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23 #// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24 #// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25 #// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26 #// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
27 martin 1.12 #//
|
28 martin 1.11 #//////////////////////////////////////////////////////////////////////////
|
29 mike 1.1
30 build: $(OBJ_DIR)/target $(BIN_DIR)/target $(LIB_DIR)/target $(ERROR)
31
|
32 mike 1.3 define BUILD_NL
33
34
35 endef
36
|
37 carson.hovey 1.8 ifeq ($(OS_TYPE),vms)
|
38 gs.keenan 1.5
39 $(OBJ_DIR)/target: $(ERROR)
40 ifndef VMSPROGRAM
41 library/create/object $(FULL_VMSLIB)
42 endif
43 @ $(MKDIRHIER) $(REP_DIR)
44 @ $(MKDIRHIER) $(OBJ_DIR)
45 @ $(TOUCH) $(OBJ_VMSDIR)]target
46
47 $(BIN_DIR)/target: $(ERROR)
48 @ $(MKDIRHIER) $(BIN_DIR)
49 @ $(TOUCH) $(BIN_VMSDIR)]target
50
51 $(LIB_DIR)/target: $(ERROR)
52 @ $(MKDIRHIER) $(LIB_DIR)
53 @ $(TOUCH) $(LIB_VMSDIR)]target
54
55 $(OPT_DIR)/target: $(ERROR)
56 @ $(MKDIRHIER) $(OPT_DIR)
57 @ $(TOUCH) $(OPT_VMSDIR)]target
58 else
|
59 mike 1.1 $(OBJ_DIR)/target: $(ERROR)
60 @ $(MKDIRHIER) $(OBJ_DIR)
|
61 mike 1.3 $(foreach i, $(OBJECT_DIRS), $(MKDIRHIER) $(OBJ_DIR)/$(i) $(BUILD_NL) )
|
62 mike 1.4 @ $(TOUCH) $(OBJ_DIR)/target
|
63 mike 1.1
64 $(BIN_DIR)/target: $(ERROR)
|
65 kumpf 1.10 ifdef PEGASUS_TEST_VALGRIND_LOG_DIR
|
66 dmitry.mikulin 1.9 @ $(MKDIRHIER) $(VALGRIND_SCRIPT_BIN_DIR)
67 endif
|
68 mike 1.1 @ $(MKDIRHIER) $(BIN_DIR)
|
69 mike 1.2 @ $(TOUCH) $(BIN_DIR)/target
|
70 mike 1.1
71 $(LIB_DIR)/target: $(ERROR)
72 @ $(MKDIRHIER) $(LIB_DIR)
|
73 mike 1.2 @ $(TOUCH) $(LIB_DIR)/target
|
74 gs.keenan 1.5 endif
|