Makefile (d0e58ef5) Makefile (31aa6202)
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

--- 19 unchanged lines hidden (view full) ---

28#
29
30UTSBASE = ../..
31
32#
33# The following objects are autogenerated by cpcgen.
34#
35CPCGEN_OBJS = \
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

--- 19 unchanged lines hidden (view full) ---

28#
29
30UTSBASE = ../..
31
32#
33# The following objects are autogenerated by cpcgen.
34#
35CPCGEN_OBJS = \
36 opteron_pcbe_f17h.o
36 opteron_pcbe_f17h_zen1.o \
37 opteron_pcbe_f17h_zen2.o
37
38CPCGEN_COMMON = opteron_pcbe_cpcgen.h
39CPCGEN_CMD = $(CPCGEN) -d $(SRC)/data/amdpmc -o .
40CPCGEN_SRCS = $(CPCGEN_OBJS:%.o=%.c) opteron_pcbe_cpcgen.h
41
42
43#
44# Define module and object file sets.

--- 50 unchanged lines hidden (view full) ---

95install: $(INSTALL_DEPS)
96
97opteron_pcbe_cpcgen.h:
98 $(CPCGEN_CMD) -a -H
99
100opteron_pcbe_%.c: $(CPCGEN_COMMON)
101 $(CPCGEN_CMD) -c -p \
102 $$(echo $@ | \
38
39CPCGEN_COMMON = opteron_pcbe_cpcgen.h
40CPCGEN_CMD = $(CPCGEN) -d $(SRC)/data/amdpmc -o .
41CPCGEN_SRCS = $(CPCGEN_OBJS:%.o=%.c) opteron_pcbe_cpcgen.h
42
43
44#
45# Define module and object file sets.

--- 50 unchanged lines hidden (view full) ---

96install: $(INSTALL_DEPS)
97
98opteron_pcbe_cpcgen.h:
99 $(CPCGEN_CMD) -a -H
100
101opteron_pcbe_%.c: $(CPCGEN_COMMON)
102 $(CPCGEN_CMD) -c -p \
103 $$(echo $@ | \
103 $(SED) -e 's/opteron_pcbe_//g' -e 's/_/-/g' -e 's/.c$$//g')
104 $(SED) -e 's/opteron_pcbe_//g' -e 's/.c$$//g')
104
105$(OBJS_DIR)/%.o: %.c
106 $(COMPILE.c) -I$(SRC)/uts/intel/pcbe/ -o $@ $<
107 $(CTFCONVERT_O)
108
109#
110# Include common targets.
111#
112include $(UTSBASE)/intel/Makefile.targ
105
106$(OBJS_DIR)/%.o: %.c
107 $(COMPILE.c) -I$(SRC)/uts/intel/pcbe/ -o $@ $<
108 $(CTFCONVERT_O)
109
110#
111# Include common targets.
112#
113include $(UTSBASE)/intel/Makefile.targ