0eb8dbf1eb
2009-09-23 17:21:07 +0200 hjs r276406 : #i105312# remove code dependency on perl
150 lines
3.7 KiB
Makefile
150 lines
3.7 KiB
Makefile
#*************************************************************************
|
|
#
|
|
# 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.17 $
|
|
#
|
|
# 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
|
|
# <http://www.openoffice.org/license.html>
|
|
# for a copy of the LGPLv3 License.
|
|
#
|
|
#*************************************************************************
|
|
|
|
PRJ=..
|
|
|
|
PRJNAME=soldep
|
|
TARGET=soldep
|
|
|
|
|
|
# --- Settings -----------------------------------------------------
|
|
#.INCLUDE : $(PRJ)$/util$/perl.mk
|
|
.INCLUDE : settings.mk
|
|
|
|
# fixme, code is not yet 64 bit clean
|
|
.IF "$(OS)$(CPU)"=="LINUXX" || ("$(COM)"=="C52" && "$(CPU)"=="U")
|
|
all:
|
|
@echo nothing to do
|
|
.ENDIF
|
|
|
|
|
|
# --- Files --------------------------------------------------------
|
|
|
|
SLOFILES = \
|
|
$(SLO)$/soldep.obj \
|
|
$(SLO)$/soldlg.obj \
|
|
$(SLO)$/depper.obj \
|
|
$(SLO)$/hashobj.obj \
|
|
$(SLO)$/connctr.obj \
|
|
$(SLO)$/depwin.obj \
|
|
$(SLO)$/graphwin.obj \
|
|
$(SLO)$/tbox.obj \
|
|
$(SLO)$/sdtresid.obj \
|
|
$(SLO)$/objwin.obj
|
|
|
|
SHL1TARGET =$(TARGET)$(DLLPOSTFIX)
|
|
SHL1IMPLIB =$(TARGET)
|
|
SHL1LIBS =$(SLB)$/$(TARGET).lib \
|
|
$(SLB)$/bootstrpdt.lib
|
|
SHL1DEF =$(MISC)$/$(SHL1TARGET).def
|
|
SHL1DEPN =$(SHL1LIBS)
|
|
SHL1STDLIBS = $(SVTOOLLIB) \
|
|
$(CPPUHELPERLIB) \
|
|
$(COMPHELPERLIB) \
|
|
$(VCLLIB) \
|
|
$(UCBHELPERLIB) \
|
|
$(SOTLIB) \
|
|
$(BTSTRPLIB) \
|
|
$(TOOLSLIB) \
|
|
$(VOSLIB) \
|
|
$(SALLIB) \
|
|
$(CPPULIB) \
|
|
$(PERL_LIB)
|
|
|
|
#.IF "$(GUI)" == "UNX"
|
|
#SHL1STDLIBS+=\
|
|
# $(SALLIB)
|
|
#.ENDIF
|
|
|
|
|
|
DEF1NAME =$(SHL1TARGET)
|
|
DEF1DEPN =$(MISC)$/$(SHL1TARGET).flt
|
|
DEFLIB1NAME =$(TARGET)
|
|
|
|
SRC1FILES = \
|
|
soldlg.src
|
|
RES1TARGET = dep
|
|
SRS1NAME=$(TARGET)
|
|
SRS1FILES = \
|
|
$(SRS)$/$(TARGET).srs
|
|
|
|
RESLIB1NAME = dep
|
|
RESLIB1SRSFILES = \
|
|
$(SRS)$/$(TARGET).srs
|
|
|
|
|
|
#------------- Application ---------------
|
|
APP1TARGET=soldepl
|
|
|
|
APP1ICON=soldep.ico
|
|
|
|
APP1STDLIBS= \
|
|
$(SVTOOLLIB) \
|
|
$(CPPUHELPERLIB) \
|
|
$(COMPHELPERLIB) \
|
|
$(UCBHELPERLIB) \
|
|
$(VCLLIB) \
|
|
$(SOTLIB) \
|
|
$(BTSTRPLIB) \
|
|
$(TOOLSLIB) \
|
|
$(VOSLIB) \
|
|
$(SALLIB) \
|
|
$(CPPULIB) \
|
|
$(PERL_LIB)
|
|
|
|
APP1LIBS=\
|
|
$(SLB)$/bootstrpdt.lib \
|
|
$(SLB)$/soldep.lib
|
|
|
|
APP1OBJS= \
|
|
$(SLO)$/depapp.obj
|
|
|
|
# --- Targets ------------------------------------------------------
|
|
|
|
.INCLUDE : target.mk
|
|
|
|
ALLTAR : $(BIN)$/applicat.rdb
|
|
|
|
$(BIN)$/applicat.rdb : makefile.mk $(UNOUCRRDB)
|
|
rm -f $@
|
|
$(GNUCOPY) $(UNOUCRRDB) $@
|
|
cd $(BIN) && \
|
|
$(REGCOMP) -register -r applicat.rdb \
|
|
-c i18nsearch.uno$(DLLPOST) \
|
|
-c i18npool.uno$(DLLPOST)
|
|
|
|
$(MISC)$/$(SHL1TARGET).flt: makefile.mk
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
@echo WEP > $@
|
|
@echo LIBMAIN >> $@
|
|
@echo LibMain >> $@
|
|
@echo __CT >> $@
|