summaryrefslogtreecommitdiffstats
path: root/share/examples/ses/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'share/examples/ses/Makefile')
-rw-r--r--share/examples/ses/Makefile32
1 files changed, 6 insertions, 26 deletions
diff --git a/share/examples/ses/Makefile b/share/examples/ses/Makefile
index 5473de2..2a332d5 100644
--- a/share/examples/ses/Makefile
+++ b/share/examples/ses/Makefile
@@ -1,3 +1,5 @@
+# $NetBSD: $
+# $OpenBSD: $
# $FreeBSD$
#
# Copyright (c) 2000 by Matthew Jacob
@@ -32,30 +34,8 @@
# mjacob@feral.com
#
-CFLAGS = -O
+UNUSED = getobjmap getnobj getobjstat
+SUBDIR = getencstat setencstat setobjstat sesd
-SUB = eltsub.o
-ALL = getnobj getobjmap getencstat inienc setencstat \
- setobjstat getobjstat chpmon
-
-all: ${ALL} ${SUB}
-
-getnobj: getnobj.o ${SUB}
- $(CC) -o $@ $@.o ${SUB}
-
-getobjmap: getobjmap.o ${SUB}
- $(CC) -o $@ $@.o ${SUB}
-
-getencstat: getencstat.o ${SUB}
- $(CC) -o $@ $@.o ${SUB}
-
-inienc: inienc.o ${SUB}
- $(CC) -o $@ $@.o ${SUB}
-
-chpmon: chpmon.o ${SUB}
- $(CC) -o $@ $@.o ${SUB}
-
-
-
-clean:
- -rm -f *.o ${ALL}
+.include <bsd.own.mk>
+.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud