1 2PACKAGE_NAME = gworkspace 3include $(GNUSTEP_MAKEFILES)/common.make 4 5# The application to be compiled 6TOOL_NAME = fswatcher 7 8# The Objective-C source files to be compiled 9 10WITH_INOTIFY=@with_inotify@ 11WITH_FAM=@with_fam@ 12 13ifeq ($(WITH_INOTIFY),yes) 14 fswatcher_OBJC_FILES = fswatcher-inotify.m 15else 16 ifeq ($(WITH_FAM),yes) 17 fswatcher_OBJC_FILES = fswatcher-fam.m 18 else 19 fswatcher_OBJC_FILES = fswatcher.m 20 endif 21endif 22 23fswatcher_TOOL_LIBS += -lDBKit 24 25# The Resource files to be copied into the app's resources directory 26 27-include GNUmakefile.preamble 28 29-include GNUmakefile.local 30 31include $(GNUSTEP_MAKEFILES)/tool.make 32 33-include GNUmakefile.postamble 34 35