/conf.mk (df91d12490f6a3b0a25b41945fe8820fc4ce292e) (2017 bytes) (mode 100644) (type blob)

#*******************************************************************************
#this code is protected by the GNU affero GPLv3
#author:Sylvain BERTRAND <sylvain.bertrand AT gmail dot com>
#                        <digital.ragnarok AT gmail dot com>
#*******************************************************************************

#*******************************************************************************
#build configuration
export
DEBUG?=
SYSROOT?=

BUILD_DIR?=build
BIN_DIR?=$(BUILD_DIR)/bin
LIB_DIR?=$(BUILD_DIR)/lib
OBJ_DIR?=$(BUILD_DIR)/obj
S_DIR?=$(BUILD_DIR)/s
CPP_DIR?=$(BUILD_DIR)/cpp
DEVEL_DIR?=$(BUILD_DIR)/devel
MAN_DIR?=$(BUILD_DIR)/man

LD:=gcc
CC:=gcc
CPP:=cpp
AS:=as
PKG_CONFIG:=pkg-config
XSLTPROC:=xsltproc

ifndef DEBUG
CPPFLAGS?=-D_GNU_SOURCE -Wall -Wextra -I./ -I./src
CFLAGS?=-Wall -Wextra -Ofast -march=native
CFLAGS+= -fverbose-asm -S
LDFLAGS?=-Wl,-O,10
ASFLAGS?=
else
CPPFLAGS?=-D_GNU_SOURCE -Wall -Wextra -I./ -I./src
CFLAGS?=-Wall -Wextra -std=gnu99 -ggdb3 -march=native
CFLAGS+= -fverbose-asm -S
ASFLAGS?=
endif
#*******************************************************************************

#*******************************************************************************
#software configuration
PREFIX?=/usr/local
INCLUDEDIR?=$(PREFIX)/include
#want the followinc at root
EXECPREFIX?=/
LIBDIR?=/lib
SYSCONFDIR?=/etc
PKGLIBEXECDIR?=/lib/udev
FIRMWARE_PATH?=/lib/firmware
USB_DATABASE?=$(shell $(PKG_CONFIG) --variable=usbids usbutils)
PCI_DATABASE?=$(shell $(PKG_CONFIG) --variable=idsdir libpci)/pci.ids

CPPFLAGS+= -DSYSCONFDIR=\"$(SYSCONFDIR)\" -DPKGLIBEXECDIR=\"$(PKGLIBEXECDIR)\"
CPPFLAGS+= -DFIRMWARE_PATH=\"$(FIRMWARE_PATH)\"
CPPFLAGS+= -DUSB_DATABASE=\"$(USB_DATABASE)\" -DPCI_DATABASE=\"$(PCI_DATABASE)\"

#udevd, version is used by other software components, must be consistent
VERSION=189
CPPFLAGS+= -DVERSION=\"$(VERSION)\"

#libudev
LIBUDEV_API=0
LIBUDEV_VERSION=$(LIBUDEV_API).0.0
#*******************************************************************************


Mode Type Size Ref File
100644 blob 18092 d159169d1050894d3ea3b98e1c965c4058208fe1 COPYING-GPL
100644 blob 26525 d2e31278b0ee6fef16025fe44061062ad9acece4 COPYING-LGPL
100644 blob 4842 d0ce16673526826182f44ffde1ed723f9c9f9072 README
100644 blob 427 7d05661a7cb77ae79477e41fe5ff26589fe0a4d0 TODO
100644 blob 2017 df91d12490f6a3b0a25b41945fe8820fc4ce292e conf.mk
040000 tree - 916d6938a66b1a3a6679423359f29749fe1288e0 gentoo
100644 blob 16282 a20087cf7071a8b9335ea30d83799f2eaac42179 makefile
040000 tree - c7b382ac2beaddf8c1dc273edbc69682ae47f54e rules
040000 tree - 2bfc58e0bf9d61059107f9f39a6758a1fed71b67 src
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/sylware/mudev

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/sylware/mudev

Clone this repository using git:
git clone git://git.rocketgit.com/user/sylware/mudev

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main