> The gnustep-make package should also define -D<system> somewhere, to > make system dependent #include/import a bit easier. > (eg, Linux seems to define AF_INET in <netdb.h> while on BSD it's in <sys/socket.h> >...)
I suppose the idea here is that, if you are building on top of gnustep-base, you have no need to access system dependent headers ... gnustep-base itself needs that, and it uses autoconf to manage it. If you need to make system dependent #include/#import, perhaps you might actually need autoconf ... you can add a -D<system> easily yourself - if you need - by adding stuff like ADDITIONAL_CPPFLAGS += -DGNUSTEP_TARGET_CPU=\"$(GNUSTEP_TARGET_CPU)\" or perhaps ADDITIONAL_CPPFLAGS += -D$(GNUSTEP_TARGET_CPU) or maybe ifeq ($(findstring linux, $(GNUSTEP_TARGET_OS)), linux) ADDITIONAL_CPPFLAGS += -Dlinux else ifeq ($(findstring solaris, $(GNUSTEP_TARGET_OS)), solaris) ADDITIONAL_CPPFLAGS += -Dsolaris else ifeq ... fi but I'm not really sure how much useful that would be. (Forgot to thank for the comments :-) - always useful to know what users think.) _______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep
