xref: /AOO41X/main/odk/examples/OLE/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=..$/..
25PRJNAME=odk
26TARGET=copying
27
28#----------------------------------------------------------------
29.INCLUDE: settings.mk
30.INCLUDE: $(PRJ)$/util$/makefile.pmk
31#----------------------------------------------------------------
32
33#----------------------------------------------------
34# this makefile is only used for copying the example
35# files into the SDK
36#----------------------------------------------------
37
38ACTIVEX_FILES=\
39    $(DESTDIROLEEXAMPLES)$/activex$/example.html \
40    $(DESTDIROLEEXAMPLES)$/activex$/Makefile \
41    $(DESTDIROLEEXAMPLES)$/activex$/README.txt \
42    $(DESTDIROLEEXAMPLES)$/activex$/resource.h \
43    $(DESTDIROLEEXAMPLES)$/activex$/SOActiveX.cpp \
44    $(DESTDIROLEEXAMPLES)$/activex$/SOActiveX.h \
45    $(DESTDIROLEEXAMPLES)$/activex$/SOActiveX.rgs \
46    $(DESTDIROLEEXAMPLES)$/activex$/SOComWindowPeer.cpp \
47    $(DESTDIROLEEXAMPLES)$/activex$/SOComWindowPeer.h \
48    $(DESTDIROLEEXAMPLES)$/activex$/SOComWindowPeer.rgs \
49    $(DESTDIROLEEXAMPLES)$/activex$/so_activex.cpp \
50    $(DESTDIROLEEXAMPLES)$/activex$/so_activex.def \
51    $(DESTDIROLEEXAMPLES)$/activex$/so_activex.idl \
52    $(DESTDIROLEEXAMPLES)$/activex$/so_activex.rc \
53    $(DESTDIROLEEXAMPLES)$/activex$/StdAfx2.cpp \
54    $(DESTDIROLEEXAMPLES)$/activex$/StdAfx2.h
55
56DELPHI_FILES=\
57    $(DESTDIROLEEXAMPLES)$/delphi$/InsertTables$/Project1.dpr \
58    $(DESTDIROLEEXAMPLES)$/delphi$/InsertTables$/Project1.res \
59    $(DESTDIROLEEXAMPLES)$/delphi$/InsertTables$/SampleCode.pas \
60    $(DESTDIROLEEXAMPLES)$/delphi$/InsertTables$/SampleUI.dfm \
61    $(DESTDIROLEEXAMPLES)$/delphi$/InsertTables$/SampleUI.pas \
62    $(DESTDIROLEEXAMPLES)$/delphi$/StarOffice_and_Delphi.pdf \
63    $(DESTDIROLEEXAMPLES)$/delphi$/StarOffice_Delphi.sxw
64
65VBSCRIPT_FILES=\
66    $(DESTDIROLEEXAMPLES)$/vbscript$/readme.txt \
67    $(DESTDIROLEEXAMPLES)$/vbscript$/WriterDemo.vbs
68
69DIR_FILE_LIST= \
70    $(ACTIVEX_FILES) \
71    $(DELPHI_FILES) \
72    $(VBSCRIPT_FILES)
73
74DIR_DIRECTORY_LIST=$(uniq $(DIR_FILE_LIST:d))
75DIR_CREATE_FLAG=$(MISC)$/ex_ole_dirs_created.txt
76DIR_FILE_FLAG=$(MISC)$/ex_ole_files.txt
77
78#--------------------------------------------------
79# TARGETS
80#--------------------------------------------------
81all : \
82    $(DIR_FILE_LIST) \
83    $(DIR_FILE_FLAG)
84
85#--------------------------------------------------
86# use global rules
87#--------------------------------------------------
88.INCLUDE: $(PRJ)$/util$/odk_rules.pmk
89
90