xref: /aoo41x/main/soldep/source/makefile.mk (revision cdf0e10c)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
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.
14#
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).
20#
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.
25#
26#*************************************************************************
27
28PRJ=..
29
30PRJNAME=soldep
31TARGET=soldep
32
33
34# --- Settings -----------------------------------------------------
35#.INCLUDE :  $(PRJ)$/util$/perl.mk
36.INCLUDE :  settings.mk
37
38# fixme, code is not yet 64 bit clean
39.IF "$(OS)$(CPU)"=="LINUXX" || ("$(COM)"=="C52" && "$(CPU)"=="U")
40all:
41	@echo nothing to do
42.ENDIF
43
44
45# --- Files --------------------------------------------------------
46
47SLOFILES        = \
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
58
59SHL1TARGET	=$(TARGET)$(DLLPOSTFIX)
60SHL1IMPLIB	=$(TARGET)
61SHL1LIBS	=$(SLB)$/$(TARGET).lib \
62			$(SLB)$/bootstrpdt.lib
63SHL1DEF		=$(MISC)$/$(SHL1TARGET).def
64SHL1DEPN	=$(SHL1LIBS)
65SHL1STDLIBS     = $(SVTOOLLIB)		\
66				$(CPPUHELPERLIB)	\
67				$(COMPHELPERLIB)	\
68				$(VCLLIB)			\
69				$(UCBHELPERLIB)	\
70				$(SOTLIB)			\
71				$(TOOLSLIB) 		\
72				$(VOSLIB)			\
73	            $(SALLIB)           \
74            	$(CPPULIB)  \
75           		$(PERL_LIB)
76
77#.IF "$(GUI)" == "UNX"
78#SHL1STDLIBS+=\
79#		$(SALLIB)
80#.ENDIF
81
82
83DEF1NAME    =$(SHL1TARGET)
84DEF1DEPN	=$(MISC)$/$(SHL1TARGET).flt
85DEFLIB1NAME	=$(TARGET)
86
87SRC1FILES = \
88	soldlg.src
89RES1TARGET = dep
90SRS1NAME=$(TARGET)
91SRS1FILES = \
92    $(SRS)$/$(TARGET).srs
93
94RESLIB1NAME = dep
95RESLIB1SRSFILES = \
96    $(SRS)$/$(TARGET).srs
97
98
99#------------- Application ---------------
100APP1TARGET=soldepl
101
102APP1ICON=soldep.ico
103
104APP1STDLIBS= \
105			$(SVTOOLLIB)		\
106			$(CPPUHELPERLIB)	\
107			$(COMPHELPERLIB)	\
108			$(UCBHELPERLIB)	\
109			$(VCLLIB)			\
110			$(SOTLIB)			\
111			$(TOOLSLIB) 		\
112			$(VOSLIB)			\
113            $(SALLIB)           \
114       		$(CPPULIB)  \
115       		$(PERL_LIB)
116
117APP1LIBS=\
118	$(SLB)$/bootstrpdt.lib \
119	$(SLB)$/soldep.lib
120
121APP1OBJS= \
122	$(SLO)$/depapp.obj
123
124# --- Targets ------------------------------------------------------
125
126.INCLUDE :	target.mk
127
128$(MISC)$/$(SHL1TARGET).flt: makefile.mk
129	@echo ------------------------------
130	@echo Making: $@
131	@echo WEP > $@
132	@echo LIBMAIN >> $@
133	@echo LibMain >> $@
134	@echo __CT >> $@
135