Mon, 14 Jan 2019 22:46:27 +0100
Removed useless version marks from the xml configuration. Added DCMD profile configuration to install and delete profiles in a fermenter. Removed the old profiles configuration. Removed useless xml configuration error check because none has been triggered in five years, Removed several obsolete upgrade functions. Updated the web liveview.
551
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
1 | # Makefile for the mbsePi-apps/thermferm. |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
2 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
3 | include ../Makefile.global |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
4 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
5 | #SRCS = $(wildcard *.c) |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
6 | #HDRS = $(wildcard *.h) |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
7 | #OBJS = $(SRCS:.c=.o) |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
8 | #SLIBS = -lpthread |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
9 | #TARGET = thermferm |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
10 | OTHER = Makefile thermferm.init |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
11 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
12 | ############################################################################# |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
13 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
14 | .c.o: |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
15 | ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
16 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
17 | all: |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
18 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
19 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
20 | clean: |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
21 | rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
22 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
23 | install: |
559 | 24 | ${INSTALL} -c -g root -o root -m 0755 thermferm.init /etc/init.d/thermferm |
25 | [ -x /bin/systemctl ] && /bin/systemctl daemon-reload | |
551
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
26 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
27 | filelist: Makefile |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
28 | BASE=`pwd`; \ |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
29 | BASE=`basename $${BASE}`; \ |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
30 | (for f in ${SRCS} ${HDRS} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
31 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
32 | depend: |