Makefile.am 1.64 KB
nobase_include_HEADERS = scot/cmdla.h \
						scot/list.h scot/list_impl.h scot/list_proto.h \
						scot/list_man.h scot/list_mod.h scot/list_nav.h \
						scot/list_type_proto.h scot/list_func_proto.h \
						scot/stack.h scot/stack_impl.h scot/stack_proto.h \
						scot/stack_type_proto.h scot/stack_func_proto.h \
						scot/queue.h scot/queue_impl.h scot/queue_proto.h \
						scot/queue_type_proto.h scot/queue_func_proto.h \
						scot/exception.h scot/exception_t.h scot/excenv_t.h \
						scot/thread.h scot/memory.h scot/dir.h scot/dir_common.h \
						scot/scot_exceptions.h scot/scot_types.h \
						scot/socket.h scot/socket_in.h \
						scot/event.h scot/event_listener.h \
						scot/fs_watcher.h \
						scot/stream.h scot/stream_pool.h

BUILT_SOURCES = scot/thread.h scot/memory.h scot/dir.h
CLEANFILES    = scot/thread.h scot/memory.h scot/dir.h

if PTHREAD
scot/thread.h: Makefile scot/posix/thread.h
	cp scot/posix/thread.h scot/thread.h
else
scot/thread.h: Makefile scot/win32/thread.h
	cp scot/win32/thread.h scot/thread.h
endif

if WIN32
nobase_include_HEADERS += scot/stream_win.h

scot/scot_types.h: Makefile scot/win32/scot_types.h
	cp scot/win32/scot_types.h scot/scot_types.h
scot/memory.h: Makefile scot/win32/memory.h
	cp scot/win32/memory.h scot/memory.h
scot/dir.h: Makefile scot/win32/dir.h
	cp scot/win32/dir.h scot/dir.h
else
nobase_include_HEADERS += scot/socket_un.h scot/inotify.h

scot/scot_types.h: Makefile scot/posix/scot_types.h
	cp scot/posix/scot_types.h scot/scot_types.h
scot/memory.h: Makefile scot/posix/memory.h
	cp scot/posix/memory.h scot/memory.h
scot/dir.h: Makefile scot/posix/dir.h
	cp scot/posix/dir.h scot/dir.h
endif