mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-11 19:00:02 +01:00
Use non-recursive automake.
This change also causes that now binaries and libraries are placed in build root directory. Now we can use subdir-objects for automake.
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
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 $(PYTHON_LIBS)
|
||||
else
|
||||
all:
|
||||
endif
|
||||
13
python/Makemodule.am
Normal file
13
python/Makemodule.am
Normal file
@@ -0,0 +1,13 @@
|
||||
EXTRA_DIST += python/pycryptsetup-test.py
|
||||
CLEANFILES += python/*.img
|
||||
|
||||
if PYTHON_CRYPTSETUP
|
||||
TESTS += python/pycryptsetup-test.py
|
||||
|
||||
pyexec_LTLIBRARIES = pycryptsetup.la
|
||||
|
||||
pycryptsetup_la_SOURCES = python/pycryptsetup.c
|
||||
pycryptsetup_la_CPPFLAGS = $(AM_CPPFLAGS) $(PYTHON_CPPFLAGS) $(PYTHON_INCLUDES) -fno-strict-aliasing
|
||||
pycryptsetup_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
|
||||
pycryptsetup_la_LIBADD = libcryptsetup.la $(PYTHON_LIBS)
|
||||
endif
|
||||
Reference in New Issue
Block a user