(file) Return to Makefile CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Compiler

 1 martin 1.27 #//%LICENSE////////////////////////////////////////////////////////////////
 2 martin 1.28 #//
 3 martin 1.27 #// 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.28 #//
10 martin 1.27 #// 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.28 #//
17 martin 1.27 #// The above copyright notice and this permission notice shall be included
18             #// in all copies or substantial portions of the Software.
19 martin 1.28 #//
20 martin 1.27 #// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21 martin 1.28 #// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 martin 1.27 #// 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.28 #//
28 martin 1.27 #//////////////////////////////////////////////////////////////////////////
29 bob    1.9  #
30             #  NOTE:  The grammar and parser are no longer built in this makefile,
31 kumpf  1.30 #  and in fact flex and bison are assumed to already have been run
32             #  and their output committed to CVS.  Run
33 karl   1.29 #      make grammar
34             #           which executes the grammar makefile
35             #  to generate cimmof_tab.cpp, cimmof_tab.h, and cimmof_lex.cpp.
36             #  Remember to  commit them afterwards.
37 bob    1.9  #
38             
39 bob    1.1  ROOT = ../../..
40             
41             DIR = Pegasus/Compiler
42             
43             include $(ROOT)/mak/config.mak
44             
45 mike   1.6  EXTRA_INCLUDES = $(SYS_INCLUDES)
46 bob    1.1  
47             ifeq ($(OS_TYPE),windows)
48 carson.hovey 1.25     EXTRA_INCLUDES += -I./nt_includes
49 bob          1.1  endif
50                   
51                   LOCAL_CLEAN_TARGET = local_clean_target
52                   
53 kumpf        1.15 LOCAL_DEFINES = -DPEGASUS_COMPILER_INTERNAL -DPEGASUS_INTERNALONLY
54 bob          1.1  
55 carson.hovey 1.25 ifeq ($(OS_TYPE),vms)
56                       STATIC=1
57                   endif
58                   
59 bob          1.1  LIBRARY = pegcompiler
60                   
61                   LIBRARIES = \
62 carson.hovey 1.25     pegclient  \
63 bob          1.14     pegrepository \
64 mike         1.21     pegconfig \
65 kavita.gupta 1.31     peggeneral \
66 mike         1.21     pegcommon
67 kumpf        1.11 
68 bob          1.1  PRE_DEPEND_INCLUDES = -I./depends
69                   
70 kumpf        1.23 SOURCES = \
71                       cimmof_lex_wrapper.cpp \
72                       cimmofParser.cpp \
73                       cimmofMessages.cpp \
74                       cimmofRepositoryInterface.cpp \
75                       cimmofClient.cpp \
76                       cimmofRepository.cpp \
77                       cimmof_tab_wrapper.cpp \
78                       parser.cpp \
79                       valueFactory.cpp \
80                       compilerDeclContext.cpp
81 bob          1.1  
82 mike         1.26 ifdef PEGASUS_ENABLE_MRR_GENERATION
83                     SOURCES += cimmofMRR.cpp
84                     SOURCES += Closure.cpp
85                     LOCAL_DEFINES += -DPEGASUS_ENABLE_MRR_GENERATION
86                   endif
87                   
88 carson.hovey 1.25 include $(ROOT)/mak/dynamic-library.mak
89 mike         1.3  
90 mike         1.4  $(OBJ_DIR)/cimmof_tab_wrapper$(OBJ) : cimmof_tab.cpp
91                   
92                   $(OBJ_DIR)/cimmof_lex_wrapper$(OBJ) : cimmof_lex.cpp
93                   
94 bob          1.1  local_clean_target:
95 bob          1.9  	$(RM) cimmoftemp.out cimmoftemp.output
96 karl         1.29 	
97                   ## Make the grammar files by executing Makefile.grammar
98                   grammar:
99                   	make -f Makefile.grammar

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2