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

File: [Pegasus] / pegasus / src / Pegasus / WQL / Makefile (download)
Revision: 1.15, Wed Feb 16 10:11:22 2005 UTC (19 years, 4 months ago) by r.kieninger
Branch: MAIN
CVS Tags: PEP214ROOT, PEP214BRANCH, PEP214-root, PEP214-branch, PEP-214B-root
Changes since 1.14: +3 -1 lines
BUG#: 2769
TITLE: Pegasus 2.5 porting changes for z/OS

DESCRIPTION: Makefile updates for CMPI and WQL. Added missing library pegcql for CMPI and excluded the nt_includes for z/OS from the WQL makefile.

ROOT = ../../..

DIR = Pegasus/WQL

include $(ROOT)/mak/config.mak

LOCAL_DEFINES = -DPEGASUS_WQL_INTERNAL -DPEGASUS_INTERNALONLY

ifneq ($(OS), HPUX)
  ifneq ($(OS), zos)
    ifndef PEGASUS_LSB
	EXTRA_INCLUDES = -Int_includes
    endif
  endif
endif

LIBRARY = pegwql

LIBRARIES = \
   pegcommon \
   pegquerycommon

SOURCES = \
	WQLSelectStatement.cpp \
	WQLSelectStatementRep.cpp \
	WQLYACC.cpp \
	WQLLEX.cpp \
	WQLSimplePropertySource.cpp \
	WQLPropertySource.cpp \
	WQLInstancePropertySource.cpp \
	WQLParserState.cpp \
	WQLOperation.cpp \
	WQLOperand.cpp \
	WQLParser.cpp \
	WQLQueryExpressionRep.cpp

SOURCES_X = \
	WQLLEX.cpp \

include $(ROOT)/mak/library.mak
include $(ROOT)/mak/install.mak

##------------------------------------------------------------------------------
##
## Rules to build LEX AND YACC sources:
##
## To make these files type: "make grammar"
##
##------------------------------------------------------------------------------


##
## This pushes BISON_SIMPLE into the environment so that bison will use this
## rather than looking for /usr/local/share/bison.simple.
##

grammar: yacc_rule lex_rule

export BISON_SIMPLE = bison.simple

##
## Lex rule:
##
lex_rule:
	$(LEX) -oWQLLEX.cpp -PWQL_ WQL.l
	$(TOUCH) WQLLEX.cpp

##
## Yacc rule:
##
yacc_rule:
ifeq ($(YACC),yacc)
	$(YACC) -vd -p WQL_ WQL.y
	$(COPY) "y.tab.c" "WQLYACC.cpp"
	$(COPY) "y.tab.h" "WQLYACC.h"
	$(RM) y.tab.c y.tab.h
	$(TOUCH) WQLYACC.cpp WQLYACC.h
else
	$(YACC) -vd -oWQLtemp -p WQL_ WQL.y
	$(COPY) "WQLtemp" "WQLYACC.cpp
	$(COPY) "WQLtemp.h" "WQLYACC.h
	$(RM) WQLtemp WQLtemp.h WQLtemp.output wqltemp.out
	$(TOUCH) WQLYACC.cpp WQLYACC.h
endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2