1XCOMM Xoids Imakefile 2XCOMM Contributed by John Kilburg 3XCOMM 4XCOMM XPM setup 5 6XPM_INC_FLAGS = -I/usr/local/xpm/include 7XPM_LIB_FLAGS = -L/usr/local/xpm/lib -lXpm 8 9MANSUFFIX = 6 10 11XCOMM You shouldn't have to change anything below unless you need to 12XCOMM add a new architecture. 13#define MyNull 14 15OS_C_FLAGS = 16OS_LIB_FLAGS = 17OS_DEFINES = 18 19XCOMM This seems to do the right thing on Solaris 1.x. What about 2.x? 20#if defined(SunArchitecture) 21#endif 22 23#if defined(AlphaArchitecture) && !defined(FreeBSDArchitecture) 24OS_LIB_FLAGS = -lbsd 25#endif 26 27#if defined(FreeBSDArchitecture) 28XPM_INC_FLAGS = -I$(INCROOT)/X11 29XPM_LIB_FLAGS = -lXpm 30#endif 31 32SRCS = init.c oids.c oids_x.c 33OBJS = init.o oids.o oids_x.o 34 35INCLUDES = $(XPM_INC_FLAGS) 36DEFINES = $(OS_DEFINES) 37EXTRA_LIBRARIES = $(XPM_LIB_FLAGS) -lX11 -lm $(OS_LIB_FLAGS) 38 39ComplexProgramTarget(xoids) 40 41XCOMM End of Imakefile 42 43