blob: 43444eb693bfa74dc656bce1b31819f8a418c596 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001package_arch = $(subst -,_,${PACKAGE_ARCH})
2
3all:
4
5install:
6 find -name "*.$(package_arch).rpm" | while read i; do echo $${i}; ${bindir}/rpm2cpio $${i} | cpio -idmv ; done
7
8 install -d $(DESTDIR)/usr/bin/
9 install -m 0755 usr/bin/aee_aed $(DESTDIR)/usr/bin
10 install -m 0755 usr/bin/aee_core_forwarder $(DESTDIR)/usr/bin
11
12 install -d $(DESTDIR)/usr/lib/
13 install -m 0755 usr/lib/libaed.so $(DESTDIR)/usr/lib
14
15uninstall:
16 rm -f $(DESTDIR)/usr/bin/aee_aed
17 rm -f $(DESTDIR)/usr/bin/aee_core_forwarder
18 rm -f $(DESTDIR)/usr/lib/libaed.so
19
20clean:
21 $(warning "aee make clean")