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