#************************************************************************* # # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # Copyright 2008 by Sun Microsystems, Inc. # # OpenOffice.org - a multi-platform office productivity suite # # $RCSfile: makefile.mk,v $ # # $Revision: 1.12 $ # # This file is part of OpenOffice.org. # # OpenOffice.org is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License version 3 # only, as published by the Free Software Foundation. # # OpenOffice.org is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser General Public License version 3 for more details # (a copy is included in the LICENSE file that accompanied this code). # # You should have received a copy of the GNU Lesser General Public License # version 3 along with OpenOffice.org. If not, see # # for a copy of the LGPLv3 License. # #************************************************************************* PRJ=..$/.. PRJNAME=desktop TARGET=pagein TARGETTYPE=CUI LIBTARGET=NO NO_DEFAULT_STL=TRUE LIBSALCPPRT=$(0) # --- Settings ----------------------------------------------------- .INCLUDE : settings.mk .INCLUDE .IGNORE : icuversion.mk # --- Files -------------------------------------------------------- OBJFILES= \ $(OBJ)$/pagein.obj \ $(OBJ)$/file_image_unx.obj APP1TARGET=$(TARGET) APP1OBJS=$(OBJFILES) # depends on libc only. STDLIB= .IF "$(COMNAME)" == "sunpro5" STDLIB+=-library=no%Crun .ENDIF # sunpro5 # --- Targets ------------------------------------------------------ ALL: \ $(MISC)$/$(TARGET)-calc \ $(MISC)$/$(TARGET)-draw \ $(MISC)$/$(TARGET)-impress \ $(MISC)$/$(TARGET)-writer \ $(MISC)$/$(TARGET)-common \ ALLTAR .INCLUDE : target.mk ICUDLLPOST=$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR) UDKDLLPOST=$(DLLPOST).$(UDK_MAJOR) UNODLLPOST=.uno$(DLLPOST) DFTDLLPOST=$(DLLPOSTFIX)$(DLLPOST) # Default URELIBPATH=..$/ure-link$/lib $(MISC)$/$(TARGET)-calc : makefile.mk @echo Making: $@ @-echo $(DLLPRE)sc$(DFTDLLPOST) > $@ @-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@ $(MISC)$/$(TARGET)-draw : makefile.mk @echo Making: $@ @-echo $(DLLPRE)sd$(DFTDLLPOST) > $@ @-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@ $(MISC)$/$(TARGET)-impress : makefile.mk @echo Making: $@ @-echo $(DLLPRE)sd$(DFTDLLPOST) > $@ @-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@ $(MISC)$/$(TARGET)-writer : makefile.mk @echo Making: $@ @-echo $(DLLPRE)sw$(DFTDLLPOST) > $@ @-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@ # sorted in approx. reverse load order (ld.so.1) $(MISC)$/$(TARGET)-common : makefile.mk @echo Making: $@ @-echo i18npool$(UNODLLPOST) > $@ .IF "$(SYSTEM_ICU)" != "YES" @-echo $(URELIBPATH)icui18n$(ICUDLLPOST) >> $@ @-echo $(URELIBPATH)icule$(ICUDLLPOST) >> $@ @-echo $(URELIBPATH)icuuc$(ICUDLLPOST) >> $@ @-echo $(URELIBPATH)icudata$(ICUDLLPOST) >> $@ .ENDIF # SYSTEM_ICU # @-echo $(DLLPRE)lng$(DFTDLLPOST) >> $@ @-echo $(DLLPRE)xo$(DFTDLLPOST) >> $@ # @-echo $(DLLPRE)fwe$(DFTDLLPOST) >> $@ @-echo $(DLLPRE)fwk$(DFTDLLPOST) >> $@ @-echo $(DLLPRE)fwi$(DFTDLLPOST) >> $@ @-echo $(DLLPRE)fwl$(DFTDLLPOST) >> $@ @-echo $(DLLPRE)package2$(DLLPOST) >> $@ @-echo $(DLLPRE)ucpfile1$(DLLPOST) >> $@ @-echo $(DLLPRE)ucb1$(DLLPOST) >> $@ @-echo $(DLLPRE)configmgr$(DLLPOST) >> $@ # @-echo $(DLLPRE)dtransX11$(DFTDLLPOST) >> $@ @-echo $(DLLPRE)vclplug_gen$(DFTDLLPOST) >> $@ .IF "$(ENABLE_GTK)" != "" @-echo $(DLLPRE)vclplug_gtk$(DFTDLLPOST) >> $@ .ENDIF # ENABLE_GTK .IF "$(ENABLE_KDE)" != "" @-echo $(DLLPRE)vclplug_kde$(DFTDLLPOST) >> $@ .ENDIF # ENABLE_KDE # @-echo $(DLLPRE)psp$(DFTDLLPOST) >> $@ @-echo $(DLLPRE)basegfx$(DFTDLLPOST) >> $@ @-echo $(DLLPRE)sot$(DFTDLLPOST) >> $@ @-echo $(DLLPRE)xcr$(DFTDLLPOST) >> $@ @-echo $(DLLPRE)sb$(DFTDLLPOST) >> $@ # # uno runtime environment # @-echo $(URELIBPATH)$/stocservices$(UNODLLPOST) >> $@ @-echo $(URELIBPATH)$/bootstrap$(UNODLLPOST) >> $@ @-echo $(URELIBPATH)$/$(DLLPRE)reg$(UDKDLLPOST) >> $@ @-echo $(URELIBPATH)$/$(DLLPRE)store$(UDKDLLPOST) >> $@ .IF "$(USE_SYSTEM_STL)"!="YES" .IF "$(COMNAME)" == "gcc2" || "$(COMNAME)" == "gcc3" @-echo $(URELIBPATH)$/$(DLLPRE)stlport_gcc$(DLLPOST) >> $@ .ENDIF # gcc .IF "$(COMNAME)" == "sunpro5" @-echo $(URELIBPATH)$/$(DLLPRE)stlport_sunpro$(DLLPOST) >> $@ .ENDIF # sunpro5 .ENDIF # SYSTEM_STL @-echo $(URELIBPATH)$/$(DLLPRE)uno_cppuhelper$(COMID)$(UDKDLLPOST) >> $@ @-echo $(URELIBPATH)$/$(DLLPRE)uno_cppu$(UDKDLLPOST) >> $@ @-echo $(URELIBPATH)$/$(DLLPRE)uno_sal$(UDKDLLPOST) >> $@ # @-echo $(DLLPRE)ucbhelper$(UCBHELPER_MAJOR)$(COMID)$(DLLPOST) >> $@ @-echo $(DLLPRE)comphelp$(COMPHLP_MAJOR)$(COMID)$(DLLPOST) >> $@ @-echo $(DLLPRE)tl$(DFTDLLPOST) >> $@ @-echo $(DLLPRE)utl$(DFTDLLPOST) >> $@ @-echo $(DLLPRE)svl$(DFTDLLPOST) >> $@ @-echo $(DLLPRE)vcl$(DFTDLLPOST) >> $@ @-echo $(DLLPRE)tk$(DFTDLLPOST) >> $@ @-echo $(DLLPRE)svt$(DFTDLLPOST) >> $@ @-echo $(DLLPRE)sfx$(DFTDLLPOST) >> $@ @-echo $(DLLPRE)sofficeapp$(DLLPOST) >> $@