1 karl 1.20 #//%2006////////////////////////////////////////////////////////////////////////
|
2 martin 1.19 #//
3 #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
4 #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
5 #// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
6 #// IBM Corp.; EMC Corporation, The Open Group.
7 #// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
8 #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
9 #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
10 #// EMC Corporation; VERITAS Software Corporation; The Open Group.
|
11 karl 1.20 #// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
12 #// EMC Corporation; Symantec Corporation; The Open Group.
|
13 martin 1.19 #//
14 #// Permission is hereby granted, free of charge, to any person obtaining a copy
15 #// of this software and associated documentation files (the "Software"), to
16 #// deal in the Software without restriction, including without limitation the
17 #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
18 #// sell copies of the Software, and to permit persons to whom the Software is
19 #// furnished to do so, subject to the following conditions:
20 #//
21 #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
22 #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
23 #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
24 #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
25 #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
26 #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
27 #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 #//
30 #//==============================================================================
|
31 bob 1.9 #
32 # NOTE: The grammar and parser are no longer built in this makefile,
33 # and in fact flex and bison are assumed to already have been run
34 # and their output committed to CVS. Run
|
35 kumpf 1.16 # make -f Makefile.grammar
|
36 bob 1.9 # to generate cimmof_tab.cpp, cimmof_tab.h, and cimmof_lex.cpp,
37 # and remember to commit them afterwards.
38 #
39
|
40 bob 1.1 ROOT = ../../..
41
42 DIR = Pegasus/Compiler
43
44 include $(ROOT)/mak/config.mak
45
|
46 mike 1.6 EXTRA_INCLUDES = $(SYS_INCLUDES)
|
47 bob 1.1
48 ifeq ($(OS_TYPE),windows)
49 EXTRA_INCLUDES += -I./nt_includes
50 endif
51
52 LOCAL_CLEAN_TARGET = local_clean_target
53
|
54 kumpf 1.15 LOCAL_DEFINES = -DPEGASUS_COMPILER_INTERNAL -DPEGASUS_INTERNALONLY
|
55 bob 1.1
56 LIBRARY = pegcompiler
57
58 LIBRARIES = \
|
59 mike 1.21 pegclient \
60 pegconfig \
|
61 bob 1.14 pegrepository \
|
62 mike 1.21 pegconfig \
63 pegcommon
|
64 kumpf 1.11
|
65 bob 1.1 PRE_DEPEND_INCLUDES = -I./depends
66
|
67 bob 1.5 SOURCES = cimmof_lex_wrapper.cpp cimmofParser.cpp cimmofMessages.cpp \
|
68 bob 1.14 cimmofRepositoryInterface.cpp cimmofClient.cpp \
|
69 mike 1.4 cimmofRepository.cpp cimmof_tab_wrapper.cpp parser.cpp \
|
70 mike 1.21.20.2 qualifierList.cpp valueFactory.cpp objname.cpp compilerDeclContext.cpp
71
72 ifeq ($(PEGASUS_ENABLE_PRIVILEGE_SEPARATION),true)
73 SOURCES += Policy.cpp
74 endif
|
75 bob 1.1
76 OBJECTS = $(SOURCES:.cpp=$(OBJ))
77
78 include $(ROOT)/mak/library.mak
79
|
80 mike 1.3
|
81 mike 1.4 $(OBJ_DIR)/cimmof_tab_wrapper$(OBJ) : cimmof_tab.cpp
82
83 $(OBJ_DIR)/cimmof_lex_wrapper$(OBJ) : cimmof_lex.cpp
84
|
85 bob 1.1 local_clean_target:
|
86 bob 1.9 $(RM) cimmoftemp.out cimmoftemp.output
|