xref: /aoo41x/main/desktop/source/pagein/makefile.mk (revision cdf0e10c)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28PRJ=..$/..
29
30PRJNAME=desktop
31TARGET=pagein
32TARGETTYPE=CUI
33LIBTARGET=NO
34
35NO_DEFAULT_STL=TRUE
36LIBSALCPPRT=$(0)
37
38# --- Settings -----------------------------------------------------
39
40.INCLUDE :  settings.mk
41
42.INCLUDE .IGNORE : icuversion.mk
43
44# --- Files --------------------------------------------------------
45
46OBJFILES= \
47	$(OBJ)$/pagein.obj \
48	$(OBJ)$/file_image_unx.obj
49
50APP1TARGET=$(TARGET)
51APP1OBJS=$(OBJFILES)
52APP1CODETYPE=C
53
54# depends on libc only.
55STDLIB=
56
57# --- Targets ------------------------------------------------------
58
59ALL: \
60	$(MISC)$/$(TARGET)-calc    \
61	$(MISC)$/$(TARGET)-draw    \
62	$(MISC)$/$(TARGET)-impress \
63	$(MISC)$/$(TARGET)-writer  \
64	$(MISC)$/$(TARGET)-common  \
65    ALLTAR
66
67.INCLUDE :  target.mk
68
69ICUDLLPOST=$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR)
70UDKDLLPOST=$(DLLPOST).$(UDK_MAJOR)
71UNODLLPOST=.uno$(DLLPOST)
72DFTDLLPOST=$(DLLPOSTFIX)$(DLLPOST) # Default
73
74URELIBPATH=..$/ure-link$/lib
75
76$(MISC)$/$(TARGET)-calc : makefile.mk
77	@echo Making: $@
78	@-echo $(DLLPRE)sc$(DFTDLLPOST)  >  $@
79	@-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@
80	@-echo $(DLLPRE)svxcore$(DFTDLLPOST) >> $@
81
82$(MISC)$/$(TARGET)-draw : makefile.mk
83	@echo Making: $@
84	@-echo $(DLLPRE)sd$(DFTDLLPOST)  >  $@
85	@-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@
86	@-echo $(DLLPRE)svxcore$(DFTDLLPOST) >> $@
87
88$(MISC)$/$(TARGET)-impress : makefile.mk
89	@echo Making: $@
90	@-echo $(DLLPRE)sd$(DFTDLLPOST)  >  $@
91	@-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@
92	@-echo $(DLLPRE)svxcore$(DFTDLLPOST) >> $@
93
94$(MISC)$/$(TARGET)-writer : makefile.mk
95	@echo Making: $@
96	@-echo $(DLLPRE)sw$(DFTDLLPOST)  >  $@
97	@-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@
98	@-echo $(DLLPRE)svxcore$(DFTDLLPOST) >> $@
99
100# sorted in approx. reverse load order (ld.so.1)
101$(MISC)$/$(TARGET)-common : makefile.mk
102	@echo Making: $@
103	@-echo i18npool$(UNODLLPOST)         >  $@
104.IF "$(SYSTEM_ICU)" != "YES"
105	@-echo $(DLLPRE)icui18n$(ICUDLLPOST) >> $@
106	@-echo $(DLLPRE)icule$(ICUDLLPOST)   >> $@
107	@-echo $(DLLPRE)icuuc$(ICUDLLPOST)   >> $@
108	@-echo $(DLLPRE)icudata$(ICUDLLPOST) >> $@
109.ENDIF # SYSTEM_ICU
110#
111	@-echo $(DLLPRE)lng$(DFTDLLPOST)   >> $@
112	@-echo $(DLLPRE)xo$(DFTDLLPOST)    >> $@
113#
114
115	@-echo $(DLLPRE)fwe$(DFTDLLPOST)   >> $@
116	@-echo $(DLLPRE)fwk$(DFTDLLPOST)   >> $@
117	@-echo $(DLLPRE)fwi$(DFTDLLPOST)   >> $@
118	@-echo $(DLLPRE)fwl$(DFTDLLPOST)   >> $@
119	@-echo $(DLLPRE)package2$(DLLPOST) >> $@
120	@-echo $(DLLPRE)ucpfile1$(DLLPOST) >> $@
121	@-echo $(DLLPRE)ucb1$(DLLPOST)     >> $@
122	@-echo $(DLLPRE)configmgr$(DLLPOST) >> $@
123#
124	@-echo $(DLLPRE)dtrans$(DLLPOST)   >> $@
125	@-echo $(DLLPRE)vclplug_gen$(DFTDLLPOST) >> $@
126.IF "$(ENABLE_GTK)" != ""
127	@-echo $(DLLPRE)vclplug_gtk$(DFTDLLPOST) >> $@
128.ENDIF # ENABLE_GTK
129.IF "$(ENABLE_KDE)" != ""
130	@-echo $(DLLPRE)vclplug_kde$(DFTDLLPOST) >> $@
131.ENDIF # ENABLE_KDE
132#
133	@-echo $(DLLPRE)basegfx$(DFTDLLPOST) >> $@
134	@-echo $(DLLPRE)sot$(DFTDLLPOST)     >> $@
135	@-echo $(DLLPRE)xcr$(DFTDLLPOST)     >> $@
136	@-echo $(DLLPRE)sb$(DFTDLLPOST)      >> $@
137#
138# uno runtime environment
139#
140	@-echo $(URELIBPATH)$/stocservices$(UNODLLPOST)         >> $@
141	@-echo $(URELIBPATH)$/bootstrap$(UNODLLPOST)            >> $@
142	@-echo $(URELIBPATH)$/$(DLLPRE)reg$(UDKDLLPOST)         >> $@
143	@-echo $(URELIBPATH)$/$(DLLPRE)store$(UDKDLLPOST)       >> $@
144.IF "$(USE_SYSTEM_STL)"!="YES"
145.IF "$(COMNAME)" == "gcc2" || "$(COMNAME)" == "gcc3"
146	@-echo $(URELIBPATH)$/$(DLLPRE)stlport_gcc$(DLLPOST)    >> $@
147.ENDIF # gcc
148.IF "$(COMNAME)" == "sunpro5"
149	@-echo $(URELIBPATH)$/$(DLLPRE)stlport_sunpro$(DLLPOST) >> $@
150.ENDIF # sunpro5
151.ENDIF # SYSTEM_STL
152	@-echo $(URELIBPATH)$/$(DLLPRE)uno_cppuhelper$(COMID)$(UDKDLLPOST) >> $@
153	@-echo $(URELIBPATH)$/$(DLLPRE)uno_cppu$(UDKDLLPOST)               >> $@
154	@-echo $(URELIBPATH)$/$(DLLPRE)uno_sal$(UDKDLLPOST)                >> $@
155#
156	@-echo $(DLLPRE)ucbhelper$(UCBHELPER_MAJOR)$(COMID)$(DLLPOST) >> $@
157	@-echo $(DLLPRE)comphelp$(COMPHLP_MAJOR)$(COMID)$(DLLPOST)    >> $@
158	@-echo $(DLLPRE)tl$(DFTDLLPOST)    >> $@
159	@-echo $(DLLPRE)utl$(DFTDLLPOST)   >> $@
160	@-echo $(DLLPRE)svl$(DFTDLLPOST)   >> $@
161	@-echo $(DLLPRE)vcl$(DFTDLLPOST)   >> $@
162	@-echo $(DLLPRE)tk$(DFTDLLPOST)    >> $@
163	@-echo $(DLLPRE)svt$(DFTDLLPOST)   >> $@
164	@-echo $(DLLPRE)sfx$(DFTDLLPOST)   >> $@
165	@-echo $(DLLPRE)sofficeapp$(DLLPOST) >> $@
166