Skip to content

Commit

Permalink
build: temporary revert to autotools (#174)
Browse files Browse the repository at this point in the history
As long as cmake doesn't generate suitable deb packages, we need to
switch back :(
  • Loading branch information
lategoodbye committed Jul 19, 2020
1 parent f498cf1 commit c1d4692
Show file tree
Hide file tree
Showing 22 changed files with 399 additions and 504 deletions.
296 changes: 0 additions & 296 deletions CMakeLists.txt

This file was deleted.

14 changes: 0 additions & 14 deletions Dockerfile.deb

This file was deleted.

14 changes: 0 additions & 14 deletions Dockerfile.rpm

This file was deleted.

18 changes: 0 additions & 18 deletions Dockerfile.test

This file was deleted.

25 changes: 25 additions & 0 deletions Makefile-static
Original file line number Diff line number Diff line change
@@ -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
20 changes: 20 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
#
#
PACKAGE = @PACKAGE@
VERSION = @VERSION@

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libmbus.pc


docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
dist_docdir = $(DESTDIR)$(docdir)
doc_DATA = README.md \
COPYING \
hardware/MBus_USB.pdf \
hardware/MBus_USB.txt

SUBDIRS = mbus bin
ACLOCAL = aclocal -I .
ACLOCAL_AMFLAGS = -Werror -I m4
Loading

0 comments on commit c1d4692

Please sign in to comment.