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
7b3f37f8
Kaydet (Commit)
7b3f37f8
authored
Mar 28, 2012
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: use CustomTarget makefiles
üst
afd5eb1f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
82 deletions
+22
-82
CustomTarget_afm_hash.mk
vcl/CustomTarget_afm_hash.mk
+7
-3
CustomTarget_kde4_moc.mk
vcl/CustomTarget_kde4_moc.mk
+7
-3
Library_vcl.mk
vcl/Library_vcl.mk
+2
-6
Library_vclplug_kde4.mk
vcl/Library_vclplug_kde4.mk
+2
-5
Module_vcl.mk
vcl/Module_vcl.mk
+4
-4
Package_afmhash.mk
vcl/Package_afmhash.mk
+0
-30
Package_kde4moc.mk
vcl/Package_kde4moc.mk
+0
-31
No files found.
vcl/
generic/fontmanager/Makefile
→
vcl/
CustomTarget_afm_hash.mk
Dosyayı görüntüle @
7b3f37f8
...
@@ -23,10 +23,14 @@
...
@@ -23,10 +23,14 @@
# 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.
all
:
afm_hash.hpp
$(eval $(call gb_CustomTarget_CustomTarget,vcl/generic/fontmanager,new_style))
afm_hash.hpp
:
$(realpath $(dir $(firstword $(MAKEFILE_LIST))))/afm_keyword_list
VCFM := $(call gb_CustomTarget_get_workdir,vcl/generic/fontmanager)
$(call gb_CustomTarget_get_target,vcl/generic/fontmanager) : $(VCFM)/afm_hash.hpp
$(VCFM)/afm_hash.hpp : $(SRCDIR)/vcl/generic/fontmanager/afm_keyword_list | $(VCFM)/.dir
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),GPF,1)
$(GPERF) -C -t -l -L C++ -m 20 -Z AfmKeywordHash -k '1,4,6,$$' $< | sed -e "s/(char\*)0/(char\*)0, NOPE/g" | grep -v "^#line" > $@
$(GPERF) -C -t -l -L C++ -m 20 -Z AfmKeywordHash -k '1,4,6,$$' $< | sed -e "s/(char\*)0/(char\*)0, NOPE/g" | grep -v "^#line" > $@
.PHONY
:
all
# vim: set noet sw=4:
# vim: set noet sw=4:
vcl/
unx/kde4/Makefile
→
vcl/
CustomTarget_kde4_moc.mk
Dosyayı görüntüle @
7b3f37f8
...
@@ -25,10 +25,14 @@
...
@@ -25,10 +25,14 @@
# 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.
KDEXLib.cxx
:
KDEXLib.moc
$(eval $(call gb_CustomTarget_CustomTarget,vcl/unx/kde4,new_style))
KDEXLib.moc
:
$(realpath $(dir $(firstword $(MAKEFILE_LIST))))/KDEXLib.hxx
VCKM := $(call gb_CustomTarget_get_workdir,vcl/unx/kde4)
$(call gb_CustomTarget_get_target,vcl/unx/kde4) : $(VCKM)/KDEXLib.moc
$(VCKM)/KDEXLib.moc : $(SRCDIR)/vcl/unx/kde4/KDEXLib.hxx | $(VCKM)/.dir
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),MOC,1)
$(MOC4) $< -o $@
$(MOC4) $< -o $@
.PHONY
:
all
# vim: set noet sw=4:
# vim: set noet sw=4:
vcl/Library_vcl.mk
Dosyayı görüntüle @
7b3f37f8
...
@@ -43,14 +43,13 @@ $(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.unx))
...
@@ -43,14 +43,13 @@ $(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.unx))
endif
endif
$(eval $(call gb_Library_add_package_headers,vcl,vcl_inc))
$(eval $(call gb_Library_add_package_headers,vcl,vcl_inc))
$(eval $(call gb_Library_add_package_headers,vcl,vcl_afmhash))
$(eval $(call gb_Library_add_custom_headers,vcl,vcl/generic/fontmanager))
$(eval $(call gb_Library_set_include,vcl,\
$(eval $(call gb_Library_set_include,vcl,\
$$(INCLUDE) \
$$(INCLUDE) \
-I$(SRCDIR)/vcl/inc \
-I$(SRCDIR)/vcl/inc \
-I$(SRCDIR)/solenv/inc \
$(if $(filter WNTGCC,$(OS)$(COM)),-I$(OUTDIR)/inc/external/wine) \
$(if $(filter WNTGCC,$(OS)$(COM)),-I$(OUTDIR)/inc/external/wine) \
-I$(WORKDIR)/CustomTarget/vcl/generic/fontmanager \
))
))
$(eval $(call gb_Library_add_defs,vcl,\
$(eval $(call gb_Library_add_defs,vcl,\
...
@@ -451,9 +450,6 @@ $(eval $(call gb_Library_use_externals,vcl,\
...
@@ -451,9 +450,6 @@ $(eval $(call gb_Library_use_externals,vcl,\
endif
endif
ifeq ($(GUIBASE),headless)
ifeq ($(GUIBASE),headless)
$(eval $(call gb_Library_add_cxxflags,vcl,\
$$(FREETYPE_CFLAGS) \
))
$(eval $(call gb_Library_add_defs,vcl,\
$(eval $(call gb_Library_add_defs,vcl,\
-DSAL_DLLPREFIX=\"$(gb_Library_SYSPRE)\" \
-DSAL_DLLPREFIX=\"$(gb_Library_SYSPRE)\" \
-DSAL_DLLPOSTFIX=\"$(gb_Library_OOOEXT)\" \
-DSAL_DLLPOSTFIX=\"$(gb_Library_OOOEXT)\" \
...
...
vcl/Library_vclplug_kde4.mk
Dosyayı görüntüle @
7b3f37f8
...
@@ -28,13 +28,11 @@
...
@@ -28,13 +28,11 @@
$(eval $(call gb_Library_Library,vclplug_kde4))
$(eval $(call gb_Library_Library,vclplug_kde4))
$(eval $(call gb_Library_add_
package_headers,vcl,vcl_kde4moc
))
$(eval $(call gb_Library_add_
custom_headers,vclplug_kde4,vcl/unx/kde4
))
$(eval $(call gb_Library_set_include,vclplug_kde4,\
$(eval $(call gb_Library_set_include,vclplug_kde4,\
$$(INCLUDE) \
$$(INCLUDE) \
-I$(SRCDIR)/vcl/inc \
-I$(SRCDIR)/vcl/inc \
-I$(SRCDIR)/solenv/inc \
-I$(WORKDIR)/CustomTarget/vcl/unx/kde4 \
))
))
$(eval $(call gb_Library_set_include,vclplug_kde4,\
$(eval $(call gb_Library_set_include,vclplug_kde4,\
...
@@ -95,10 +93,9 @@ $(eval $(call gb_Library_add_exception_objects,vclplug_kde4,\
...
@@ -95,10 +93,9 @@ $(eval $(call gb_Library_add_exception_objects,vclplug_kde4,\
# KDE/Qt consider -Wshadow more trouble than benefit
# KDE/Qt consider -Wshadow more trouble than benefit
$(eval $(call gb_Library_add_cxxflags,vclplug_kde4,\
$(eval $(call gb_Library_add_cxxflags,vclplug_kde4,\
-Wno-shadow \
-Wno-shadow \
))
))
ifeq ($(OS),LINUX)
ifeq ($(OS),LINUX)
$(eval $(call gb_Library_add_linked_libs,vclplug_kde4,\
$(eval $(call gb_Library_add_linked_libs,vclplug_kde4,\
dl \
dl \
...
...
vcl/Module_vcl.mk
Dosyayı görüntüle @
7b3f37f8
...
@@ -30,11 +30,11 @@
...
@@ -30,11 +30,11 @@
$(eval $(call gb_Module_Module,vcl))
$(eval $(call gb_Module_Module,vcl))
$(eval $(call gb_Module_add_targets,vcl,\
$(eval $(call gb_Module_add_targets,vcl,\
AllLangResTarget_vcl \
CustomTarget_afm_hash \
Library_vcl \
Library_vcl \
StaticLibrary_vclmain \
Package_inc \
Package_inc \
Package_afmhash \
StaticLibrary_vclmain \
AllLangResTarget_vcl \
))
))
ifeq ($(GUIBASE),unx)
ifeq ($(GUIBASE),unx)
...
@@ -62,8 +62,8 @@ $(eval $(call gb_Module_add_targets,vcl,\
...
@@ -62,8 +62,8 @@ $(eval $(call gb_Module_add_targets,vcl,\
endif
endif
ifneq ($(ENABLE_KDE4),)
ifneq ($(ENABLE_KDE4),)
$(eval $(call gb_Module_add_targets,vcl,\
$(eval $(call gb_Module_add_targets,vcl,\
CustomTarget_kde4_moc \
Library_vclplug_kde4 \
Library_vclplug_kde4 \
Package_kde4moc \
))
))
endif
endif
endif
endif
...
...
vcl/Package_afmhash.mk
deleted
100644 → 0
Dosyayı görüntüle @
afd5eb1f
# -*- 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. 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.
#
# The Initial Developer of the Original Code is
# Bjoern Michaelsen <bjoern.michaelsen@canonical.com> (Canonical Ltd.)
# Portions created by the Initial Developer are Copyright (C) 2011 the
# Initial Developer. All Rights Reserved.
#
# Contributor(s): Jan Holesovsky <kendy@suse.cz>
#
# 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,vcl_afmhash,$(WORKDIR)/CustomTarget/vcl/generic/fontmanager))
$(eval $(call gb_Package_add_customtarget,vcl_afmhash,vcl/generic/fontmanager))
# vim: set noet sw=4 ts=4:
vcl/Package_kde4moc.mk
deleted
100644 → 0
Dosyayı görüntüle @
afd5eb1f
# -*- 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) 2011 Red Hat, Inc., Caolán McNamara <caolanm@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,vcl_kde4moc,$(WORKDIR)/CustomTarget/vcl/unx/kde4))
$(eval $(call gb_Package_add_customtarget,vcl_kde4moc,vcl/unx/kde4))
# vim: set noet sw=4 ts=4:
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