merge the formfield patch from ooo-build
[ooovba.git] / soldep / source / makefile.mk
blob63f6d422b6f53df27e7e8e2af022fec4d6bf186d
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.17 $
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 PRJ=..
34 PRJNAME=soldep
35 TARGET=soldep
38 # --- Settings -----------------------------------------------------
39 .INCLUDE : $(PRJ)$/util$/perl.mk
40 .INCLUDE : settings.mk
42 # fixme, code is not yet 64 bit clean
43 .IF "$(OS)$(CPU)"=="LINUXX" || ("$(COM)"=="C52" && "$(CPU)"=="U")
44 all:
45 @echo nothing to do
46 .ENDIF
49 # --- Files --------------------------------------------------------
51 SLOFILES = \
52 $(SLO)$/soldep.obj \
53 $(SLO)$/soldlg.obj \
54 $(SLO)$/depper.obj \
55 $(SLO)$/hashobj.obj \
56 $(SLO)$/connctr.obj \
57 $(SLO)$/depwin.obj \
58 $(SLO)$/graphwin.obj \
59 $(SLO)$/tbox.obj \
60 $(SLO)$/sdtresid.obj \
61 $(SLO)$/objwin.obj
63 SHL1TARGET =$(TARGET)$(DLLPOSTFIX)
64 SHL1IMPLIB =$(TARGET)
65 SHL1LIBS =$(SLB)$/$(TARGET).lib \
66 $(SLB)$/bootstrpdt.lib
67 SHL1DEF =$(MISC)$/$(SHL1TARGET).def
68 SHL1DEPN =$(SHL1LIBS)
69 SHL1STDLIBS = $(SVTOOLLIB) \
70 $(CPPUHELPERLIB) \
71 $(COMPHELPERLIB) \
72 $(VCLLIB) \
73 $(UCBHELPERLIB) \
74 $(SOTLIB) \
75 $(BTSTRPLIB) \
76 $(TOOLSLIB) \
77 $(VOSLIB) \
78 $(SALLIB) \
79 $(CPPULIB) \
80 $(PERL_LIB)
82 #.IF "$(GUI)" == "UNX"
83 #SHL1STDLIBS+=\
84 # $(SALLIB)
85 #.ENDIF
88 DEF1NAME =$(SHL1TARGET)
89 DEF1DEPN =$(MISC)$/$(SHL1TARGET).flt
90 DEFLIB1NAME =$(TARGET)
92 SRC1FILES = \
93 soldlg.src
94 RES1TARGET = dep
95 SRS1NAME=$(TARGET)
96 SRS1FILES = \
97 $(SRS)$/$(TARGET).srs
99 RESLIB1NAME = dep
100 RESLIB1SRSFILES = \
101 $(SRS)$/$(TARGET).srs
104 #------------- Application ---------------
105 APP1TARGET=soldepl
107 APP1ICON=soldep.ico
109 APP1STDLIBS= \
110 $(SVTOOLLIB) \
111 $(CPPUHELPERLIB) \
112 $(COMPHELPERLIB) \
113 $(UCBHELPERLIB) \
114 $(VCLLIB) \
115 $(SOTLIB) \
116 $(BTSTRPLIB) \
117 $(TOOLSLIB) \
118 $(VOSLIB) \
119 $(SALLIB) \
120 $(CPPULIB) \
121 $(PERL_LIB)
123 APP1LIBS=\
124 $(SLB)$/bootstrpdt.lib \
125 $(SLB)$/soldep.lib
127 APP1OBJS= \
128 $(SLO)$/depapp.obj
130 # --- Targets ------------------------------------------------------
132 .INCLUDE : target.mk
134 ALLTAR : $(BIN)$/applicat.rdb
136 $(BIN)$/applicat.rdb : makefile.mk $(UNOUCRRDB)
137 rm -f $@
138 $(GNUCOPY) $(UNOUCRRDB) $@
139 cd $(BIN) && \
140 $(REGCOMP) -register -r applicat.rdb \
141 -c i18nsearch.uno$(DLLPOST) \
142 -c i18npool.uno$(DLLPOST)
144 $(MISC)$/$(SHL1TARGET).flt: makefile.mk
145 @echo ------------------------------
146 @echo Making: $@
147 @echo WEP > $@
148 @echo LIBMAIN >> $@
149 @echo LibMain >> $@
150 @echo __CT >> $@