xref: /aoo41x/main/automation/util/makefile.mk (revision cd9ed9f2)
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=automation
27TARGET=automation
28TARGETTYPE=GUI
29
30# --- Settings ---------------------------------------------------
31
32.INCLUDE :  settings.mk
33
34# --- Allgemein ---------------------------------------------------
35
36LIB1TARGET=$(SLB)$/$(TARGET).lib
37LIB1FILES=                 \
38	$(SLB)$/server.lib     \
39	$(SLB)$/simplecm.lib   \
40	$(SLB)$/communi.lib
41
42# --- sts library ---------------------------------------------------
43
44SHL1TARGET= sts$(DLLPOSTFIX)
45SHL1IMPLIB= ists
46
47SHL1STDLIBS= \
48			$(TOOLSLIB) \
49			$(UNOTOOLSLIB) \
50			$(SVTOOLLIB) \
51			$(SVLLIB)       \
52			$(VCLLIB) \
53			$(BASICLIB) \
54			$(VOSLIB) \
55			$(SALLIB) \
56			$(CPPUHELPERLIB) \
57			$(CPPULIB) \
58			$(COMPHELPERLIB) \
59			$(SOTLIB)
60
61
62.IF "$(GUI)"=="WNT"
63SHL1STDLIBS+= \
64		$(ADVAPI32LIB)	\
65		$(GDI32LIB)
66.ENDIF
67
68SHL1DEF=        $(MISC)$/$(SHL1TARGET).def
69SHL1LIBS=       $(SLB)$/$(TARGET).lib
70
71DEF1NAME        =$(SHL1TARGET)
72DEF1DEPN        =       \
73	$(MISC)$/$(SHL1TARGET).flt
74
75DEFLIB1NAME     =$(TARGET)
76DEF1DES         =TestToolServer
77
78# --- simple communication library (no vcl) ---------------------------------------------------
79
80SHL2TARGET= simplecm$(DLLPOSTFIX)
81SHL2IMPLIB= isimplecm
82
83SHL2STDLIBS= \
84			$(TOOLSLIB) \
85			$(VOSLIB) \
86			$(SALLIB)
87
88
89SHL2DEF=        $(MISC)$/$(SHL2TARGET).def
90SHL2LIBS=       $(SLB)$/simplecm.lib
91
92DEF2NAME        =$(SHL2TARGET)
93DEF2DEPN        =       \
94	$(MISC)$/$(SHL2TARGET).flt
95
96DEFLIB2NAME     =simplecm
97DEF2DES         =SimpleCommunication
98
99# --- communication library ---------------------------------------------------
100
101SHL3TARGET= communi$(DLLPOSTFIX)
102SHL3IMPLIB= icommuni
103
104SHL3STDLIBS= \
105			$(TOOLSLIB) \
106			$(SVLLIB)       \
107			$(VCLLIB) \
108			$(VOSLIB) \
109			$(SALLIB) \
110            $(VOSLIB) \
111            $(SIMPLECMLIB)
112
113
114.IF "$(GUI)"=="WNT"
115SHL3STDLIBS+= \
116		$(ADVAPI32LIB)	\
117		$(GDI32LIB)
118.ENDIF
119
120SHL3DEF=        $(MISC)$/$(SHL3TARGET).def
121SHL3LIBS=       $(SLB)$/communi.lib
122SHL3DEPN=$(SHL2TARGETN)
123
124DEF3NAME        =$(SHL3TARGET)
125DEF3DEPN        =       \
126	$(MISC)$/$(SHL3TARGET).flt
127
128DEFLIB3NAME     =communi
129DEF3DES         =Communication
130
131
132# --- Targets -----------------------------------------------------------
133
134.INCLUDE :  target.mk
135
136# --- Basic-Filter-Datei ---
137
138$(MISC)$/$(SHL1TARGET).flt: makefile.mk
139	@echo ------------------------------
140	@echo Making: $@
141	@echo WEP > $@
142	@echo LIBMAIN >> $@
143	@echo LibMain >> $@
144	@echo Sbi >> $@
145	@echo exception >> $@
146	@echo bad_alloc >> $@
147	@echo __CT >> $@
148
149$(MISC)$/$(SHL2TARGET).flt: makefile.mk
150	@echo ------------------------------
151	@echo Making: $@
152	@echo WEP > $@
153	@echo LIBMAIN >> $@
154	@echo LibMain >> $@
155	@echo Sbi >> $@
156	@echo exception >> $@
157	@echo bad_alloc >> $@
158	@echo __CT >> $@
159
160$(MISC)$/$(SHL3TARGET).flt: makefile.mk
161	@echo ------------------------------
162	@echo Making: $@
163	@echo WEP > $@
164	@echo LIBMAIN >> $@
165	@echo LibMain >> $@
166	@echo Sbi >> $@
167	@echo exception >> $@
168	@echo bad_alloc >> $@
169	@echo __CT >> $@
170
171
172# ------------------------------------------------------------------------
173
174