import of www.freescada.com/public-dist/libmbus-0.7.0.tar.gz

This commit is contained in:
James Michael DuPont
2012-02-16 15:46:48 +01:00
commit 19135a6bc1
89 changed files with 85783 additions and 0 deletions

25
Makefile-static Normal file
View File

@ -0,0 +1,25 @@
# Copyright (c) 2010
# Robert Johansson
# Raditex AB.
# All rights reserved.
LIB = libmbus.so
CFLAGS = -Wall -W -g -fPIC -I.
HEADERS = mbus.h mbus-protocol.h
OBJS = mbus.o mbus-protocol.o
$(LIB): $(OBJS)
gcc -shared -o $(LIB) $(OBJS)
all: $(LIB)
clean:
rm -rf *.o *core core $(LIB)
test:
(cd test && make)
install: all
cp $(LIB) /usr/local/freescada/lib
cp $(HEADERS) /usr/local/freescada/include