office-gobmx/idlc/source/makefile.mk

125 lines
3.5 KiB
Makefile
Raw Normal View History

2001-03-15 05:30:43 -06:00
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
2001-03-15 05:30:43 -06:00
#
# OpenOffice.org - a multi-platform office productivity suite
2001-03-15 05:30:43 -06:00
#
# This file is part of OpenOffice.org.
2001-03-15 05:30:43 -06: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
#
# 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
#
# 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
INCPRE=$(MISC)
2001-03-15 05:30:43 -06:00
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
CXXFILES= \
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 \
aststructinstance.cxx \
2001-03-15 05:30:43 -06:00
astoperation.cxx \
astconstant.cxx \
astenum.cxx \
astarray.cxx \
astunion.cxx \
astexpression.cxx \
astservice.cxx
2001-03-15 05:30:43 -06:00
2002-03-06 06:25:45 -06:00
YACCTARGET=$(MISC)$/parser.cxx
YACCFILES=parser.y
2002-03-06 06:25:45 -06:00
2001-03-15 05:30:43 -06:00
OBJFILES= \
$(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 \
$(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 \
$(OBJ)$/astexpression.obj \
$(OBJ)$/astservice.obj
2001-03-15 05:30:43 -06:00
APP1TARGET= $(TARGET)
APP1OBJS= $(OBJFILES)
APP1RPATH=SDK
APP1STDLIBS = \
$(REGLIB) \
$(SALLIB) \
$(SALHELPERLIB)
2001-03-15 05:30:43 -06:00
# --- Targets ------------------------------------------------------
.IF "$(debug)" == ""
YACCFLAGS+=-l
.ELSE
YACCFLAGS+=-v
.ENDIF
2001-03-15 05:30:43 -06:00
.INCLUDE : target.mk
$(MISC)$/stripped_scanner.ll : scanner.ll
tr -d "\015" < scanner.ll > $(MISC)$/stripped_scanner.ll
2001-03-15 05:30:43 -06:00
$(MISC)$/scanner.cxx: $(MISC)$/stripped_scanner.ll
flex -o$(MISC)$/scanner.cxx $(MISC)$/stripped_scanner.ll
2001-03-15 05:30:43 -06:00
$(OBJ)$/wrap_parser.obj: $(MISC)$/parser.cxx
$(OBJ)$/wrap_scanner.obj: $(MISC)$/scanner.cxx