merge the formfield patch from ooo-build
[ooovba.git] / autodoc / source / exes / adc_uni / makefile.mk
blob01cb0e41cd05f197b556047781a759f41c36de9c
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.16 $
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 #*************************************************************************
32 PRJ=..$/..$/..
34 PRJNAME=autodoc
35 TARGET=autodoc
36 TARGETTYPE=CUI
38 # --- Settings -----------------------------------------------------
40 ENABLE_EXCEPTIONS=true
41 PRJINC=$(PRJ)$/source
43 .INCLUDE : settings.mk
44 .INCLUDE : $(PRJ)$/source$/mkinc$/fullcpp.mk
46 UWINAPILIB=$(0)
47 LIBSALCPPRT=$(0)
49 # --- Files --------------------------------------------------------
51 OBJFILES= \
52 $(OBJ)$/adc_cl.obj \
53 $(OBJ)$/adc_cmd_parse.obj \
54 $(OBJ)$/adc_cmds.obj \
55 $(OBJ)$/adc_msg.obj \
56 $(OBJ)$/cmd_run.obj \
57 $(OBJ)$/cmd_sincedata.obj
60 # --- Targets ------------------------------------------------------
62 LIB1TARGET=$(LB)$/atdoc.lib
63 LIB1FILES= \
64 $(LB)$/$(TARGET).lib $(LB)$/autodoc_tools.lib \
65 $(LB)$/ary_kernel.lib $(LB)$/ary_cpp.lib $(LB)$/ary_idl.lib \
66 $(LB)$/ary_info.lib $(LB)$/ary_loc.lib \
67 $(LB)$/parser_kernel.lib $(LB)$/parser_tokens.lib $(LB)$/parser_semantic.lib \
68 $(LB)$/parser_cpp.lib $(LB)$/parser_adoc.lib \
69 $(LB)$/display_kernel.lib $(LB)$/display_html.lib $(LB)$/display_idl.lib \
70 $(LB)$/display_toolkit.lib $(LB)$/parser2_tokens.lib \
71 $(LB)$/parser2_s2_luidl.lib $(LB)$/parser2_s2_dsapi.lib \
72 $(LB)$/ary2_cinfo.lib $(LB)$/ary_doc.lib
76 APP1TARGET= $(TARGET)
77 APP1STACK= 1000000
78 APP1OBJS= $(OBJ)$/main.obj
80 APP1RPATH=SDK
82 .IF "$(GUI)"=="WNT"
83 APP1STDLIBS= $(LIBSTLPORT) $(COSVLIB) $(UDMLIB)
84 .ELSE
85 .IF "$(OS)"=="MACOSX"
86 # See <http://porting.openoffice.org/servlets/ReadMsg?list=mac&msgNo=6911>:
87 APP1STDLIBS= $(LIBSTLPORT) -Wl,-all_load -ludm -lcosv
88 .ELSE
89 APP1STDLIBS= -lcosv -ludm
90 .ENDIF
91 .ENDIF
93 APP1LIBS=$(LB)$/atdoc.lib
95 DEPOBJFILES += $(APP1OBJS)
97 APP1DEPN= $(LB)$/$(TARGET).lib $(LB)$/autodoc_tools.lib \
98 $(LB)$/ary_kernel.lib $(LB)$/ary_cpp.lib $(LB)$/ary_idl.lib \
99 $(LB)$/ary_info.lib $(LB)$/ary_loc.lib \
100 $(LB)$/parser_kernel.lib $(LB)$/parser_tokens.lib $(LB)$/parser_semantic.lib \
101 $(LB)$/parser_cpp.lib $(LB)$/parser_adoc.lib \
102 $(LB)$/display_kernel.lib $(LB)$/display_html.lib $(LB)$/display_idl.lib \
103 $(LB)$/display_toolkit.lib $(LB)$/parser2_tokens.lib \
104 $(LB)$/parser2_s2_luidl.lib $(LB)$/parser2_s2_dsapi.lib \
105 $(LB)$/ary2_cinfo.lib $(LB)$/ary_doc.lib
108 .INCLUDE : target.mk