/usr/share/doc/xviewg/examples/sv_compat/Makefile is in xview-examples 3.2p1.4-28.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | #
# @(#)Makefile.customer 1.6 92/02/24
#
# Makefile for the sv_compat example programs for XView programmers
#
OSTYPE = SUNOS5
INCLUDE = -I${OPENWINHOME}/include
#
# If you want to compile for debugging, change "-O" to "-g"
#
CFLAGS_SUNOS41 = ${INCLUDE} -O
CFLAGS_SUNOS5 = ${INCLUDE} -DSVR4 -O
CFLAGS = $(CFLAGS_$(OSTYPE))
# if you want special to pass special loader options to ld, set
# LDFLAGS= ...
#
XVIEW_LIBS = -L${OPENWINHOME}/lib \
-lxview -lolgx -lX11
CFILES = pw_draw.c
IMAGE = gray_stencil.pr
OBJS = pw_draw
all: ${OBJS}
${OBJS}: $$@.c $$@.o
${CC} ${CFLAGS} ${LDFLAGS} -o $@ $@.o ${XVIEW_LIBS}
clean:
rm -f core ${OBJS} *.o
|