/usr/share/doc/xviewg/examples/seln_svc/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 37 38 39 40 41 42 43 44 | #
# @(#)Makefile.customer 1.8 92/02/24 SMI
#
# Makefile for the seln_svc 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 = long_seln.c \
seln.c \
seln_line.c \
simple_seln.c \
text_seln.c
OBJS = long_seln \
seln \
seln_line \
simple_seln \
text_seln
all: ${OBJS}
${OBJS}: $$@.c $$@.o
${CC} ${CFLAGS} ${LDFLAGS} -o $@ $@.o ${XVIEW_LIBS}
clean:
rm -f core ${OBJS} *.o
|