2001-03-15 05:30:43 -06:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2008-04-11 04:35:56 -05:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
2010-02-12 08:01:35 -06:00
|
|
|
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
2001-03-15 05:30:43 -06:00
|
|
|
#
|
2008-04-11 04:35:56 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2001-03-15 05:30:43 -06:00
|
|
|
#
|
2008-04-11 04:35:56 -05:00
|
|
|
# This file is part of OpenOffice.org.
|
2001-03-15 05:30:43 -06:00
|
|
|
#
|
2008-04-11 04:35:56 -05:00
|
|
|
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
# only, as published by the Free Software Foundation.
|
2001-03-15 05:30:43 -06:00
|
|
|
#
|
2008-04-11 04:35:56 -05:00
|
|
|
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Lesser General Public License version 3 for more details
|
|
|
|
# (a copy is included in the LICENSE file that accompanied this code).
|
2001-03-15 05:30:43 -06:00
|
|
|
#
|
2008-04-11 04:35:56 -05:00
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
|
|
# version 3 along with OpenOffice.org. If not, see
|
|
|
|
# <http://www.openoffice.org/license.html>
|
|
|
|
# for a copy of the LGPLv3 License.
|
2001-03-15 05:30:43 -06:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
|
|
|
|
PRJ=..
|
|
|
|
|
|
|
|
PRJNAME=idlc
|
|
|
|
TARGET=idlc
|
|
|
|
TARGETTYPE=CUI
|
|
|
|
LIBTARGET=NO
|
|
|
|
|
|
|
|
ENABLE_EXCEPTIONS=TRUE
|
2006-06-19 21:49:29 -05:00
|
|
|
INCPRE=$(MISC)
|
2001-03-15 05:30:43 -06:00
|
|
|
|
|
|
|
# --- Settings -----------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : settings.mk
|
|
|
|
|
|
|
|
# --- Files --------------------------------------------------------
|
|
|
|
|
|
|
|
CXXFILES= \
|
2006-06-19 21:49:29 -05:00
|
|
|
wrap_scanner.cxx \
|
|
|
|
wrap_parser.cxx \
|
2001-03-15 05:30:43 -06:00
|
|
|
idlcmain.cxx \
|
|
|
|
idlc.cxx \
|
|
|
|
idlccompile.cxx \
|
|
|
|
idlcproduce.cxx \
|
|
|
|
errorhandler.cxx \
|
|
|
|
options.cxx \
|
|
|
|
fehelper.cxx \
|
|
|
|
astdeclaration.cxx \
|
|
|
|
astscope.cxx \
|
|
|
|
aststack.cxx \
|
|
|
|
astdump.cxx \
|
|
|
|
astinterface.cxx \
|
|
|
|
aststruct.cxx \
|
2004-06-03 09:10:51 -05:00
|
|
|
aststructinstance.cxx \
|
2001-03-15 05:30:43 -06:00
|
|
|
astoperation.cxx \
|
|
|
|
astconstant.cxx \
|
|
|
|
astenum.cxx \
|
|
|
|
astarray.cxx \
|
|
|
|
astunion.cxx \
|
2006-04-19 07:46:16 -05:00
|
|
|
astexpression.cxx \
|
|
|
|
astservice.cxx
|
2001-03-15 05:30:43 -06:00
|
|
|
|
2002-03-06 06:25:45 -06:00
|
|
|
YACCTARGET=$(MISC)$/parser.cxx
|
2002-07-10 03:53:15 -05:00
|
|
|
YACCFILES=parser.y
|
2002-03-06 06:25:45 -06:00
|
|
|
|
2001-03-15 05:30:43 -06:00
|
|
|
OBJFILES= \
|
2006-06-19 21:49:29 -05:00
|
|
|
$(OBJ)$/wrap_scanner.obj \
|
|
|
|
$(OBJ)$/wrap_parser.obj \
|
2001-03-15 05:30:43 -06:00
|
|
|
$(OBJ)$/idlcmain.obj \
|
|
|
|
$(OBJ)$/idlc.obj \
|
|
|
|
$(OBJ)$/idlccompile.obj \
|
|
|
|
$(OBJ)$/idlcproduce.obj \
|
|
|
|
$(OBJ)$/errorhandler.obj \
|
|
|
|
$(OBJ)$/options.obj \
|
|
|
|
$(OBJ)$/fehelper.obj \
|
|
|
|
$(OBJ)$/astdeclaration.obj \
|
|
|
|
$(OBJ)$/astscope.obj \
|
|
|
|
$(OBJ)$/aststack.obj \
|
|
|
|
$(OBJ)$/astdump.obj \
|
|
|
|
$(OBJ)$/astinterface.obj \
|
|
|
|
$(OBJ)$/aststruct.obj \
|
2004-06-03 09:10:51 -05:00
|
|
|
$(OBJ)$/aststructinstance.obj \
|
2001-03-15 05:30:43 -06:00
|
|
|
$(OBJ)$/astoperation.obj \
|
|
|
|
$(OBJ)$/astconstant.obj \
|
|
|
|
$(OBJ)$/astenum.obj \
|
|
|
|
$(OBJ)$/astarray.obj \
|
|
|
|
$(OBJ)$/astunion.obj \
|
2006-04-19 07:46:16 -05:00
|
|
|
$(OBJ)$/astexpression.obj \
|
|
|
|
$(OBJ)$/astservice.obj
|
2001-03-15 05:30:43 -06:00
|
|
|
|
|
|
|
APP1TARGET= $(TARGET)
|
|
|
|
APP1OBJS= $(OBJFILES)
|
|
|
|
|
2008-07-11 08:49:33 -05:00
|
|
|
APP1RPATH=SDK
|
|
|
|
|
2004-03-30 09:47:55 -06:00
|
|
|
APP1STDLIBS = \
|
|
|
|
$(REGLIB) \
|
|
|
|
$(SALLIB) \
|
|
|
|
$(SALHELPERLIB)
|
2001-03-15 05:30:43 -06:00
|
|
|
|
|
|
|
# --- Targets ------------------------------------------------------
|
|
|
|
|
2004-03-30 09:47:55 -06:00
|
|
|
.IF "$(debug)" == ""
|
|
|
|
YACCFLAGS+=-l
|
|
|
|
.ELSE
|
|
|
|
YACCFLAGS+=-v
|
|
|
|
.ENDIF
|
2003-10-20 07:07:50 -05:00
|
|
|
|
2001-03-15 05:30:43 -06:00
|
|
|
.INCLUDE : target.mk
|
|
|
|
|
2001-04-18 04:55:37 -05:00
|
|
|
$(MISC)$/stripped_scanner.ll : scanner.ll
|
2007-01-25 06:53:34 -06:00
|
|
|
tr -d "\015" < scanner.ll > $(MISC)$/stripped_scanner.ll
|
2001-03-15 05:30:43 -06:00
|
|
|
|
2001-04-18 04:55:37 -05:00
|
|
|
$(MISC)$/scanner.cxx: $(MISC)$/stripped_scanner.ll
|
2007-01-25 06:53:34 -06:00
|
|
|
flex -o$(MISC)$/scanner.cxx $(MISC)$/stripped_scanner.ll
|
2001-03-15 05:30:43 -06:00
|
|
|
|
2006-06-19 21:49:29 -05:00
|
|
|
$(OBJ)$/wrap_parser.obj: $(MISC)$/parser.cxx
|
|
|
|
$(OBJ)$/wrap_scanner.obj: $(MISC)$/scanner.cxx
|