endif
if WITH_LUSTRE_HACK
-OPTIONAL_LUSTRE_SRCDIR_SRCS = $(LUSTRE_SRCDIR_SRCS)
# it would be better that let configure script check this
-AM_CFLAGS = -fPIC
-else
-OPTIONAL_LUSTRE_SRCDIR_SRCS =
+OPTIONAL_LUSTRE_CFLAGS = -fPIC
endif
+AM_CFLAGS = $(OPTIONAL_LUSTRE_CFLAGS)
+
__LIBBUILD_DIR__libsysio_a_SOURCES = \
$(SRCDIR_SRCS) \
- $(OPTIONAL_LUSTRE_SRCDIR_SRCS) \
$(OPTIONAL_STDFD_SRCS) \
$(OPTIONAL_INCORE_SRCS) \
$(OPTIONAL_SOCKETS_SRCS) \