1# 2# This file and its contents are supplied under the terms of the 3# Common Development and Distribution License ("CDDL"), version 1.0. 4# You may only use this file in accordance with the terms of version 5# 1.0 of the CDDL. 6# 7# A full copy of the text of the CDDL should have accompanied this 8# source. A copy of the CDDL is also available via the Internet at 9# http://www.illumos.org/license/CDDL. 10# 11 12# 13# Copyright 2020 Joyent, Inc. 14# Copyright 2024 Oxide Computer Company 15# 16 17LIBRARY = libjedec.a 18VERS = .1 19OBJECTS = libjedec.o \ 20 libjedec_spd.o \ 21 libjedec_spd_ddr3.o \ 22 libjedec_spd_ddr4.o \ 23 libjedec_spd_ddr5.o \ 24 libjedec_spd_lp4.o \ 25 libjedec_spd_lp5.o \ 26 libjedec_temp.o \ 27 bitext.o 28 29include ../../Makefile.lib 30 31LIBS = $(DYNLIB) 32CPPFLAGS += -I../common 33LDLIBS += -lc -lnvpair 34CSTD = $(CSTD_GNU99) 35 36SRCDIR = ../common 37 38.KEEP_STATE: 39 40all: $(LIBS) 41 42pics/%.o: $(SRC)/common/bitext/%.c 43 $(COMPILE.c) -o $@ $< 44 $(POST_PROCESS_O) 45 46include ../../Makefile.targ 47 48