summaryrefslogtreecommitdiff
path: root/usr/src/lib/libppt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libppt/Makefile')
-rw-r--r--usr/src/lib/libppt/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/usr/src/lib/libppt/Makefile b/usr/src/lib/libppt/Makefile
index d8f34163ab..7119d6715c 100644
--- a/usr/src/lib/libppt/Makefile
+++ b/usr/src/lib/libppt/Makefile
@@ -10,7 +10,7 @@
#
#
-# Copyright 2018 Joyent, Inc.
+# Copyright 2019 Joyent, Inc.
#
include $(SRC)/lib/Makefile.lib
@@ -20,6 +20,12 @@ SUBDIRS = $(MACH) $(BUILD64) $(MACH64)
HDRS = libppt.h
HDRDIR = common
+ETCFILES= ppt_matches
+ROOTETC= $(ROOT)/etc
+IETCFILES= $(ETCFILES:%=$(ROOTETC)/%)
+
+$(IETCFILES) := FILEMODE = 0444
+
all := TARGET= all
clean := TARGET= clean
clobber := TARGET= clobber
@@ -33,11 +39,16 @@ install_h: $(ROOTHDRS)
all install: install_h
+install: $(IETCFILES)
+
check: $(CHECKHDRS)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
+$(ROOTETC)/%: %
+ $(INS.file)
+
FRC:
include $(SRC)/lib/Makefile.targ