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 30PRJNAME=migrationanalysis 31TARGET=driverdocs 32 33# --- Settings ----------------------------------------------------- 34 35.INCLUDE : settings.mk 36 37# --- Files -------------------------------------------------------- 38 39PAW_DOCDEST:=$(BIN)$/ProAnalysisWizard$/Resources 40PAW_DATDEST:=$(BIN)$/ProAnalysisWizard$/Resources$/lang 41 42PAW_DRIVER_DOCS:= \ 43 $(PAW_DOCDEST)$/_OOoDocAnalysisExcelDriver.xls \ 44 $(PAW_DOCDEST)$/_OOoDocAnalysisWordDriver.doc \ 45 $(PAW_DOCDEST)$/_OOoDocAnalysisPPTDriver.ppt 46 47PAW_DRIVER_DOCS_SRC:= \ 48 .$/PAW$/_OOoDocAnalysisExcelDriver.xls \ 49 .$/PAW$/_OOoDocAnalysisWordDriver.doc \ 50 .$/PAW$/_OOoDocAnalysisPPTDriver.ppt 51 52PAW_DAT_FILES= \ 53 $(foreach,i,$(alllangiso) $(PAW_DATDEST)$/$i.dat) 54 55DAT_DATA_FILE=allstrings.ulf 56DAT_DON_FILE_PAW=$(MISC)$/$(DAT_DATA_FILE).paw 57 58ULFFILES=$(DAT_DATA_FILE) 59.IF "$(WITH_LANG)"!="" 60ULFDIR:=$(COMMONMISC)$/$(TARGET) 61.ELSE # "$(WITH_LANG)"!="" 62ULFDIR:=. 63.ENDIF # "$(WITH_LANG)"!="" 64 65COMMON_SRC:= \ 66 .$/sources$/AnalysisDriver.bas \ 67 .$/sources$/CollectedFiles.cls \ 68 .$/sources$/CommonMigrationAnalyser.bas \ 69 .$/sources$/CommonPreparation.bas \ 70 .$/sources$/DocumentAnalysis.cls \ 71 .$/sources$/FileTypeAssociation.cls \ 72 .$/sources$/IssueInfo.cls \ 73 .$/sources$/LocalizeResults.bas \ 74 .$/sources$/PrepareInfo.cls \ 75 .$/sources$/StringDataManager.cls \ 76 .$/sources$/Stripped_OOoDocAnalysisExcelDriver.xls \ 77 .$/sources$/Stripped_OOoDocAnalysisPPTDriver.ppt \ 78 .$/sources$/Stripped_OOoDocAnalysisWordDriver.doc \ 79 .$/sources$/common_res.bas \ 80 .$/sources$/results_res.bas 81 82EXCEL_SRC:= \ 83 .$/sources$/excel$/ApplicationSpecific.bas \ 84 .$/sources$/excel$/MigrationAnalyser.cls \ 85 .$/sources$/excel$/Preparation.bas \ 86 .$/sources$/excel$/excel_res.bas 87 88PP_SRC:= \ 89 .$/sources$/powerpoint$/ApplicationSpecific.bas \ 90 .$/sources$/powerpoint$/MigrationAnalyser.cls \ 91 .$/sources$/powerpoint$/Preparation.bas \ 92 .$/sources$/powerpoint$/powerpoint_res.bas 93 94WORD_SRC:= \ 95 .$/sources$/word$/ApplicationSpecific.bas \ 96 .$/sources$/word$/MigrationAnalyser.cls \ 97 .$/sources$/word$/Preparation.bas \ 98 .$/sources$/word$/word_res.bas 99 100# --- Targets ------------------------------------------------------ 101 102.INCLUDE : target.mk 103 104ALLTAR : $(PAW_DRIVER_DOCS) $(DAT_DON_FILE_PAW) 105 106$(PAW_DRIVER_DOCS) : .$/PAW$/$$(@:f) 107 -$(MKDIRHIER) $(@:d) 108 $(COPY) .$/PAW$/$(@:f) $@ 109 110$(PAW_DAT_FILES) : $(ULFDIR)$/$(DAT_DATA_FILE) 111 -$(MKDIRHIER) $(@:d) 112 $(TOUCH) $@ 113 114$(DAT_DON_FILE_PAW) : $(PAW_DAT_FILES) 115 @echo -------------------------------- 116 @echo building $@ 117 -$(MKDIRHIER) $(@:d) 118 @echo making $(PAW_DAT_FILES) 119 $(PERL) ulf2dat.pl -i $(ULFDIR)$/$(DAT_DATA_FILE) $(PAW_DAT_FILES) && $(TOUCH) $@ 120 121.IF "$(VB6_LOCATION)" != "" 122$(PAW_DRIVER_DOCS_SRC) : $(COMMON_SRC) $(EXCEL_SRC) $(PP_SRC) $(WORD_SRC) 123 @echo -------------------------------- 124 @echo create driver docs 125 cscript CreateDriverDocs.wsf 126.ENDIF 127 128