OOO330
[LibreOffice.git] / soldep / source / makefile.mk
blob5261ee5175f68fc99c8f80ac92b079d501192d46
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
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.
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).
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.
26 #*************************************************************************
28 PRJ=..
30 PRJNAME=soldep
31 TARGET=soldep
34 # --- Settings -----------------------------------------------------
35 #.INCLUDE : $(PRJ)$/util$/perl.mk
36 .INCLUDE : settings.mk
38 # fixme, code is not yet 64 bit clean
39 .IF "$(OS)$(CPU)"=="LINUXX" || ("$(COM)"=="C52" && "$(CPU)"=="U")
40 all:
41 @echo nothing to do
42 .ENDIF
45 # --- Files --------------------------------------------------------
47 SLOFILES = \
48 $(SLO)$/soldep.obj \
49 $(SLO)$/soldlg.obj \
50 $(SLO)$/depper.obj \
51 $(SLO)$/hashobj.obj \
52 $(SLO)$/connctr.obj \
53 $(SLO)$/depwin.obj \
54 $(SLO)$/graphwin.obj \
55 $(SLO)$/tbox.obj \
56 $(SLO)$/sdtresid.obj \
57 $(SLO)$/objwin.obj
59 SHL1TARGET =$(TARGET)$(DLLPOSTFIX)
60 SHL1IMPLIB =$(TARGET)
61 SHL1LIBS =$(SLB)$/$(TARGET).lib \
62 $(SLB)$/bootstrpdt.lib
63 SHL1DEF =$(MISC)$/$(SHL1TARGET).def
64 SHL1DEPN =$(SHL1LIBS)
65 SHL1STDLIBS = $(SVTOOLLIB) \
66 $(CPPUHELPERLIB) \
67 $(COMPHELPERLIB) \
68 $(VCLLIB) \
69 $(UCBHELPERLIB) \
70 $(SOTLIB) \
71 $(BTSTRPLIB) \
72 $(TOOLSLIB) \
73 $(VOSLIB) \
74 $(SALLIB) \
75 $(CPPULIB) \
76 $(PERL_LIB)
78 #.IF "$(GUI)" == "UNX"
79 #SHL1STDLIBS+=\
80 # $(SALLIB)
81 #.ENDIF
84 DEF1NAME =$(SHL1TARGET)
85 DEF1DEPN =$(MISC)$/$(SHL1TARGET).flt
86 DEFLIB1NAME =$(TARGET)
88 SRC1FILES = \
89 soldlg.src
90 RES1TARGET = dep
91 SRS1NAME=$(TARGET)
92 SRS1FILES = \
93 $(SRS)$/$(TARGET).srs
95 RESLIB1NAME = dep
96 RESLIB1SRSFILES = \
97 $(SRS)$/$(TARGET).srs
100 #------------- Application ---------------
101 APP1TARGET=soldepl
103 APP1ICON=soldep.ico
105 APP1STDLIBS= \
106 $(SVTOOLLIB) \
107 $(CPPUHELPERLIB) \
108 $(COMPHELPERLIB) \
109 $(UCBHELPERLIB) \
110 $(VCLLIB) \
111 $(SOTLIB) \
112 $(BTSTRPLIB) \
113 $(TOOLSLIB) \
114 $(VOSLIB) \
115 $(SALLIB) \
116 $(CPPULIB) \
117 $(PERL_LIB)
119 APP1LIBS=\
120 $(SLB)$/bootstrpdt.lib \
121 $(SLB)$/soldep.lib
123 APP1OBJS= \
124 $(SLO)$/depapp.obj
126 # --- Targets ------------------------------------------------------
128 .INCLUDE : target.mk
130 ALLTAR : $(BIN)$/applicat.rdb
132 $(BIN)$/applicat.rdb : makefile.mk $(UNOUCRRDB)
133 rm -f $@
134 $(GNUCOPY) $(UNOUCRRDB) $@
135 cd $(BIN) && \
136 $(REGCOMP) -register -r applicat.rdb \
137 -c i18nsearch.uno$(DLLPOST) \
138 -c i18npool.uno$(DLLPOST)
140 $(MISC)$/$(SHL1TARGET).flt: makefile.mk
141 @echo ------------------------------
142 @echo Making: $@
143 @echo WEP > $@
144 @echo LIBMAIN >> $@
145 @echo LibMain >> $@
146 @echo __CT >> $@