Changeset 23106 in vbox
- Timestamp:
- Sep 17, 2009 4:19:23 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debian/rules
r22634 r23106 71 71 endif 72 72 73 debcfgs := VBOX_PATH_PACKAGE_DOCS="\"/usr/share/doc/$(verpkg)\""74 75 73 # Locations of custom built Qt libraries (see below) 76 74 qtstdc5 := /home/vbox/Qt-4.4.3-stdc++5-$(arch) 77 75 qtstdc6 := /home/vbox/Qt-4.4.3-stdc++6-$(arch) 76 77 cfg_flags := $(if $(NOQT),--disable-qt,) \ 78 $(if $(ose),--ose,) $(if $(LINUX),--with-linux=$(LINUX),) \ 79 $(if $(filter _Ubuntu_dapper,$(debrel)),--with-gcc=gcc-3.4 --with-g++=g++-3.4,) \ 80 $(if $(filter _Ubuntu_gutsy,$(debrel)),--with-gcc=gcc-4.2 --with-g++=g++-4.2,) \ 81 $(if $(filter _xandros4.1 _ucs1.3 _Debian_sarge _Ubuntu_dapper,$(debrel)),--build-libxml2,) \ 82 $(if $(filter _xandros4.1 _ucs1.3 _Debian_sarge _Ubuntu_dapper,$(debrel)),--build-libxslt,) \ 83 $(if $(filter _Debian_etch,$(debrel)),$(if $(ose),,--build-libcurl),) \ 84 $(if $(filter _Debian_sarge _xandros4.1 _ucs1.3,$(debrel)),--with-qt4-dir=$(qtstdc5)) \ 85 $(if $(filter _Debian_etch _Ubuntu_dapper _Ubuntu_edgy _Ubuntu_feisty,$(debrel)),--with-qt4-dir=$(qtstdc6)) \ 86 $(if $(filter _xandros4.1 _ucs1.3,$(debrel)),--disable-sdl-ttf,) \ 87 $(if $(filter _Debian_sarge _Ubuntu_dapper _Ubuntu_edgy _xandros4.1 _ucs1.3,$(debrel)),--disable-pulse,) \ 88 $(if $(HEADLESS),--build-headless,) \ 89 $(if $(DEBUG),--build-debug,) \ 90 $(if $(NOWINE),,--setup-wine) \ 91 $(if $(NOWEBSVC),,--enable-webservice) 92 93 bld_flags := AUTOCFG=$(current)/debian/AutoConfig.kmk \ 94 LOCALCFG=$(current)/debian/LocalConfig.kmk \ 95 PATH_OUT=$(current)/debian/builddir \ 96 VBOX_DO_STRIP= \ 97 VBOX_DO_STRIP_MODULES= \ 98 VBOX_WITH_MULTIVERSION_PYTHON= \ 99 VBOX_PATH_PACKAGE_DOCS="\"/usr/share/doc/$(verpkg)\"" \ 100 $(if $(NODOCS),VBOX_WITH_DOCS= ,)\ 101 $(if $(VERBOSE),--print-directory KBUILD_VERBOSE=2,--no-print-directory) \ 102 $(if $(STAGEDISO),VBOX_WITHOUT_ADDITIONS=1,) \ 103 $(if $(BLEEDING_EDGE),VBOX_BLEEDING_EDGE=$(BLEEDING_EDGE),) \ 104 $(if $(filter _Debian_sarge _xandros4.1 _ucs1.3,$(debrel)),VBOX_LD_as_needed= ,) 78 105 79 106 # Ubuntu dapper: gcc-4.0 does not work with recompiler, use gcc-3.4 instead … … 82 109 debian/configure-stamp: 83 110 dh_testdir 84 cd $(vboxroot) && ./configure --odir=$(current)/debian $(if \ 85 $(NOQT),--disable-qt,) $(if \ 86 $(ose),--ose,) $(if $(LINUX),--with-linux=$(LINUX),) $(if \ 87 $(filter _Ubuntu_dapper,$(debrel)),--with-gcc=gcc-3.4 --with-g++=g++-3.4,) $(if \ 88 $(filter _Ubuntu_gutsy,$(debrel)),--with-gcc=gcc-4.2 --with-g++=g++-4.2,) $(if \ 89 $(filter _xandros4.1 _ucs1.3 _Debian_sarge _Ubuntu_dapper,$(debrel)),--build-libxml2,) $(if \ 90 $(filter _xandros4.1 _ucs1.3 _Debian_sarge _Ubuntu_dapper,$(debrel)),--build-libxslt,) $(if \ 91 $(filter _Debian_etch,$(debrel)),$(if $(ose),,--build-libcurl),) $(if \ 92 $(filter _Debian_sarge _xandros4.1 _ucs1.3,$(debrel)),--with-qt4-dir=$(qtstdc5)) $(if \ 93 $(filter _Debian_etch _Ubuntu_dapper _Ubuntu_edgy _Ubuntu_feisty,$(debrel)),--with-qt4-dir=$(qtstdc6)) $(if \ 94 $(filter _xandros4.1 _ucs1.3,$(debrel)),--disable-sdl-ttf,) $(if \ 95 $(filter _Debian_sarge _Ubuntu_dapper _Ubuntu_edgy _xandros4.1 _ucs1.3,$(debrel)),--disable-pulse,) $(if \ 96 $(HEADLESS),--build-headless,) $(if $(DEBUG),--build-debug,) $(if \ 97 $(NOWINE),,--setup-wine) $(if $(NOWEBSVC),,--enable-webservice) 111 cd $(vboxroot) && ./configure --odir=$(current)/debian $(cfg_flags) 98 112 touch debian/configure-stamp 99 113 … … 101 115 debian/build-stamp $(verfile): 102 116 dh_testdir 103 . debian/env.sh && kmk -C $(vboxroot) $(if \ 104 $(VERBOSE),--print-directory,--no-print-directory) $(if \ 105 $(NOPARALLEL),-j1,) $(if \ 106 $(VERBOSE),KBUILD_VERBOSE=2,) $(if \ 107 $(NODOCS),VBOX_WITH_DOCS= ,)\ 108 $(if $(STAGEDISO),VBOX_WITHOUT_ADDITIONS=1,) \ 109 AUTOCFG=$(current)/debian/AutoConfig.kmk \ 110 LOCALCFG=$(current)/debian/LocalConfig.kmk \ 111 PATH_OUT=$(current)/debian/builddir \ 112 VBOX_DO_STRIP= VBOX_DO_STRIP_MODULES= \ 113 $(if $(BLEEDING_EDGE),VBOX_BLEEDING_EDGE=$(BLEEDING_EDGE),) \ 114 VBOX_WITH_MULTIVERSION_PYTHON= \ 115 $(if $(filter _Debian_sarge _xandros4.1 _ucs1.3,$(debrel)),VBOX_LD_as_needed= ,) \ 116 $(debcfgs) \ 117 all 117 . debian/env.sh && kmk -C $(vboxroot) $(if $(NOPARALLEL),-j1,) $(bld_flags) all 118 118 $(if $(NODOCS),cp $(vboxroot)/prebuild/UserManual*.pdf $(builddir)/bin,) 119 119 $(if $(NODOCS),cp $(vboxroot)/prebuild/VirtualBox*.chm $(builddir)/bin,) 120 120 mkdir -p $(builddir)/bin/additions 121 121 $(if $(STAGEDISO),cp $(STAGEDISO)/VBoxGuestAdditions.iso $(builddir)/bin/additions,) 122 . debian/env.sh && kmk -C $(vboxroot) $(if \ 123 $(VERBOSE),--print-directory,--no-print-directory) $(if \ 124 $(VERBOSE),KBUILD_VERBOSE=2,) $(if \ 125 $(STAGEDISO),VBOX_WITHOUT_ADDITIONS=1,) \ 126 AUTOCFG=$(current)/debian/AutoConfig.kmk \ 127 LOCALCFG=$(current)/debian/LocalConfig.kmk \ 128 PATH_OUT=$(current)/debian/builddir \ 129 VBOX_DO_STRIP= VBOX_DO_STRIP_MODULES= \ 130 $(if $(BLEEDING_EDGE),VBOX_BLEEDING_EDGE=$(BLEEDING_EDGE),) \ 131 VBOX_WITH_MULTIVERSION_PYTHON= \ 132 $(if $(filter _Debian_sarge _xandros4.1 _ucs1.3,$(debrel)),VBOX_LD_as_needed= ,) \ 133 VBOX_NO_LINUX_RUN_INSTALLER=1 $(if $(NODOCS),VBOX_WITH_DOCS= ,) \ 122 . debian/env.sh && kmk -C $(vboxroot) \ 123 $(bld_flags) \ 124 VBOX_NO_LINUX_RUN_INSTALLER=1 \ 134 125 VBOX_PATH_ADDITIONS.linux.x86=$(builddir)/bin/additions \ 135 $(debcfgs) \136 126 packing 137 127 touch debian/build-stamp … … 276 266 dh_link 277 267 ifeq ($(DEBUG),) 278 dh_strip --keep-debug --exclude=libQtCoreVBox.so.4 --exclude=libQtGuiVBox.so.4 --exclude=libQtNetworkVBox.so.4 --exclude=lib qtaccessiblewidgets.so268 dh_strip --keep-debug --exclude=libQtCoreVBox.so.4 --exclude=libQtGuiVBox.so.4 --exclude=libQtNetworkVBox.so.4 --exclude=libQtOpenGLVBox.so.4 --exclude=libqtaccessiblewidgets.so 279 269 # manually strip our R0/GC modules, dh_strip cannot handle them 280 270 for f in \
Note:
See TracChangeset
for help on using the changeset viewer.