Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
b635ee56
Kaydet (Commit)
b635ee56
authored
Nis 01, 2012
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
extensions: use CustomTarget makefiles
üst
8cb0d4f0
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
29 additions
and
110 deletions
+29
-110
CustomTarget_so_activex_idl.mk
extensions/CustomTarget_so_activex_idl.mk
+11
-10
CustomTarget_so_activex_x64.mk
extensions/CustomTarget_so_activex_x64.mk
+13
-11
Library_so_activex.mk
extensions/Library_so_activex.mk
+1
-4
Library_so_activex_x64.mk
extensions/Library_so_activex_x64.mk
+1
-5
Module_extensions.mk
extensions/Module_extensions.mk
+2
-2
Package_so_activex_idl.mk
extensions/Package_so_activex_idl.mk
+0
-36
Package_so_activex_x64.mk
extensions/Package_so_activex_x64.mk
+0
-41
WinResTarget_activex.mk
extensions/WinResTarget_activex.mk
+1
-1
No files found.
extensions/
source/activex/idl/Makefile
→
extensions/
CustomTarget_so_activex_idl.mk
Dosyayı görüntüle @
b635ee56
...
@@ -25,15 +25,20 @@
...
@@ -25,15 +25,20 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
# instead of those above.
include
$(GBUILDDIR)/gbuild_simple.mk
$(eval $(call gb_CustomTarget_CustomTarget,extensions/source/activex/idl,new_style))
EXAI := $(call gb_CustomTarget_get_workdir,extensions/source/activex/idl)
$(call gb_CustomTarget_get_target,extensions/source/activex/idl) : \
$(EXAI)/so_activex.tlb
# XXX: I presume that the "$(COM)"=="GCC" case in the original
# XXX: I presume that the "$(COM)"=="GCC" case in the original
# extensions/source/activex/msidl/makefile.mk was for the
# extensions/source/activex/msidl/makefile.mk was for the
# use-mingw-on-windows case and thus is not interesting for us.
# use-mingw-on-windows case and thus is not interesting for us.
ifeq
($(OS_FOR_BUILD),WNT)
$(EXAI)/so_activex.tlb : \
override SRCDIR
:
= $(shell cygpath -m $(SRCDIR))
$(SRCDIR)/extensions/source/activex/so_activex.idl | $(EXAI)/.dir
endif
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),IDL,1)
so_activex.tlb
:
$(call gb_Helper_abbreviate_dirs_native, \
midl.exe \
midl.exe \
-tlb $@ \
-tlb $@ \
-h so_activex.h \
-h so_activex.h \
...
@@ -42,10 +47,6 @@ so_activex.tlb :
...
@@ -42,10 +47,6 @@ so_activex.tlb :
-proxy so_activex_p.c \
-proxy so_activex_p.c \
-Oicf \
-Oicf \
$(INCLUDE) \
$(INCLUDE) \
$(SRCDIR)
/extensions/source/activex/so_activex.idl
$<)
.DEFAULT_GOAL
:=
all
.PHONY
:
all
all
:
so_activex.tlb
# vim:set shiftwidth=4 tabstop=4 noexpandtab:
# vim:set shiftwidth=4 tabstop=4 noexpandtab:
extensions/
source/activex/Makefile
→
extensions/
CustomTarget_so_activex_x64.mk
Dosyayı görüntüle @
b635ee56
...
@@ -25,17 +25,19 @@
...
@@ -25,17 +25,19 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
# instead of those above.
%
:
$(SRCDIR)/extensions/source/activex/%
$(eval $(call gb_CustomTarget_CustomTarget,extensions/source/activex,new_style))
cp
$<
$@
EXSA := $(call gb_CustomTarget_get_workdir,extensions/source/activex)
.DEFAULT_GOAL
:=
all
$(call gb_CustomTarget_get_target,extensions/source/activex) : \
.PHONY
:
all
$(EXSA)/SOActionsApproval.cxx \
all
:
\
$(EXSA)/SOActiveX.cxx \
SOActionsApproval.cxx
\
$(EXSA)/SOComWindowPeer.cxx \
SOActiveX.cxx
\
$(EXSA)/SODispatchInterceptor.cxx \
SOComWindowPeer.cxx
\
$(EXSA)/StdAfx2.cxx \
SODispatchInterceptor.cxx
\
$(EXSA)/so_activex.cxx \
StdAfx2.cxx
\
so_activex.cxx
\
$(EXSA)/% : $(SRCDIR)/extensions/source/activex/%
cp $< $@
# vim:set shiftwidth=4 tabstop=4 noexpandtab:
# vim:set shiftwidth=4 tabstop=4 noexpandtab:
extensions/Library_so_activex.mk
Dosyayı görüntüle @
b635ee56
...
@@ -30,13 +30,10 @@
...
@@ -30,13 +30,10 @@
$(eval
$(call
gb_Library_Library,so_activex))
$(eval
$(call
gb_Library_Library,so_activex))
$(eval
$(call
gb_Library_add_package_headers,so_activex,\
$(eval
$(call
gb_Library_add_custom_headers,so_activex,extensions/source/activex/idl))
extensions_so_activex_idl
\
))
$(eval
$(call
gb_Library_set_include,so_activex,\
$(eval
$(call
gb_Library_set_include,so_activex,\
$$(INCLUDE)
\
$$(INCLUDE)
\
-I$(WORKDIR)/CustomTarget/extensions/source/activex/idl
\
$(foreach
i,$(ATL_INCLUDE),
-I$(i))
\
$(foreach
i,$(ATL_INCLUDE),
-I$(i))
\
))
))
...
...
extensions/Library_so_activex_x64.mk
Dosyayı görüntüle @
b635ee56
...
@@ -32,15 +32,11 @@ $(eval $(call gb_Library_Library,so_activex_x64))
...
@@ -32,15 +32,11 @@ $(eval $(call gb_Library_Library,so_activex_x64))
$(eval
$(call
gb_Library_set_x64,so_activex_x64,YES))
$(eval
$(call
gb_Library_set_x64,so_activex_x64,YES))
$(eval
$(call
gb_Library_add_package_headers,so_activex_x64,\
$(eval
$(call
gb_Library_add_custom_headers,so_activex_x64,extensions/source/activex/idl))
extensions_so_activex_idl
\
extensions_so_activex_x64_sources
\
))
$(eval
$(call
gb_Library_set_include,so_activex_x64,\
$(eval
$(call
gb_Library_set_include,so_activex_x64,\
$$(INCLUDE)
\
$$(INCLUDE)
\
-I$(SRCDIR)/extensions/source/activex
\
-I$(SRCDIR)/extensions/source/activex
\
-I$(WORKDIR)/CustomTarget/extensions/source/activex/idl
\
$(foreach
i,$(ATL_INCLUDE),
-I$(i))
\
$(foreach
i,$(ATL_INCLUDE),
-I$(i))
\
))
))
...
...
extensions/Module_extensions.mk
Dosyayı görüntüle @
b635ee56
...
@@ -69,15 +69,15 @@ ifeq ($(OS),WNT)
...
@@ -69,15 +69,15 @@ ifeq ($(OS),WNT)
ifeq ($(COM),MSC)
ifeq ($(COM),MSC)
ifneq ($(DISABLE_ACTIVEX),TRUE)
ifneq ($(DISABLE_ACTIVEX),TRUE)
$(eval $(call gb_Module_add_targets,extensions,\
$(eval $(call gb_Module_add_targets,extensions,\
CustomTarget_so_activex_idl \
WinResTarget_activex \
WinResTarget_activex \
Library_so_activex \
Library_so_activex \
Package_so_activex_idl \
))
))
ifeq ($(BUILD_X64),TRUE)
ifeq ($(BUILD_X64),TRUE)
$(eval $(call gb_Module_add_targets,extensions,\
$(eval $(call gb_Module_add_targets,extensions,\
CustomTarget_so_activex_x64 \
Library_so_activex_x64 \
Library_so_activex_x64 \
Package_so_activex_x64 \
))
))
endif # BUILD_X64
endif # BUILD_X64
endif # DISABLE_ACTIVEX
endif # DISABLE_ACTIVEX
...
...
extensions/Package_so_activex_idl.mk
deleted
100644 → 0
Dosyayı görüntüle @
8cb0d4f0
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
# (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Package_Package,extensions_so_activex_idl,$(WORKDIR)/extensions/source/activex/idl))
$(eval $(call gb_Package_add_customtarget,extensions_so_activex_idl,extensions/source/activex/idl))
$(eval $(call gb_CustomTarget_add_dependencies,extensions/source/activex/idl,\
extensions/source/activex/so_activex.idl \
))
# vim:set shiftwidth=4 softtabstop=4 expandtab:
extensions/Package_so_activex_x64.mk
deleted
100644 → 0
Dosyayı görüntüle @
8cb0d4f0
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
# (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Package_Package,extensions_so_activex_x64_sources,$(WORKDIR)/extensions/source/activex))
$(eval $(call gb_Package_add_customtarget,extensions_so_activex_x64_sources,extensions/source/activex))
$(eval $(call gb_CustomTarget_add_dependencies,extensions/source/activex,\
extensions/source/activex/SOActionsApproval.cxx \
extensions/source/activex/SOActiveX.cxx \
extensions/source/activex/SOComWindowPeer.cxx \
extensions/source/activex/SODispatchInterceptor.cxx \
extensions/source/activex/StdAfx2.cxx \
extensions/source/activex/so_activex.cxx \
))
# vim:set shiftwidth=4 softtabstop=4 expandtab:
extensions/WinResTarget_activex.mk
Dosyayı görüntüle @
b635ee56
...
@@ -46,6 +46,6 @@ $(eval $(call gb_WinResTarget_set_defs,activex_res,\
...
@@ -46,6 +46,6 @@ $(eval $(call gb_WinResTarget_set_defs,activex_res,\
# I suppose this dep is not really necessary, because it should always
# I suppose this dep is not really necessary, because it should always
# be fulfilled anyway. But it cannot hurt to have it...
# be fulfilled anyway. But it cannot hurt to have it...
$(call gb_WinResTarget_get_target,activex_res)
:
$(
call gb_Package_get_target
,
extensions_so_activex_idl)
$(call gb_WinResTarget_get_target,activex_res)
:
$(
WORKDIR)/CustomTarget/extensions/source/activex/idl
# vim:set shiftwidth=4 softtabstop=4 expandtab:
# vim:set shiftwidth=4 softtabstop=4 expandtab:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment