From a7f89980e5b3f4b9a74c70dbc5ffe8aabd28be28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 6 Jul 2014 18:04:32 +0200 Subject: Imported Upstream version 2.9.3 --- lib/lanplus/Makefile.am | 55 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 lib/lanplus/Makefile.am (limited to 'lib/lanplus/Makefile.am') diff --git a/lib/lanplus/Makefile.am b/lib/lanplus/Makefile.am new file mode 100644 index 0000000..c5394b1 --- /dev/null +++ b/lib/lanplus/Makefile.am @@ -0,0 +1,55 @@ +# Makefile.am for libipmi_lanplus.so and libipmi_lanplus.a + +ODIR = obj +CFLAGS_STATIC = @OS_CFLAGS@ -DSTATIC -fno-strict-aliasing -fPIC $(CFLAGS) +AM_CFLAGS = @OS_CFLAGS@ -fPIC @LANPLUS_CFLAGS@ + +MAINTAINERCLEANFILES = Makefile.in + +INCLUDES = -I. -I./inc + +lanplus_liba = libipmi_lanplus.a + +noinst_LIBRARIES = $(lanplus_liba) + +libipmi_lanplus_a_SOURCES = lanplus.c lanplus.h rmcp.h asf.h \ + lanplus_dump.c lanplus_dump.h \ + lanplus_crypt.c lanplus_crypt.h \ + lanplus_crypt_impl.c lanplus_crypt_impl.h \ + lanplus_strings.c \ + helper.c ipmi_strings.c + +lib_LTLIBRARIES = +# lib_LTLIBRARIES = libipmi_lanplus.la + +# libipmi_lanplus_la_LIBADD = -lcrypto + +# libipmi_lanplus_la_SOURCES = lanplus.c lanplus.h rmcp.h asf.h \ +# lanplus_dump.c lanplus_dump.h \ +# lanplus_crypt.c lanplus_crypt.h \ +# lanplus_crypt_impl.c lanplus_crypt_impl.h \ +# lanplus_strings.c \ +# helper.c ipmi_strings.c + + +#am_libipmi_lanplus_a_OBJECTS = $(ODIR)/lanplus.o $(ODIR)/lanplus_strings.o \ +# $(ODIR)/lanplus_crypt.o $(ODIR)/lanplus_crypt_impl.o \ +# $(ODIR)/lanplus_dump.o \ +# $(ODIR)/helper.o $(ODIR)/ipmi_strings.o + +clean-generic: + rm -rf $(ODIR) + rm -f $(lanplus_liba) $(lib_LTLIBRARIES) *.o *.so + +clean: clean-generic + +#$(lanplus_liba): $(am_libipmi_lanplus_a_OBJECTS) +# $(AR) cru $(lanplus_liba) $(am_libipmi_lanplus_a_OBJECTS) +# $(RANLIB) $(lanplus_liba) + +#$(ODIR): +# mkdir -p $(ODIR) + +#$(ODIR)/%.o: %.c $(ODIR) +# $(CC) -c $(CFLAGS_STATIC) $(INCLUDES) -o $@ $< + -- cgit v1.2.3