Makefile (5661bb7641e85c46713da7a3002b29ecd2c3daf0) | Makefile (58e78d166bd2b5a9dda31250b8e8bad7c7548c0e) |
---|---|
1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 13 unchanged lines hidden (view full) --- 22# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23# Use is subject to license terms. 24# 25# Copyright (c) 2018, Joyent, Inc. 26 27DAEMON_SRCS = powerd.c sysstat.c 28DAEMON_OBJS = $(DAEMON_SRCS:%.c=%.o) 29DAEMON = powerd | 1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 13 unchanged lines hidden (view full) --- 22# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23# Use is subject to license terms. 24# 25# Copyright (c) 2018, Joyent, Inc. 26 27DAEMON_SRCS = powerd.c sysstat.c 28DAEMON_OBJS = $(DAEMON_SRCS:%.c=%.o) 29DAEMON = powerd |
30PMCFG_SRCS = conf.c parse.c handlers.c | 30PMCFG_SRCS = conf.c parse.c handlers.c |
31PMCFG_OBJS = $(PMCFG_SRCS:%.c=%.o) | 31PMCFG_OBJS = $(PMCFG_SRCS:%.c=%.o) |
32PMCFG = pmconfig 33SUSPEND_SRCS = sys-suspend.c pm_pam_conv.c | 32PMCFG = pmconfig 33SUSPEND_SRCS = sys-suspend.c pm_pam_conv.c |
34SUSPEND_OBJS = $(SUSPEND_SRCS:%.c=%.o) | 34SUSPEND_OBJS = $(SUSPEND_SRCS:%.c=%.o) |
35SUSPEND = sys-suspend 36SRCS = $(DAEMON_SRCS) $(PMCFG_SRCS) $(SUSPEND_SRCS) 37OBJS = $(SRCS:%.c=%.o) | 35SUSPEND = sys-suspend 36SRCS = $(DAEMON_SRCS) $(PMCFG_SRCS) $(SUSPEND_SRCS) 37OBJS = $(SRCS:%.c=%.o) |
38PROG = $(DAEMON) $(PMCFG) $(SUSPEND) 39POWERCONF= power.conf 40ETCFILES = $(POWERCONF) 41POWERPERM = power 42DEFAULTFILES = power.dfl 43 44MANIFEST= power.xml 45SVCMETHOD= svc-power --- 48 unchanged lines hidden (view full) --- 94 95$(POWERCONF): $(POWERCONF).$(MACH) 96 97$(DAEMON_OBJS): $(DAEMON_SRCS) 98 $(CC) $(CFLAGS) -D_REENTRANT $(CPPFLAGS) -o $@ -c $< 99 $(PROCESS_COMMENT) $@ 100 101$(DAEMON): $(DAEMON_OBJS) | 38PROG = $(DAEMON) $(PMCFG) $(SUSPEND) 39POWERCONF= power.conf 40ETCFILES = $(POWERCONF) 41POWERPERM = power 42DEFAULTFILES = power.dfl 43 44MANIFEST= power.xml 45SVCMETHOD= svc-power --- 48 unchanged lines hidden (view full) --- 94 95$(POWERCONF): $(POWERCONF).$(MACH) 96 97$(DAEMON_OBJS): $(DAEMON_SRCS) 98 $(CC) $(CFLAGS) -D_REENTRANT $(CPPFLAGS) -o $@ -c $< 99 $(PROCESS_COMMENT) $@ 100 101$(DAEMON): $(DAEMON_OBJS) |
102 $(CC) -o $@ $(DAEMON_OBJS) $(LDFLAGS) $(DAEMON_LDLIBS) | 102 $(LINK.c) -o $@ $(DAEMON_OBJS) $(DAEMON_LDLIBS) |
103 $(POST_PROCESS) 104 105$(PMCFG_OBJS): pmconfig.h 106 107$(PMCFG): $(PMCFG_OBJS) 108 $(LINK.c) -o $@ $(PMCFG_OBJS) $(PMCFG_LDLIBS) 109 $(POST_PROCESS) 110 --- 40 unchanged lines hidden --- | 103 $(POST_PROCESS) 104 105$(PMCFG_OBJS): pmconfig.h 106 107$(PMCFG): $(PMCFG_OBJS) 108 $(LINK.c) -o $@ $(PMCFG_OBJS) $(PMCFG_LDLIBS) 109 $(POST_PROCESS) 110 --- 40 unchanged lines hidden --- |