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 30PROJECTPCH=sd 31PROJECTPCHSOURCE=$(PRJ)$/util$/sd 32PRJNAME=sd 33TARGET=app 34 35AUTOSEG=true 36 37# --- Settings ----------------------------------------------------- 38 39.INCLUDE : settings.mk 40.INCLUDE : $(PRJ)$/util$/makefile.pmk 41 42NO_HID_FILES=app.src 43.EXPORT : NO_HID_FILES 44 45# --- Files -------------------------------------------------------- 46 47SRS1NAME=$(TARGET) 48SRC1FILES = \ 49 app.src \ 50 toolbox.src \ 51 strings.src \ 52 res_bmp.src \ 53 popup.src \ 54 sdstring.src 55 56#OBJFILES = \ 57# $(OBJ)$/sdlib.obj \ 58# $(OBJ)$/sdresid.obj \ 59 60SLOFILES = \ 61 $(SLO)$/sdmod.obj \ 62 $(SLO)$/sdmod1.obj \ 63 $(SLO)$/sdmod2.obj \ 64 $(SLO)$/sddll.obj \ 65 $(SLO)$/sddll1.obj \ 66 $(SLO)$/sddll2.obj \ 67 $(SLO)$/tbxww.obj \ 68 $(SLO)$/optsitem.obj \ 69 $(SLO)$/sdresid.obj \ 70 $(SLO)$/sdpopup.obj \ 71 $(SLO)$/sdxfer.obj \ 72 $(SLO)$/tmplctrl.obj 73 74EXCEPTIONSFILES= \ 75 $(SLO)$/sddll1.obj \ 76 $(SLO)$/sddll2.obj \ 77 $(SLO)$/sdxfer.obj \ 78 $(SLO)$/sdmod1.obj \ 79 $(SLO)$/tbxww.obj \ 80 $(SLO)$/tmplctrl.obj 81 82.IF "$(GUI)" == "WNT" 83 84NOOPTFILES=\ 85 $(SLO)$/optsitem.obj 86 87.ENDIF 88 89# --- Tagets ------------------------------------------------------- 90 91all: \ 92 $(INCCOM)$/sddll0.hxx \ 93 ALLTAR 94 95$(INCCOM)$/sddll0.hxx: makefile.mk 96 @echo $@ 97.IF "$(GUI)"=="UNX" 98 echo \#define DLL_NAME \"libsd$(DLLPOSTFIX)$(DLLPOST)\" >$@ 99.ELSE # "$(GUI)"=="UNX" 100 echo \#define DLL_NAME \"sd$(DLLPOSTFIX).DLL\" >$@ 101.ENDIF # "$(GUI)"=="UNX" 102 103LOCALIZE_ME = tbxids_tmpl.src menuids2_tmpl.src menu_tmpl.src menuids_tmpl.src menuids4_tmpl.src popup2_tmpl.src toolbox2_tmpl.src menuportal_tmpl.src menuids3_tmpl.src 104 105 106.INCLUDE : target.mk 107 108$(SRS)$/app.srs: $(SOLARINCDIR)$/svx$/globlmn.hrc 109 110 111$(SRS)$/$(SRS1NAME).srs : $(LOCALIZE_ME_DEST) 112 113