-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
43 lines (35 loc) · 954 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
## Process this file with automake to generate Makefile.in
AUTOMAKE_OPTIONS = foreign nostdinc
ACLOCAL_AMFLAGS = -I m4
AM_CPPFLAGS = -I. -I$(top_srcdir)
AM_LD = $(CC)
VERSION_INFO = -version-info $(SONAME_CURRENT):$(SONAME_REVISION):$(SONAME_AGE)
if DEBUG
DEBUG_CFLAGS = -DDEBUG
endif
AM_CFLAGS = -Wall $(DEBUG_CFLAGS)
bin_PROGRAMS =
lib_LTLIBRARIES =
lib_LIBRARIES =
nobase_include_HEADERS =
EXTRA_DIST = \
faux/Makefile.am \
utils/Makefile.am \
testc/Makefile.am
include $(top_srcdir)/faux/Makefile.am
include $(top_srcdir)/utils/Makefile.am
include $(top_srcdir)/testc/Makefile.am
define CONTROL
PACKAGE: faux
Version: $(PACKAGE_VERSION)
Architecture: amd64
Maintainer: pkun
Description: Various auxiliary functions
Homepage: https://src.libcode.org/pkun/faux
endef
export CONTROL
pkg: all
mkdir -p pkg/DEBIAN
echo "$$CONTROL" > pkg/DEBIAN/control
DESTDIR=$(shell pwd)/pkg make install
dpkg-deb --build pkg/ faux_$(PACKAGE_VERSION).deb