mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2026-01-09 08:55:31 +01:00
- config.h must always be the first file to be included - Use AM_CFLAGS and AM_LDFLAGS consistently and properly. (Modified to disable build without largefile support etc by Milan Broz <gmazyland@gmail.com>)
17 lines
528 B
Makefile
17 lines
528 B
Makefile
AM_CPPFLAGS = -include $(top_srcdir)/config.h -I$(top_srcdir)/lib $(PYTHON_INCLUDES)
|
|
EXTRA_DIST = pycryptsetup-test.py
|
|
CLEANFILES = *.img
|
|
|
|
if PYTHON_CRYPTSETUP
|
|
TESTS = pycryptsetup-test.py
|
|
|
|
pyexec_LTLIBRARIES = pycryptsetup.la
|
|
|
|
pycryptsetup_la_SOURCES = pycryptsetup.c
|
|
pycryptsetup_la_CPPFLAGS = $(AM_CPPFLAGS) $(PYTHON_CPPFLAGS) -fno-strict-aliasing
|
|
pycryptsetup_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
|
|
pycryptsetup_la_LIBADD = $(top_builddir)/lib/libcryptsetup.la -lpython$(PYTHON_VERSION)
|
|
else
|
|
all:
|
|
endif
|