Makefile (d3b5f56344d8bfcdd6cfb82446af0e5e55ad9ebe) | Makefile (d17be682a2c70b4505d43c830bbd2603da11918d) |
---|---|
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 --- 49 unchanged lines hidden (view full) --- 58 59ROOTCMDDIR= $(ROOTLIB)/ldoms 60ROOTMANIFESTDIR= $(ROOTSVCPLATFORMSUN4V) 61$(ROOTMANIFEST) := FILEMODE= 444 62 63LDLIBS += -lds -ldladm -ldevinfo -lpri 64INCS += -I$(ROOT)/usr/platform/sun4v/include/sys 65INCS += -I$(SRC)/uts/sun4v | 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 --- 49 unchanged lines hidden (view full) --- 58 59ROOTCMDDIR= $(ROOTLIB)/ldoms 60ROOTMANIFESTDIR= $(ROOTSVCPLATFORMSUN4V) 61$(ROOTMANIFEST) := FILEMODE= 444 62 63LDLIBS += -lds -ldladm -ldevinfo -lpri 64INCS += -I$(ROOT)/usr/platform/sun4v/include/sys 65INCS += -I$(SRC)/uts/sun4v |
66CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(INCS) | 66CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(INCS) |
67CSTD = $(CSTD_GNU99) 68CERRWARN += $(CNOWARN_UNINIT) 69 | 67CSTD = $(CSTD_GNU99) 68CERRWARN += $(CNOWARN_UNINIT) 69 |
70LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN 71 | |
72.KEEP_STATE: 73 | 70.KEEP_STATE: 71 |
74all: $(PROG) | 72all: $(PROG) |
75 76$(PROG): $(OBJS) 77 $(CC) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS) 78 $(POST_PROCESS) 79 80install: all .WAIT $(ROOTCMD) $(ROOTMANIFEST) $(ROOTSVCMETHOD) 81 82check: $(CHKMANIFEST) 83 | 73 74$(PROG): $(OBJS) 75 $(CC) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS) 76 $(POST_PROCESS) 77 78install: all .WAIT $(ROOTCMD) $(ROOTMANIFEST) $(ROOTSVCMETHOD) 79 80check: $(CHKMANIFEST) 81 |
84lint: lint_SRCS 85 | |
86clean: | 82clean: |
87 $(RM) $(PROG) $(OBJS) $(LINT_FILES) | 83 $(RM) $(PROG) $(OBJS) |
88 89include ../Makefile.targ 90 91%.o: $(COMMONBASE)/mdesc/%.c 92 $(COMPILE.c) -o $@ $< 93 $(POST_PROCESS_O) | 84 85include ../Makefile.targ 86 87%.o: $(COMMONBASE)/mdesc/%.c 88 $(COMPILE.c) -o $@ $< 89 $(POST_PROCESS_O) |
94 | |