merge the formfield patch from ooo-build
[ooovba.git] / padmin / source / makefile.mk
blobaf22e07464af174ebeeb29054d01ad59d0ec0430
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.24 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 .IF "$(GUIBASE)"=="aqua"
34 dummy:
35 @echo "Nothing to build for GUIBASE aqua."
37 .ELSE
39 PRJ=..
40 PRJNAME=padmin
41 TARGET=padmin
42 TARGETTYPE=GUI
43 ENABLE_EXCEPTIONS=TRUE
44 LIBTARGET=NO
46 # --- Settings -----------------------------------------------------
48 .INCLUDE: settings.mk
50 .IF "$(FONTCONFIG_FONTS)" != ""
51 CFLAGS+=-DFONTCONFIG_FONTS
52 .ENDIF
54 # --- Files --------------------------------------------------------
56 SRS1NAME=$(TARGET)
57 SRC1FILES=padialog.src rtsetup.src
59 RESLIB1NAME=spa
60 RESLIB1IMAGES=$(PRJ)$/source
61 RESLIB1SRSFILES= $(SRS)$/padmin.srs
62 RESLIB1DEPN=\
63 padialog.src \
64 padialog.hrc \
65 rtsetup.src \
66 rtsetup.hrc
68 .IF "$(GUI)" == "UNX"
70 SLOFILES=\
71 $(SLO)$/padialog.obj \
72 $(SLO)$/cmddlg.obj \
73 $(SLO)$/progress.obj \
74 $(SLO)$/newppdlg.obj \
75 $(SLO)$/prtsetup.obj \
76 $(SLO)$/helper.obj \
77 $(SLO)$/adddlg.obj \
78 $(SLO)$/titlectrl.obj
80 .IF "$(FONTCONFIG_FONTS)" == ""
81 SLOFILES+= $(SLO)$/fontentry.obj
82 .ENDIF
84 OBJFILES=\
85 $(OBJ)/pamain.obj
87 SHL1TARGET= spa$(DLLPOSTFIX)
88 SHL1OBJS=$(SLOFILES)
89 SHL1STDLIBS=\
90 $(SVTOOLLIB) \
91 $(VCLLIB) \
92 $(UNOTOOLSLIB) \
93 $(TOOLSLIB) \
94 $(COMPHELPERLIB) \
95 $(CPPULIB) \
96 $(SALLIB)
98 APP1TARGET=spadmin.bin
99 APP1DEPN+=$(SHL1TARGETN)
101 APP1OBJS=\
102 $(OBJ)$/desktopcontext.obj \
103 $(OBJ)/pamain.obj
105 APP1STDLIBS= \
106 -l$(SHL1TARGET) \
107 $(VCLLIB) \
108 $(UNOTOOLSLIB) \
109 $(TOOLSLIB) \
110 $(UCBHELPERLIB) \
111 $(COMPHELPERLIB) \
112 $(CPPUHELPERLIB) \
113 $(CPPULIB) \
114 $(SALLIB)
116 UNIXTEXT = $(MISC)$/spadmin.sh
118 .ENDIF
120 # --- Targets ------------------------------------------------------
122 .INCLUDE : target.mk
124 .ENDIF # GUIBASE==aqua