X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2FMakefile.am;h=e466cbc28f2b27b9523be634e648ca95b236bfb7;hb=50034dd9abff47b5e81a5d91128fd3cb6ae906d5;hp=62a08cb5aa9c357a832236baa04ffe82c964a912;hpb=7d6a6d6b4ebfaae41b05a4a948a89520420fcd11;p=oweals%2Fgnunet.git diff --git a/src/Makefile.am b/src/Makefile.am index 62a08cb5a..e466cbc28 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,71 +1,135 @@ +# This Makefile.am is in the public domain #if WANT_FRAMEWORK # INTLEMU_SUBDIRS = intlemu #endif -if HAVE_LIBIDN - EXIT = exit - PT = pt -else - EXIT = - PT = +if HAVE_TESTING + TESTING = testing + TESTBED = testbed-logger testbed + ATS_TESTS = ats-tests endif if HAVE_EXPERIMENTAL - EXP_DIR = gns set dv consensus experimentation + EXP_DIR = \ + dv \ + rps +endif + +if HAVE_JSON +if HAVE_MHD + PROVIDER_DIR = identity-provider +endif +endif + +if HAVE_JSON + JSON_DIR = json +if HAVE_LIBGNURL + JSON_DIR += curl +else +if HAVE_LIBCURL + JSON_DIR += curl +endif +endif endif -if LINUX -# All of these currently only work on GNU/Linux - LINUX_DIR = $(EXIT) vpn $(PT) +if BUILD_PULSE_HELPERS +CONVERSATION_DIR = conversation +else +if BUILD_GST_HELPERS +CONVERSATION_DIR = conversation +endif endif -if MINGW - MINGW_DIR = vpn $(EXIT) + +if HAVE_SQLITE + SQLITE_DIR = sq endif if HAVE_MYSQL - MYSQL_DIR = mysql + MYSQL_DIR = mysql my endif -if HAVE_POSTGRES - POSTGRES_DIR = postgres +if HAVE_POSTGRESQL + POSTGRES_DIR = pq postgres endif +if HAVE_MHD + REST_DIR = rest +if HAVE_JSON + JSONAPI_DIR = jsonapi +endif +endif + +if HAVE_JSON + AUCTION_DIR = auction +endif + +if TALER_ONLY +SUBDIRS = \ + include \ + util +else SUBDIRS = \ include $(INTLEMU_SUBDIRS) \ util \ + $(JSON_DIR) \ + $(REST_DIR) \ + $(JSONAPI_DIR) \ hello \ tun \ block \ statistics \ arm \ - testing \ + $(TESTING) \ peerinfo \ + $(SQLITE_DIR) \ $(MYSQL_DIR) \ $(POSTGRES_DIR) \ datacache \ datastore \ - namestore \ template \ ats \ nat \ + nat-auto \ fragmentation \ transport \ ats-tool \ peerinfo-tool \ core \ - testbed \ + $(TESTBED) \ + $(ATS_TESTS) \ nse \ dht \ hostlist \ topology \ regex \ - mesh \ - lockmanager \ - stream \ dns \ + identity \ + gnsrecord \ + namecache \ + namestore \ + peerstore \ + cadet \ + set \ + consensus \ + scalarproduct \ + revocation \ + vpn \ + gns \ + zonemaster \ + $(CONVERSATION_DIR) \ fs \ - $(LINUX_DIR) \ - $(MINGW_DIR) \ + exit \ + pt \ + secretsharing \ integration-tests \ - $(EXP_DIR) + multicast \ + psycutil \ + psycstore \ + psyc \ + social \ + $(AUCTION_DIR) \ + $(EXP_DIR) \ + $(PROVIDER_DIR) + +endif