weg
This commit is contained in:
parent
02471ec932
commit
e88d6c7403
@ -1,42 +0,0 @@
|
|||||||
include ./rules.mk
|
|
||||||
|
|
||||||
all: smmapd/smmapd
|
|
||||||
|
|
||||||
smmapd/smmapd: libsmmapdfw/libsmmapdfw.a
|
|
||||||
cd smmapd && $(MAKE)
|
|
||||||
|
|
||||||
libsmmapdfw/libsmmapdfw.a:
|
|
||||||
cd libsmmapdfw && $(MAKE)
|
|
||||||
|
|
||||||
|
|
||||||
.c.o:
|
|
||||||
$(CC) $(CFLAGS) -c $<
|
|
||||||
|
|
||||||
install: all
|
|
||||||
$(INSTALL) -d -g $(GROUP) -o $(OWNER) -m 0755 $(PREFIX) $(PREFIX)/bin $(PREFIX)/lib $(PREFIX)/include $(PREFIX)/etc $(PREFIX)/doc
|
|
||||||
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 0644 include/*.h $(PREFIX)/include
|
|
||||||
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 0644 etc/smmapd.ini $(PREFIX)/etc
|
|
||||||
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 0755 smmapd $(PREFIX)/bin
|
|
||||||
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 0644 $(PLUGINS) $(PREFIX)/lib
|
|
||||||
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 0644 libsmmapdfw.a $(PREFIX)/lib
|
|
||||||
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 0644 doc/README $(PREFIX)/doc
|
|
||||||
|
|
||||||
|
|
||||||
clean:
|
|
||||||
-rm -f *.o *.so *.a smmapd
|
|
||||||
cd libsmmapdfw && $(MAKE) clean
|
|
||||||
cd smmapd && $(MAKE) clean
|
|
||||||
|
|
||||||
distclean: clean
|
|
||||||
-rm Makefile
|
|
||||||
-rm -r smmapd-$(RELEASE_ID)
|
|
||||||
-rm smmapd-$(RELEASE_ID).tar.gz
|
|
||||||
cd smmapd && $(MAKE) distclean
|
|
||||||
|
|
||||||
tar:
|
|
||||||
mkdir smmapd-$(RELEASE_ID) && \
|
|
||||||
cp *.c *.h *.m4 smmapd.ini Makefile README smmapd-$(RELEASE_ID) && \
|
|
||||||
chmod u+w smmapd-$(RELEASE_ID)/* && \
|
|
||||||
tar -czf smmapd-$(RELEASE_ID).tar.gz smmapd-$(RELEASE_ID)
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user