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) 66UDKDLLPOST=$(DLLPOST).$(UDK_MAJOR) 67UNODLLPOST=.uno$(DLLPOST) 68DFTDLLPOST=$(DLLPOSTFIX)$(DLLPOST) # Default 69 70URELIBPATH=..$/ure-link$/lib 71 72$(MISC)$/$(TARGET)-calc : makefile.mk 73 @echo Making: $@ 74 @-echo $(DLLPRE)sc$(DFTDLLPOST) > $@ 75 @-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@ 76 @-echo $(DLLPRE)svxcore$(DFTDLLPOST) >> $@ 77 78$(MISC)$/$(TARGET)-draw : makefile.mk 79 @echo Making: $@ 80 @-echo $(DLLPRE)sd$(DFTDLLPOST) > $@ 81 @-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@ 82 @-echo $(DLLPRE)svxcore$(DFTDLLPOST) >> $@ 83 84$(MISC)$/$(TARGET)-impress : makefile.mk 85 @echo Making: $@ 86 @-echo $(DLLPRE)sd$(DFTDLLPOST) > $@ 87 @-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@ 88 @-echo $(DLLPRE)svxcore$(DFTDLLPOST) >> $@ 89 90$(MISC)$/$(TARGET)-writer : makefile.mk 91 @echo Making: $@ 92 @-echo $(DLLPRE)sw$(DFTDLLPOST) > $@ 93 @-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@ 94 @-echo $(DLLPRE)svxcore$(DFTDLLPOST) >> $@ 95 96# sorted in approx. reverse load order (ld.so.1) 97$(MISC)$/$(TARGET)-common : makefile.mk 98 @echo Making: $@ 99 @-echo i18npool$(UNODLLPOST) > $@ 100.IF "$(SYSTEM_ICU)" != "YES" 101 @-echo $(DLLPRE)icui18n$(ICUDLLPOST) >> $@ 102 @-echo $(DLLPRE)icule$(ICUDLLPOST) >> $@ 103 @-echo $(DLLPRE)icuuc$(ICUDLLPOST) >> $@ 104 @-echo $(DLLPRE)icudata$(ICUDLLPOST) >> $@ 105.ENDIF # SYSTEM_ICU 106# 107 @-echo $(DLLPRE)lng$(DFTDLLPOST) >> $@ 108 @-echo $(DLLPRE)xo$(DFTDLLPOST) >> $@ 109# 110 111 @-echo $(DLLPRE)fwe$(DFTDLLPOST) >> $@ 112 @-echo $(DLLPRE)fwk$(DFTDLLPOST) >> $@ 113 @-echo $(DLLPRE)fwi$(DFTDLLPOST) >> $@ 114 @-echo $(DLLPRE)fwl$(DFTDLLPOST) >> $@ 115 @-echo $(DLLPRE)package2$(DLLPOST) >> $@ 116 @-echo $(DLLPRE)ucpfile1$(DLLPOST) >> $@ 117 @-echo $(DLLPRE)ucb1$(DLLPOST) >> $@ 118 @-echo $(DLLPRE)configmgr$(DLLPOST) >> $@ 119# 120 @-echo $(DLLPRE)dtrans$(DLLPOST) >> $@ 121 @-echo $(DLLPRE)vclplug_gen$(DFTDLLPOST) >> $@ 122.IF "$(ENABLE_GTK)" != "" 123 @-echo $(DLLPRE)vclplug_gtk$(DFTDLLPOST) >> $@ 124.ENDIF # ENABLE_GTK 125.IF "$(ENABLE_KDE)" != "" 126 @-echo $(DLLPRE)vclplug_kde$(DFTDLLPOST) >> $@ 127.ENDIF # ENABLE_KDE 128# 129 @-echo $(DLLPRE)basegfx$(DFTDLLPOST) >> $@ 130 @-echo $(DLLPRE)sot$(DFTDLLPOST) >> $@ 131 @-echo $(DLLPRE)xcr$(DFTDLLPOST) >> $@ 132 @-echo $(DLLPRE)sb$(DFTDLLPOST) >> $@ 133# 134# uno runtime environment 135# 136 @-echo $(URELIBPATH)$/stocservices$(UNODLLPOST) >> $@ 137 @-echo $(URELIBPATH)$/bootstrap$(UNODLLPOST) >> $@ 138 @-echo $(URELIBPATH)$/$(DLLPRE)reg$(UDKDLLPOST) >> $@ 139 @-echo $(URELIBPATH)$/$(DLLPRE)store$(UDKDLLPOST) >> $@ 140 @-echo $(URELIBPATH)$/$(DLLPRE)uno_cppuhelper$(COMID)$(UDKDLLPOST) >> $@ 141 @-echo $(URELIBPATH)$/$(DLLPRE)uno_cppu$(UDKDLLPOST) >> $@ 142 @-echo $(URELIBPATH)$/$(DLLPRE)uno_sal$(UDKDLLPOST) >> $@ 143# 144 @-echo $(DLLPRE)ucbhelper$(UCBHELPER_MAJOR)$(COMID)$(DLLPOST) >> $@ 145 @-echo $(DLLPRE)comphelp$(COMPHLP_MAJOR)$(COMID)$(DLLPOST) >> $@ 146 @-echo $(DLLPRE)tl$(DFTDLLPOST) >> $@ 147 @-echo $(DLLPRE)utl$(DFTDLLPOST) >> $@ 148 @-echo $(DLLPRE)svl$(DFTDLLPOST) >> $@ 149 @-echo $(DLLPRE)vcl$(DFTDLLPOST) >> $@ 150 @-echo $(DLLPRE)tk$(DFTDLLPOST) >> $@ 151 @-echo $(DLLPRE)svt$(DFTDLLPOST) >> $@ 152 @-echo $(DLLPRE)sfx$(DFTDLLPOST) >> $@ 153 @-echo $(DLLPRE)sofficeapp$(DLLPOST) >> $@ 154