File: Makefile.am

package info (click to toggle)
smp-utils 0.99-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 2,744 kB
  • sloc: ansic: 18,155; sh: 5,615; makefile: 130
file content (58 lines) | stat: -rw-r--r-- 915 bytes parent folder | download
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58

if OS_LINUX

libsmputils1_la_SOURCES = \
	smp_lib.c \
	smp_lin_bsg.c \
	smp_lin_sel.c \
	smp_mptctl_io.c \
	smp_aac_io.c

EXTRA_libsmputils1_la_SOURCES = \
	smp_dummy.c

endif


if OS_FREEBSD

libsmputils1_la_SOURCES = \
	smp_lib.c \
	smp_fre_cam.c

EXTRA_libsmputils1_la_SOURCES = \
	smp_dummy.c

endif


if OS_SOLARIS

libsmputils1_la_SOURCES = \
	smp_lib.c \
	smp_sol_usmp.c

EXTRA_libsmputils1_la_SOURCES = \
	smp_dummy.c

endif


# for testing with various compilers
## CC = gcc
## CC = g++
## CC = clang
## CC = clang++

# -std=<s> can be c99, c11, gnu11, etc. Default is gnu89 (gnu90 is the same)
AM_CPPFLAGS = -iquote ${top_srcdir}/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
AM_CFLAGS = -Wall -W
## AM_CFLAGS = -Wall -W -pedantic -std=c11
## AM_CFLAGS = -Wall -W -pedantic -std=c++14

lib_LTLIBRARIES = libsmputils1.la

libsmputils1_la_LDFLAGS = -version-info 1:0:0

## libsmputils1_la_LIBADD =