xref: /AOO41X/main/soldep/source/makefile.mk (revision 7871dc3ea494bf86c742e1f4dfc9c6e20f5bcb2a)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJ=..
25
26PRJNAME=soldep
27TARGET=soldep
28
29
30# --- Settings -----------------------------------------------------
31#.INCLUDE :  $(PRJ)$/util$/perl.mk
32.INCLUDE :  settings.mk
33
34# fixme, code is not yet 64 bit clean
35.IF "$(OS)$(CPU)"=="LINUXX" || ("$(COM)"=="C52" && "$(CPU)"=="U")
36all:
37    @echo nothing to do
38.ENDIF
39
40
41# --- Files --------------------------------------------------------
42
43SLOFILES        = \
44    $(SLO)$/soldep.obj      \
45    $(SLO)$/soldlg.obj      \
46    $(SLO)$/depper.obj      \
47    $(SLO)$/hashobj.obj     \
48    $(SLO)$/connctr.obj     \
49    $(SLO)$/depwin.obj      \
50    $(SLO)$/graphwin.obj    \
51    $(SLO)$/tbox.obj        \
52    $(SLO)$/sdtresid.obj        \
53    $(SLO)$/objwin.obj
54
55SHL1TARGET  =$(TARGET)$(DLLPOSTFIX)
56SHL1IMPLIB  =$(TARGET)
57SHL1LIBS    =$(SLB)$/$(TARGET).lib \
58            $(SLB)$/bootstrpdt.lib
59SHL1DEF     =$(MISC)$/$(SHL1TARGET).def
60SHL1DEPN    =$(SHL1LIBS)
61SHL1STDLIBS     = $(SVTOOLLIB)      \
62                $(CPPUHELPERLIB)    \
63                $(COMPHELPERLIB)    \
64                $(VCLLIB)           \
65                $(UCBHELPERLIB) \
66                $(SOTLIB)           \
67                $(TOOLSLIB)         \
68                $(VOSLIB)           \
69                $(SALLIB)           \
70                $(CPPULIB)  \
71                $(PERL_LIB)
72
73#.IF "$(GUI)" == "UNX"
74#SHL1STDLIBS+=\
75#       $(SALLIB)
76#.ENDIF
77
78
79DEF1NAME    =$(SHL1TARGET)
80DEF1DEPN    =$(MISC)$/$(SHL1TARGET).flt
81DEFLIB1NAME =$(TARGET)
82
83SRC1FILES = \
84    soldlg.src
85RES1TARGET = dep
86SRS1NAME=$(TARGET)
87SRS1FILES = \
88    $(SRS)$/$(TARGET).srs
89
90RESLIB1NAME = dep
91RESLIB1SRSFILES = \
92    $(SRS)$/$(TARGET).srs
93
94
95#------------- Application ---------------
96APP1TARGET=soldepl
97
98APP1ICON=soldep.ico
99
100APP1STDLIBS= \
101            $(SVTOOLLIB)        \
102            $(CPPUHELPERLIB)    \
103            $(COMPHELPERLIB)    \
104            $(UCBHELPERLIB) \
105            $(VCLLIB)           \
106            $(SOTLIB)           \
107            $(TOOLSLIB)         \
108            $(VOSLIB)           \
109            $(SALLIB)           \
110            $(CPPULIB)  \
111            $(PERL_LIB)
112
113APP1LIBS=\
114    $(SLB)$/bootstrpdt.lib \
115    $(SLB)$/soldep.lib
116
117APP1OBJS= \
118    $(SLO)$/depapp.obj
119
120# --- Targets ------------------------------------------------------
121
122.INCLUDE :  target.mk
123
124$(MISC)$/$(SHL1TARGET).flt: makefile.mk
125    @echo ------------------------------
126    @echo Making: $@
127    @echo WEP > $@
128    @echo LIBMAIN >> $@
129    @echo LibMain >> $@
130    @echo __CT >> $@
131