X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile.am;h=57631c1d8ec198d34f6e90ced91fcd9a925a83b7;hb=8be92dd19ceecb0ab54f36cc69d5f3845ba29844;hp=444eaf5e08b37cd753db4b68d5efb0af4337de55;hpb=23748216d35bc40c36bc5dd35199fd37f3d3152b;p=mirror_lxcfs.git diff --git a/Makefile.am b/Makefile.am index 444eaf5..57631c1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,18 +11,18 @@ AM_LDFLAGS = $(FUSE_LIBS) -pthread AM_CFLAGS += -DRUNTIME_PATH=\"$(RUNTIME_PATH)\" -liblxcfs_la_SOURCES = bindings.c cpuset.c bindings.h +liblxcfs_la_SOURCES = macro.h bindings.c cpuset.c bindings.h liblxcfs_la_CFLAGS = $(AM_CFLAGS) -liblxcfs_la_LDFLAGS = $(AM_CFLAGS) -module -shared +liblxcfs_la_LDFLAGS = $(AM_CFLAGS) -module -avoid-version -shared -liblxcfstest_la_SOURCES = bindings.c cpuset.c bindings.h +liblxcfstest_la_SOURCES = bindings.c cpuset.c bindings.h macro.h liblxcfstest_la_CFLAGS = $(AM_CFLAGS) -DRELOADTEST -liblxcfstest_la_LDFLAGS = $(AM_CFLAGS) -module -shared +liblxcfstest_la_LDFLAGS = $(AM_CFLAGS) -module -avoid-version -shared -noinst_HEADERS = bindings.h +noinst_HEADERS = bindings.h macro.h sodir=$(libdir) -lib_LTLIBRARIES = liblxcfs.la +lxcfs_LTLIBRARIES = liblxcfs.la EXTRA_LTLIBRARIES = liblxcfstest.la lxcfs_SOURCES = lxcfs.c @@ -48,22 +48,6 @@ TEST_CPUSET: tests/cpusetrange.c cpuset.c TEST_SYSCALLS: tests/test_syscalls.c $(CC) -o tests/test_syscalls tests/test_syscalls.c -if HAVE_PAM -pam_LTLIBRARIES = pam_cgfs.la -pam_cgfs_la_SOURCES = pam/pam_cgfs.c -pam_cgfs_la_CFLAGS = $(AM_CFLAGS) -pam_cgfs_la_LIBADD = $(AM_LIBS) $(PAM_LIBS) -L$(top_srcdir) -pam_cgfs_la_LDFLAGS = $(AM_LDFLAGS) -module -avoid-version -shared -#pam_cgfs_la_CFLAGS += -DDEBUG - -install-data-hook: install-pamLTLIBRARIES - rm -f "$(DESTDIR)$(pamdir)/pam_cgfs.la" - rm -f "$(DESTDIR)$(pamdir)/pam_cgfs.a" -uninstall-local: - rm -f "$(DESTDIR)$(pamdir)/pam_cgfs.so" -endif - - tests: TEST_READ TEST_CPUSET TEST_SYSCALLS distclean: