1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
39 ENABLE_EXCEPTIONS
=TRUE
46 # --- Settings -----------------------------------------------------
49 .INCLUDE
: settings.mk
51 # --- Files --------------------------------------------------------
69 aststructinstance.
cxx \
78 YACCTARGET
=$(MISC
)$/parser.
cxx
82 $(OBJ
)$/wrap_scanner.obj \
83 $(OBJ
)$/wrap_parser.obj \
84 $(OBJ
)$/idlcmain.obj \
86 $(OBJ
)$/idlccompile.obj \
87 $(OBJ
)$/idlcproduce.obj \
88 $(OBJ
)$/errorhandler.obj \
90 $(OBJ
)$/fehelper.obj \
91 $(OBJ
)$/astdeclaration.obj \
92 $(OBJ
)$/astscope.obj \
93 $(OBJ
)$/aststack.obj \
95 $(OBJ
)$/astinterface.obj \
96 $(OBJ
)$/aststruct.obj \
97 $(OBJ
)$/aststructinstance.obj \
98 $(OBJ
)$/astoperation.obj \
99 $(OBJ
)$/astconstant.obj \
100 $(OBJ
)$/astenum.obj \
101 $(OBJ
)$/astarray.obj \
102 $(OBJ
)$/astunion.obj \
103 $(OBJ
)$/astexpression.obj \
104 $(OBJ
)$/astservice.obj
106 APP1TARGET
= $(TARGET
)
107 APP1OBJS
= $(OBJFILES
)
116 # --- Targets ------------------------------------------------------
126 $(MISC
)$/stripped_scanner.ll
: scanner.ll
127 .IF
"$(GUI)"=="UNX" ||
"$(USE_SHELL)" != "4nt"
128 tr
-d
"\015" < scanner.ll
> $(MISC
)$/stripped_scanner.ll
130 cat scanner.ll
> $(MISC
)$/stripped_scanner.ll
133 $(MISC
)$/scanner.
cxx: $(MISC
)$/stripped_scanner.ll
134 flex
-o
$(MISC
)$/scanner.
cxx $(MISC
)$/stripped_scanner.ll
136 $(OBJ
)$/wrap_parser.obj
: $(MISC
)$/parser.
cxx
137 $(OBJ
)$/wrap_scanner.obj
: $(MISC
)$/scanner.
cxx