/usr/share/doc/xviewg/examples/dnd/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 45 46 47 48 49 50 | #
# @(#)Makefile.customer 1.5 92/03/25 SMI
#
# Makefile for the drag_n_drop 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_SUNOS41 = -L${OPENWINHOME}/lib \
-lxview -lolgx -lX11
XVIEW_LIBS_SUNOS5 = -L${OPENWINHOME}/lib \
-lxview -lolgx -lX11 -lnsl
XVIEW_LIBS = $(XVIEW_LIBS_${OSTYPE})
CFILES = dest.c \
source1.c
IMAGES = arrow.bm \
arrow_mask.bm \
arrowb.bm \
bullseye.bm \
bullseyeI.bm
ICONS = drop.icon
OBJS = dest \
source1
all: $(IMAGES) $(ICONS) ${OBJS}
${OBJS}: $$@.c $$@.o
${CC} ${CFLAGS} ${LDFLAGS} -o $@ $@.o ${XVIEW_LIBS}
clean:
rm -f core ${OBJS} *.o
|