Files
loongoffice/sfx2/util/makefile.mk
Hans-Joachim Lankenau fea2a2e5f9 INTEGRATION: CWS mergebuild (1.31.124); FILE MERGED
2004/05/31 02:28:44 hjs 1.31.124.2: RESYNC: (1.31-1.32); FILE MERGED
2003/11/10 17:55:21 ihi 1.31.124.1: #111234# Merge during build
2004-06-26 16:51:19 +00:00

211 lines
5.5 KiB
Makefile

#*************************************************************************
#
# $RCSfile: makefile.mk,v $
#
# $Revision: 1.33 $
#
# last change: $Author: hjs $ $Date: 2004-06-26 17:51:19 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
#
# - GNU Lesser General Public License Version 2.1
# - Sun Industry Standards Source License Version 1.1
#
# Sun Microsystems Inc., October, 2000
#
# GNU Lesser General Public License Version 2.1
# =============================================
# Copyright 2000 by Sun Microsystems, Inc.
# 901 San Antonio Road, Palo Alto, CA 94303, USA
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License version 2.1, as published by the Free Software Foundation.
#
# This library 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 for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
#
#
# Sun Industry Standards Source License Version 1.1
# =================================================
# The contents of this file are subject to the Sun Industry Standards
# Source License Version 1.1 (the "License"); You may not use this file
# except in compliance with the License. You may obtain a copy of the
# License at http://www.openoffice.org/license.html.
#
# Software provided under this License is provided on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
# See the License for the specific provisions governing your rights and
# obligations concerning the Software.
#
# The Initial Developer of the Original Code is: Sun Microsystems, Inc.
#
# Copyright: 2000 by Sun Microsystems, Inc.
#
# All Rights Reserved.
#
# Contributor(s): _______________________________________
#
#
#
#*************************************************************************
PRJ=..
ENABLE_EXCEPTIONS=TRUE
PRJNAME=sfx2
TARGET=sfx
.INCLUDE : $(PRJ)$/util$/makefile.pmk
#sfx.hid generieren
GEN_HID=TRUE
GEN_HID_OTHER=TRUE
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Allgemein ----------------------------------------------------
LIB1TARGET= $(SLB)$/$(TARGET).lib
LIB1FILES= $(SLB)$/appl.lib \
$(SLB)$/explorer.lib \
$(SLB)$/doc.lib \
$(SLB)$/view.lib \
$(SLB)$/control.lib \
$(SLB)$/notify.lib \
$(SLB)$/menu.lib \
$(SLB)$/inet.lib \
$(SLB)$/accel.lib \
$(SLB)$/toolbox.lib \
$(SLB)$/statbar.lib \
$(SLB)$/dialog.lib \
$(SLB)$/bastyp.lib \
$(SLB)$/config.lib
HELPIDFILES=\
..\inc\sfxsids.hrc \
..\source\inc\helpid.hrc
.IF "$(GUI)"!="UNX"
LIB2TARGET= $(LB)$/$(TARGET).lib
LIB2FILES= $(LB)$/isfx.lib
.ENDIF
SHL1TARGET= sfx$(UPD)$(DLLPOSTFIX)
SHL1IMPLIB= isfx
SHL1STDLIBS+=\
$(FWELIB) \
$(BASICLIB) \
$(XMLOFFLIB) \
$(XMLSCRIPTLIB) \
$(SO2LIB) \
$(SVTOOLLIB) \
$(TKLIB) \
$(VCLLIB) \
$(SVLLIB) \
$(SOTLIB) \
$(UNOTOOLSLIB) \
$(TOOLSLIB) \
$(SYSSHELLLIB) \
$(COMPHELPERLIB) \
$(UCBHELPERLIB) \
$(CPPUHELPERLIB) \
$(CPPULIB) \
$(VOSLIB) \
$(SALLIB)
.IF "$(SOLAR_JAVA)" != ""
SHL1STDLIBS+=\
$(SJLIB)
.ENDIF # SOLAR_JAVA
.IF "$(GUI)"=="WNT"
SHL1STDLIBS+=\
uwinapi.lib \
advapi32.lib \
shell32.lib \
gdi32.lib \
ole32.lib \
uuid.lib
.ENDIF # WNT
.IF "$(GUI)"!="MAC"
SHL1DEPN += $(shell $(FIND) $(SLO) -type f -name "*.OBJ" -print)
.ENDIF
.IF "$(SOLAR_JAVA)" != ""
SHL1DEPN+= \
$(L)$/sj.lib
.ENDIF
SHL1LIBS= $(LIB1TARGET)
SHL1OBJS= $(SLO)$/sfxdll.obj
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
DEF1NAME =$(SHL1TARGET)
DEF1DEPN =$(MISC)$/$(SHL1TARGET).flt \
$(HXX1FILES) \
$(HXX2FILES) \
$(HXX3FILES) \
$(HXX4FILES) \
$(HXX5FILES) \
$(HXX6FILES) \
$(HXX7FILES) \
$(HXX8FILES) \
$(HXX9FILES) \
$(HXX10FILES)
DEFLIB1NAME =sfx
DEF1DES =Sfx
.IF "$(GUI)"=="WNT"
DEF1EXPORT6 = component_writeInfo
DEF1EXPORT7 = component_getFactory
.ENDIF
SFXSRSLIST=\
$(SRS)$/accel.srs \
$(SRS)$/appl.srs \
$(SRS)$/sfx.srs \
$(SRS)$/doc.srs \
$(SRS)$/view.srs \
$(SRS)$/config.srs \
$(SRS)$/menu.srs \
$(SRS)$/statbar.srs \
$(SRS)$/toolbox.srs \
$(SRS)$/dialog.srs \
$(SRS)$/bastyp.srs \
$(SRS)$/explorer.srs
RESLIB1NAME=$(TARGET)
RESLIB1IMAGES=$(PRJ)$/res
RESLIB1SRSFILES=$(SFXSRSLIST)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
# --- SFX-Filter-Datei ---
$(MISC)$/$(SHL1TARGET).flt: makefile.mk
@echo ------------------------------
@echo Making: $@
@+$(TYPE) sfxwin.flt > $@