xref: /aoo42x/main/desktop/source/pagein/makefile.mk (revision 9b32443e)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJ=..$/..
25
26PRJNAME=desktop
27TARGET=pagein
28TARGETTYPE=CUI
29LIBTARGET=NO
30
31NO_DEFAULT_STL=TRUE
32LIBSALCPPRT=$(0)
33
34# --- Settings -----------------------------------------------------
35
36.INCLUDE :  settings.mk
37
38.INCLUDE .IGNORE : icuversion.mk
39
40# --- Files --------------------------------------------------------
41
42OBJFILES= \
43	$(OBJ)$/pagein.obj \
44	$(OBJ)$/file_image_unx.obj
45
46APP1TARGET=$(TARGET)
47APP1OBJS=$(OBJFILES)
48APP1CODETYPE=C
49
50# depends on libc only.
51STDLIB=
52
53# --- Targets ------------------------------------------------------
54
55ALL: \
56	$(MISC)$/$(TARGET)-calc    \
57	$(MISC)$/$(TARGET)-draw    \
58	$(MISC)$/$(TARGET)-impress \
59	$(MISC)$/$(TARGET)-writer  \
60	$(MISC)$/$(TARGET)-common  \
61    ALLTAR
62
63.INCLUDE :  target.mk
64
65ICUDLLPOST=$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR)
66.IF "$(OS)" == "MACOSX"
67UDKDLLPOST=$(patsubst %.dylib,%$(UDK_MAJOR).dylib,$(DLLPOST)
68UNODLLPOST=.uno$(DLLPOST)
69.ELSE
70UDKDLLPOST=$(DLLPOST).$(UDK_MAJOR)
71UNODLLPOST=.uno$(DLLPOST)
72.ENDIF
73DFTDLLPOST=$(DLLPOSTFIX)$(DLLPOST) # Default
74
75URELIBPATH=..$/ure-link$/lib
76
77$(MISC)$/$(TARGET)-calc : makefile.mk
78	@echo Making: $@
79	@-echo $(DLLPRE)sc$(DFTDLLPOST)  >  $@
80	@-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@
81	@-echo $(DLLPRE)svxcore$(DFTDLLPOST) >> $@
82
83$(MISC)$/$(TARGET)-draw : makefile.mk
84	@echo Making: $@
85	@-echo $(DLLPRE)sd$(DFTDLLPOST)  >  $@
86	@-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@
87	@-echo $(DLLPRE)svxcore$(DFTDLLPOST) >> $@
88
89$(MISC)$/$(TARGET)-impress : makefile.mk
90	@echo Making: $@
91	@-echo $(DLLPRE)sd$(DFTDLLPOST)  >  $@
92	@-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@
93	@-echo $(DLLPRE)svxcore$(DFTDLLPOST) >> $@
94
95$(MISC)$/$(TARGET)-writer : makefile.mk
96	@echo Making: $@
97	@-echo $(DLLPRE)sw$(DFTDLLPOST)  >  $@
98	@-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@
99	@-echo $(DLLPRE)svxcore$(DFTDLLPOST) >> $@
100
101# sorted in approx. reverse load order (ld.so.1)
102$(MISC)$/$(TARGET)-common : makefile.mk
103	@echo Making: $@
104	@-echo i18npool$(UNODLLPOST)         >  $@
105.IF "$(SYSTEM_ICU)" != "YES"
106	@-echo $(DLLPRE)icui18n$(ICUDLLPOST) >> $@
107	@-echo $(DLLPRE)icule$(ICUDLLPOST)   >> $@
108	@-echo $(DLLPRE)icuuc$(ICUDLLPOST)   >> $@
109	@-echo $(DLLPRE)icudata$(ICUDLLPOST) >> $@
110.ENDIF # SYSTEM_ICU
111#
112	@-echo $(DLLPRE)lng$(DFTDLLPOST)   >> $@
113	@-echo $(DLLPRE)xo$(DFTDLLPOST)    >> $@
114#
115
116	@-echo $(DLLPRE)fwe$(DFTDLLPOST)   >> $@
117	@-echo $(DLLPRE)fwk$(DFTDLLPOST)   >> $@
118	@-echo $(DLLPRE)fwi$(DFTDLLPOST)   >> $@
119	@-echo $(DLLPRE)fwl$(DFTDLLPOST)   >> $@
120	@-echo $(DLLPRE)package2$(DLLPOST) >> $@
121	@-echo $(DLLPRE)ucpfile1$(DLLPOST) >> $@
122	@-echo $(DLLPRE)ucb1$(DLLPOST)     >> $@
123	@-echo $(DLLPRE)configmgr$(DLLPOST) >> $@
124#
125	@-echo $(DLLPRE)dtrans$(DLLPOST)   >> $@
126	@-echo $(DLLPRE)vclplug_gen$(DFTDLLPOST) >> $@
127.IF "$(ENABLE_GTK)" != ""
128	@-echo $(DLLPRE)vclplug_gtk$(DFTDLLPOST) >> $@
129.ENDIF # ENABLE_GTK
130.IF "$(ENABLE_KDE)" != ""
131	@-echo $(DLLPRE)vclplug_kde$(DFTDLLPOST) >> $@
132.ENDIF # ENABLE_KDE
133#
134	@-echo $(DLLPRE)basegfx$(DFTDLLPOST) >> $@
135	@-echo $(DLLPRE)sot$(DFTDLLPOST)     >> $@
136	@-echo $(DLLPRE)xcr$(DFTDLLPOST)     >> $@
137	@-echo $(DLLPRE)sb$(DFTDLLPOST)      >> $@
138#
139# uno runtime environment
140#
141	@-echo $(URELIBPATH)$/stocservices$(UNODLLPOST)         >> $@
142	@-echo $(URELIBPATH)$/bootstrap$(UNODLLPOST)            >> $@
143	@-echo $(URELIBPATH)$/$(DLLPRE)reg$(UDKDLLPOST)         >> $@
144	@-echo $(URELIBPATH)$/$(DLLPRE)store$(UDKDLLPOST)       >> $@
145	@-echo $(URELIBPATH)$/$(DLLPRE)uno_cppuhelper$(COMID)$(UDKDLLPOST) >> $@
146	@-echo $(URELIBPATH)$/$(DLLPRE)uno_cppu$(UDKDLLPOST)               >> $@
147	@-echo $(URELIBPATH)$/$(DLLPRE)uno_sal$(UDKDLLPOST)                >> $@
148#
149	@-echo $(DLLPRE)ucbhelper$(UCBHELPER_MAJOR)$(COMID)$(DLLPOST) >> $@
150	@-echo $(DLLPRE)comphelp$(COMPHLP_MAJOR)$(COMID)$(DLLPOST)    >> $@
151	@-echo $(DLLPRE)tl$(DFTDLLPOST)    >> $@
152	@-echo $(DLLPRE)utl$(DFTDLLPOST)   >> $@
153	@-echo $(DLLPRE)svl$(DFTDLLPOST)   >> $@
154	@-echo $(DLLPRE)vcl$(DFTDLLPOST)   >> $@
155	@-echo $(DLLPRE)tk$(DFTDLLPOST)    >> $@
156	@-echo $(DLLPRE)svt$(DFTDLLPOST)   >> $@
157	@-echo $(DLLPRE)sfx$(DFTDLLPOST)   >> $@
158	@-echo $(DLLPRE)sofficeapp$(DLLPOST) >> $@
159