Skip to content
Snippets Groups Projects
Commit 72d309e1 authored by Mark Grondona's avatar Mark Grondona
Browse files

o put qsw.c in EXTRA*SOURCES to get included in a dist

 o keep qsw.h in HEADERS always
parent 1fda21c8
No related branches found
No related tags found
No related merge requests found
# Makefile for common library # Makefile for common library
AUTOMAKE_OPTIONS = foreign
# #
if DEBUG_MODULES if DEBUG_MODULES
test_modules = bits_bytes bitstring test_modules = bits_bytes bitstring
...@@ -9,21 +11,17 @@ endif ...@@ -9,21 +11,17 @@ endif
if WITH_ELAN if WITH_ELAN
elan_sources = qsw.c elan_sources = qsw.c
elan_headers = qsw.h
else else
elan_sources = elan_sources =
elan_headers =
endif endif
AUTOMAKE_OPTIONS = foreign noinst_LIBRARIES = libcommon.a
noinst_LIBRARIES = libcommon.a
libcommon_a_SOURCES = xmalloc.c \ libcommon_a_SOURCES = xmalloc.c \
xassert.c \ xassert.c \
xstring.c \ xstring.c \
strlcpy.c \ strlcpy.c \
list.c \ list.c \
log.c \ log.c \
bits_bytes.c \ bits_bytes.c \
bitstring.c \ bitstring.c \
...@@ -33,6 +31,7 @@ libcommon_a_SOURCES = xmalloc.c \ ...@@ -33,6 +31,7 @@ libcommon_a_SOURCES = xmalloc.c \
noinst_HEADERS = xmalloc.h \ noinst_HEADERS = xmalloc.h \
xassert.h \ xassert.h \
xstring.h \ xstring.h \
macros.h \
list.h \ list.h \
log.h \ log.h \
strlcpy.h \ strlcpy.h \
...@@ -40,7 +39,10 @@ noinst_HEADERS = xmalloc.h \ ...@@ -40,7 +39,10 @@ noinst_HEADERS = xmalloc.h \
slurmlib.h \ slurmlib.h \
bitstring.h \ bitstring.h \
pack.h \ pack.h \
$(elan_headers) qsw.h
EXTRA_libcommon_a_SOURCES = \
qsw.c
# target specific CFLAGS do not work until automake 1.5, use explicit rules # target specific CFLAGS do not work until automake 1.5, use explicit rules
# for now. If we ever move to 1.5, the CFLAGS defs below should work in # for now. If we ever move to 1.5, the CFLAGS defs below should work in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment