XCOMM Xoids Imakefile XCOMM Contributed by John Kilburg XCOMM XCOMM XPM setup XPM_INC_FLAGS = -I/usr/local/xpm/include XPM_LIB_FLAGS = -L/usr/local/xpm/lib -lXpm MANSUFFIX = 6 XCOMM You shouldn't have to change anything below unless you need to XCOMM add a new architecture. #define MyNull OS_C_FLAGS = OS_LIB_FLAGS = OS_DEFINES = XCOMM This seems to do the right thing on Solaris 1.x. What about 2.x? #if defined(SunArchitecture) #endif #if defined(AlphaArchitecture) && !defined(FreeBSDArchitecture) OS_LIB_FLAGS = -lbsd #endif #if defined(FreeBSDArchitecture) XPM_INC_FLAGS = -I$(INCROOT)/X11 XPM_LIB_FLAGS = -lXpm #endif SRCS = init.c oids.c oids_x.c OBJS = init.o oids.o oids_x.o INCLUDES = $(XPM_INC_FLAGS) DEFINES = $(OS_DEFINES) EXTRA_LIBRARIES = $(XPM_LIB_FLAGS) -lX11 -lm $(OS_LIB_FLAGS) ComplexProgramTarget(xoids) XCOMM End of Imakefile