diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-06 18:04:32 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-06 18:04:32 +0200 |
commit | a7f89980e5b3f4b9a74c70dbc5ffe8aabd28be28 (patch) | |
tree | 41c4deec1fdfbafd7821b4ca7a9772ac0abd92f5 /lib/lanplus/Makefile.am |
Imported Upstream version 2.9.3upstream/2.9.3
Diffstat (limited to 'lib/lanplus/Makefile.am')
-rw-r--r-- | lib/lanplus/Makefile.am | 55 |
1 files changed, 55 insertions, 0 deletions
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 $@ $< + |