| 1 |
SUBDIRS = src modules |
|---|
| 2 |
EXTRA_SUBDIRS = zlib |
|---|
| 3 |
ACLOCAL_AMFLAGS = -I m4 |
|---|
| 4 |
TEST_CPP = $(shell find tests -iname '*.cpp') |
|---|
| 5 |
TEST_H = $(shell find tests -iname '*.h') |
|---|
| 6 |
TEST_MAKEIN = $(shell find tests -iname 'Makefile.in') |
|---|
| 7 |
TEST_MAKEAM = $(shell find tests -iname 'Makefile.am') |
|---|
| 8 |
TEST_MAKE = tests/Makefile.am \ |
|---|
| 9 |
tests/test-config/Makefile tests/test-dynload/Makefile \ |
|---|
| 10 |
tests/test-event/Makefile tests/test-files/Makefile \ |
|---|
| 11 |
tests/test-log/Makefile tests/test-metadata/Makefile \ |
|---|
| 12 |
tests/test-object/Makefile tests/test-sockets/Makefile \ |
|---|
| 13 |
tests/test-ssocket/Makefile tests/test-utils/Makefile \ |
|---|
| 14 |
$(TEST_MAKEIN) $(TEST_MAKEAM) |
|---|
| 15 |
|
|---|
| 16 |
EXTRA_DIST = hydranode-.sln core.vcproj hydranode.kateproject utils/hnanalyze.pl \ |
|---|
| 17 |
utils/index.html tests/Makefile.am $(TEST_CPP) $(TEST_H) $(TEST_MAKE) \ |
|---|
| 18 |
zlib hydranode.spec mklnk.sh |
|---|
| 19 |
all-am: |
|---|
| 20 |
@echo Creating symbolic links at top dir |
|---|
| 21 |
@-./mklnk.sh |
|---|
| 22 |
clean-am: |
|---|
| 23 |
rm -f ./hydranode ./libed2k.so ./libhnsh.so ./libminimal.so |
|---|
| 24 |
maintainer-clean-am: |
|---|
| 25 |
rm -f Makefile.in aclocal.m4 configure config.h.in install-sh missing |
|---|
| 26 |
rm -f depcomp config.h stamp-h1 |
|---|
| 27 |
-find -iname 'Makefile.in' -exec rm -f {} \; |
|---|
| 28 |
-find -iname '.deps' -exec rm -rf {} \; 2> /dev/null |
|---|
| 29 |
rm -f ./hydranode ./libed2k.so ./libhnsh.so ./libminimal.so |
|---|
| 30 |
install-am: |
|---|
| 31 |
-rm -f /usr/local/bin/hydranode |
|---|
| 32 |
-ln -s $(prefix)/bin/hydranode /usr/local/bin/hydranode |
|---|
| 33 |
@echo |
|---|
| 34 |
@echo " Hydranode has been successfully installed to $(prefix)." |
|---|
| 35 |
@echo |
|---|
| 36 |
uninstall-am: |
|---|
| 37 |
-test -d $(prefix)/bin && rmdir $(prefix)/bin |
|---|
| 38 |
-test -d $(prefix)/lib && rmdir $(prefix)/lib |
|---|
| 39 |
-test -d $(prefix)/include/hn/ed2k && rmdir $(prefix)/include/hn/ed2k |
|---|
| 40 |
-test -d $(prefix)/include/hn/hnsh && rmdir $(prefix)/include/hn/hnsh |
|---|
| 41 |
-test -d $(prefix)/include/hn/minimal && rmdir $(prefix)/include/hn/minimal |
|---|
| 42 |
-test -d $(prefix)/include/hn/http && rmdir $(prefix)/include/hn/http |
|---|
| 43 |
-test -d $(prefix)/include/hn/ftp && rmdir $(prefix)/include/hn/ftp |
|---|
| 44 |
-test -d $(prefix)/include/hn/mailnotify && rmdir $(prefix)/include/hn/mailnotify |
|---|
| 45 |
-test -d $(prefix)/include/hn/ && rmdir $(prefix)/include/hn |
|---|
| 46 |
-test -d $(prefix)/include/ && rmdir $(prefix)/include |
|---|
| 47 |
-test -d $(prefix) && rmdir $(prefix) |
|---|
| 48 |
-rm -f /usr/local/bin/hydranode |
|---|
| 49 |
@echo |
|---|
| 50 |
@echo " Hydranode has been uninstalled from your system." |
|---|
| 51 |
@echo |
|---|