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