rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | package_arch = $(subst -,_,${PACKAGE_ARCH}) |
| 2 | |
| 3 | all: |
| 4 | |
| 5 | install: |
| 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 | |
| 15 | uninstall: |
| 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 | |
| 20 | clean: |
| 21 | $(warning "aee make clean") |