Makefile.targ (8d55b806) | Makefile.targ (3aa6c130) |
---|---|
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 --- 23 unchanged lines hidden (view full) --- 32SD_LIB= sd.so 33UFM_LIB= ufm.so 34 35PLUGINS= $(SES_LIB) $(TAVOR_LIB) $(HERMON_LIB) $(SD_LIB) $(UFM_LIB) 36 37OBJECTS= $(PLUGINS:%.so=%.o) 38DYNLIB= $(PLUGINS:%=%) 39POFILES= $(PLUGINS:%.so=%.po) | 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 --- 23 unchanged lines hidden (view full) --- 32SD_LIB= sd.so 33UFM_LIB= ufm.so 34 35PLUGINS= $(SES_LIB) $(TAVOR_LIB) $(HERMON_LIB) $(SD_LIB) $(UFM_LIB) 36 37OBJECTS= $(PLUGINS:%.so=%.o) 38DYNLIB= $(PLUGINS:%=%) 39POFILES= $(PLUGINS:%.so=%.po) |
40LINTFILE= $(PLUGINS:%.so=%.ln) | |
41 42SLINKS= sgen.so 43POFILE= fwflash_transport_identify_ses.po 44SRCDIR= ../common 45 46include $(SRC)/cmd/fwflash/Makefile.com 47 | 40 41SLINKS= sgen.so 42POFILE= fwflash_transport_identify_ses.po 43SRCDIR= ../common 44 45include $(SRC)/cmd/fwflash/Makefile.com 46 |
48CLEANFILES= $(PLUGINS) $(POFILES) $(POFILE) $(LINTFILE) $(SLINKS) | 47CLEANFILES= $(PLUGINS) $(POFILES) $(POFILE) $(SLINKS) |
49 50LIBS= $(DYNLIB) 51CFLAGS += $(C_PICFLAGS) 52ROOTLIBDIR= $(ROOTUSRLIBFWFLASHIDF) 53LDLIBS += -ldevinfo 54MAPFILES= ../common/mapfile-vers 55FILEMODE= 0755 56 --- 17 unchanged lines hidden (view full) --- 74$(TAVOR_LIB):= LDLIBS += -lc 75$(SES_LIB):= LDLIBS += -L$(ROOT)/usr/lib/scsi -lscsi -lses -lnvpair -lc 76$(SD_LIB):= LDLIBS += -L$(ROOT)/usr/lib/scsi -lscsi -lumem -lc 77$(UFM_LIB):= LDLIBS += -lpcidb -lnvpair -lc 78 79$(SES_LIB):= DYNFLAGS += -R/usr/lib/scsi 80$(SD_LIB):= DYNFLAGS += -R/usr/lib/scsi 81 | 48 49LIBS= $(DYNLIB) 50CFLAGS += $(C_PICFLAGS) 51ROOTLIBDIR= $(ROOTUSRLIBFWFLASHIDF) 52LDLIBS += -ldevinfo 53MAPFILES= ../common/mapfile-vers 54FILEMODE= 0755 55 --- 17 unchanged lines hidden (view full) --- 73$(TAVOR_LIB):= LDLIBS += -lc 74$(SES_LIB):= LDLIBS += -L$(ROOT)/usr/lib/scsi -lscsi -lses -lnvpair -lc 75$(SD_LIB):= LDLIBS += -L$(ROOT)/usr/lib/scsi -lscsi -lumem -lc 76$(UFM_LIB):= LDLIBS += -lpcidb -lnvpair -lc 77 78$(SES_LIB):= DYNFLAGS += -R/usr/lib/scsi 79$(SD_LIB):= DYNFLAGS += -R/usr/lib/scsi 80 |
82.KEEP STATE: | 81.KEEP_STATE: |
83 84$(ROOTUSRLIBFWFLASHIDF)/$(SLINKS) : $(ROOTUSRLIBFWFLASHIDF)/$(SES_LIB) 85 @$(RM) $@ 86 $(SYMLINK) $(SES_LIB) $@ 87 88all: $(LIBS) 89 90install: all $(ROOTLIBS) \ 91 $(ROOTUSRLIBFWFLASHIDF)/$(SLINKS) 92 | 82 83$(ROOTUSRLIBFWFLASHIDF)/$(SLINKS) : $(ROOTUSRLIBFWFLASHIDF)/$(SES_LIB) 84 @$(RM) $@ 85 $(SYMLINK) $(SES_LIB) $@ 86 87all: $(LIBS) 88 89install: all $(ROOTLIBS) \ 90 $(ROOTUSRLIBFWFLASHIDF)/$(SLINKS) 91 |
93lint: $(LINTFILE) | 92_msg: $(POFILE) |
94 | 93 |
95_msg msg: $(POFILE) 96 | |
97include $(SRC)/lib/Makefile.targ | 94include $(SRC)/lib/Makefile.targ |