1*7871dc3eSAndrew Rist#************************************************************** 2*7871dc3eSAndrew Rist# 3*7871dc3eSAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 4*7871dc3eSAndrew Rist# or more contributor license agreements. See the NOTICE file 5*7871dc3eSAndrew Rist# distributed with this work for additional information 6*7871dc3eSAndrew Rist# regarding copyright ownership. The ASF licenses this file 7*7871dc3eSAndrew Rist# to you under the Apache License, Version 2.0 (the 8*7871dc3eSAndrew Rist# "License"); you may not use this file except in compliance 9*7871dc3eSAndrew Rist# with the License. You may obtain a copy of the License at 10*7871dc3eSAndrew Rist# 11*7871dc3eSAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 12*7871dc3eSAndrew Rist# 13*7871dc3eSAndrew Rist# Unless required by applicable law or agreed to in writing, 14*7871dc3eSAndrew Rist# software distributed under the License is distributed on an 15*7871dc3eSAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*7871dc3eSAndrew Rist# KIND, either express or implied. See the License for the 17*7871dc3eSAndrew Rist# specific language governing permissions and limitations 18*7871dc3eSAndrew Rist# under the License. 19*7871dc3eSAndrew Rist# 20*7871dc3eSAndrew Rist#************************************************************** 21*7871dc3eSAndrew Rist 22*7871dc3eSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweirPRJ=..$/..$/.. 25cdf0e10cSrcweir 26cdf0e10cSrcweirPROJECTPCH=sd 27cdf0e10cSrcweirPROJECTPCHSOURCE=$(PRJ)$/util$/sd 28cdf0e10cSrcweirPRJNAME=sd 29cdf0e10cSrcweirTARGET=app 30cdf0e10cSrcweir 31cdf0e10cSrcweirAUTOSEG=true 32cdf0e10cSrcweir 33cdf0e10cSrcweir# --- Settings ----------------------------------------------------- 34cdf0e10cSrcweir 35cdf0e10cSrcweir.INCLUDE : settings.mk 36cdf0e10cSrcweir.INCLUDE : $(PRJ)$/util$/makefile.pmk 37cdf0e10cSrcweir 38cdf0e10cSrcweirNO_HID_FILES=app.src 39cdf0e10cSrcweir.EXPORT : NO_HID_FILES 40cdf0e10cSrcweir 41cdf0e10cSrcweir# --- Files -------------------------------------------------------- 42cdf0e10cSrcweir 43cdf0e10cSrcweirSRS1NAME=$(TARGET) 44cdf0e10cSrcweirSRC1FILES = \ 45cdf0e10cSrcweir app.src \ 46cdf0e10cSrcweir toolbox.src \ 47cdf0e10cSrcweir strings.src \ 48cdf0e10cSrcweir res_bmp.src \ 49cdf0e10cSrcweir popup.src \ 50cdf0e10cSrcweir sdstring.src 51cdf0e10cSrcweir 52cdf0e10cSrcweir#OBJFILES = \ 53cdf0e10cSrcweir# $(OBJ)$/sdlib.obj \ 54cdf0e10cSrcweir# $(OBJ)$/sdresid.obj \ 55cdf0e10cSrcweir 56cdf0e10cSrcweirSLOFILES = \ 57cdf0e10cSrcweir $(SLO)$/sdmod.obj \ 58cdf0e10cSrcweir $(SLO)$/sdmod1.obj \ 59cdf0e10cSrcweir $(SLO)$/sdmod2.obj \ 60cdf0e10cSrcweir $(SLO)$/sddll.obj \ 61cdf0e10cSrcweir $(SLO)$/sddll1.obj \ 62cdf0e10cSrcweir $(SLO)$/sddll2.obj \ 63cdf0e10cSrcweir $(SLO)$/tbxww.obj \ 64cdf0e10cSrcweir $(SLO)$/optsitem.obj \ 65cdf0e10cSrcweir $(SLO)$/sdresid.obj \ 66cdf0e10cSrcweir $(SLO)$/sdpopup.obj \ 67cdf0e10cSrcweir $(SLO)$/sdxfer.obj \ 68cdf0e10cSrcweir $(SLO)$/tmplctrl.obj 69cdf0e10cSrcweir 70cdf0e10cSrcweirEXCEPTIONSFILES= \ 71cdf0e10cSrcweir $(SLO)$/sddll1.obj \ 72cdf0e10cSrcweir $(SLO)$/sddll2.obj \ 73cdf0e10cSrcweir $(SLO)$/sdxfer.obj \ 74cdf0e10cSrcweir $(SLO)$/sdmod1.obj \ 75cdf0e10cSrcweir $(SLO)$/tbxww.obj \ 76cdf0e10cSrcweir $(SLO)$/tmplctrl.obj 77cdf0e10cSrcweir 78cdf0e10cSrcweir.IF "$(GUI)" == "WNT" 79cdf0e10cSrcweir 80cdf0e10cSrcweirNOOPTFILES=\ 81cdf0e10cSrcweir $(SLO)$/optsitem.obj 82cdf0e10cSrcweir 83cdf0e10cSrcweir.ENDIF 84cdf0e10cSrcweir 85cdf0e10cSrcweir# --- Tagets ------------------------------------------------------- 86cdf0e10cSrcweir 87cdf0e10cSrcweirall: \ 88cdf0e10cSrcweir $(INCCOM)$/sddll0.hxx \ 89cdf0e10cSrcweir ALLTAR 90cdf0e10cSrcweir 91cdf0e10cSrcweir$(INCCOM)$/sddll0.hxx: makefile.mk 92cdf0e10cSrcweir @echo $@ 93cdf0e10cSrcweir.IF "$(GUI)"=="UNX" 94cdf0e10cSrcweir echo \#define DLL_NAME \"libsd$(DLLPOSTFIX)$(DLLPOST)\" >$@ 95cdf0e10cSrcweir.ELSE # "$(GUI)"=="UNX" 96cdf0e10cSrcweir echo \#define DLL_NAME \"sd$(DLLPOSTFIX).DLL\" >$@ 97cdf0e10cSrcweir.ENDIF # "$(GUI)"=="UNX" 98cdf0e10cSrcweir 99cdf0e10cSrcweirLOCALIZE_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 100cdf0e10cSrcweir 101cdf0e10cSrcweir 102cdf0e10cSrcweir.INCLUDE : target.mk 103cdf0e10cSrcweir 104cdf0e10cSrcweir$(SRS)$/app.srs: $(SOLARINCDIR)$/svx$/globlmn.hrc 105cdf0e10cSrcweir 106cdf0e10cSrcweir 107cdf0e10cSrcweir$(SRS)$/$(SRS1NAME).srs : $(LOCALIZE_ME_DEST) 108cdf0e10cSrcweir 109