@@ -113,10 +113,17 @@ OFMutex.m \ OFRecursiveMutex.m \ OFThreadPool.m \ threading.m +INCLUDES_ATOMIC = atomic.h \ + atomic_builtins.h \ + atomic_no_threads.h \ + atomic_osatomic.h \ + atomic_powerpc.h \ + atomic_sync_builtins.h \ + atomic_x86.h INCLUDES := ${SRCS:.m=.h} \ OFCollection.h \ OFCryptoHash.h \ OFJSONRepresentation.h \ OFKeyValueCoding.h \ @@ -124,16 +131,16 @@ OFMessagePackRepresentation.h \ OFSerialization.h \ OFTLSSocket.h \ ObjFW.h \ autorelease.h \ - ${ATOMIC_H} \ block.h \ instance.h \ macros.h \ objfw-defs.h \ - platform.h + platform.h \ + ${USE_INCLUDES_ATOMIC} SRCS += OFArray_adjacent.m \ OFArray_adjacentSubarray.m \ OFCountedSet_hashtable.m \ OFDictionary_hashtable.m \