casey@lll-crg.llnl.gov (Casey Leedom) (01/12/89)
Suggestion to X development group for next release: refuse to include any contributed software in your next distribution that doesn't have an imakefile. Imake is now a standard utility in the X distribution. There's no excuse for any application not having an Imakefile any more. Especially since they're so incredibly small and simple. An Imakefile for the recently posted xbgsun|xviewsun software is attached at the end as an example of something that the authors could have done once and saved everyone from having to do it all over the net. Also it would have been nice to have had a skeleton set of Imakefiles in the contributed sections that users could edit SUNDIRS entries into. Admittedly this last isn't a biggie, but it also doesn't cost you anything. Casey ----- # Imakefile for xbgsun & xviewsun # # jim frost 12.19.88 # # -DPATH should indicate the local image directory if one exists. # -DSUFFIX indicates a default suffix for images if desired. if # images are compressed, the suffix should NOT include the .Z since .Z # is automatically appended if no uncompressed file is found. # DEFINES = -DPATH=\"/usr/local/lib/suntools/backgrounds\" -DSUFFIX=\"\" LOCAL_LIBRARIES = $(XLIB) SRCS1 = common.c xviewsun.c OBJS1 = common.o xviewsun.o SRCS2 = common.c xbgsun.c OBJS2 = common.o xbgsun.o PROGRAMS = xviewsun xbgsun ComplexProgramTarget_1(xviewsun,$(LOCAL_LIBRARIES),) ComplexProgramTarget_2(xbgsun,$(LOCAL_LIBRARIES),)