python: Fixed dependencies for python sqlite3 module
[omd.git] / Makefile.omd
blob4cb3625543527fb2dec20a634aed681f506ca21c
1 # General settings included by all packages
3 OMD_VERSION        = 1.30
4 OMD_SERIAL         = 35
5 OMD_BASE           = /omd
6 OMD_PHYSICAL_BASE  = /opt/omd
7 OMD_ROOT           = $(OMD_BASE)/versions/$(OMD_VERSION)
9 PERL               = /usr/bin/perl
10 P5TMPDIST          = $(shell pwd)/../perl-modules/dist
12 # Determine the distro we are running on and its version. Nasty here:
13 # We do not known wether we are called from the main Makefile or
14 # from a package Makefile. There we do not know the path to the
15 # 'distro' script. We simply try out both paths...
17 DISTRO_INFO        = $(shell ./distro 2>/dev/null || ../../distro)
18 DISTRO_NAME        = $(word 1, $(DISTRO_INFO))
19 DISTRO_VERSION     = $(word 2, $(DISTRO_INFO))
21 # Depending on the distro we include a Makefile with distro-
22 # specific variables. Here the same problem appears again.
23 # Maybe anyone has a simpler solution?
25 -include distros/Makefile.$(DISTRO_NAME)_$(DISTRO_VERSION)
26 ifeq ($(OS_PACKAGES),)
27   include ../../distros/Makefile.$(DISTRO_NAME)_$(DISTRO_VERSION)
28 endif
30 # Net result -> all Makefiles have now access to the linux distribution
31 # specific settings