-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: temporary revert to autotools (#174)
As long as cmake doesn't generate suitable deb packages, we need to switch back :(
- Loading branch information
1 parent
f498cf1
commit c1d4692
Showing
22 changed files
with
399 additions
and
504 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.