Makefile (1a902ef8) | Makefile (21ba817c) |
---|---|
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 --- 15 unchanged lines hidden (view full) --- 24 25PROG= installgrub 26 27PCFS_SRC= $(SRC)/common/fs/pcfs.c 28EINFO_SRC= ./../common/bblk_einfo.c 29UTILS_SRC =./../common/boot_utils.c 30EXTRA_SRC =./../common/mboot_extra.c 31 | 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 --- 15 unchanged lines hidden (view full) --- 24 25PROG= installgrub 26 27PCFS_SRC= $(SRC)/common/fs/pcfs.c 28EINFO_SRC= ./../common/bblk_einfo.c 29UTILS_SRC =./../common/boot_utils.c 30EXTRA_SRC =./../common/mboot_extra.c 31 |
32OBJS= installgrub.o pcfs_glue.o pcfs.o bblk_einfo.o boot_utils.o mboot_extra.o | 32OBJS= installgrub.o pcfs_glue.o pcfs.o bblk_einfo.o boot_utils.o mboot_extra.o \ 33 getresponse.o |
33SRCS= installgrub.c pcfs_glue.c $(PCFS_SRC) $(UTILS_SRC) $(EINFO_SRC) \ | 34SRCS= installgrub.c pcfs_glue.c $(PCFS_SRC) $(UTILS_SRC) $(EINFO_SRC) \ |
34 $(EXTRA_SRC) | 35 $(EXTRA_SRC) $(SRC)/common/util/getresponse.c |
35SBINLINKS= $(PROG) 36 37include ../Makefile.com 38 39CPPFLAGS += -I$(SRC)/uts/i86pc -I$(SRC)/uts/intel -I$(SRC)/uts/common | 36SBINLINKS= $(PROG) 37 38include ../Makefile.com 39 40CPPFLAGS += -I$(SRC)/uts/i86pc -I$(SRC)/uts/intel -I$(SRC)/uts/common |
41CPPFLAGS += -I$(SRC)/common/util |
|
40CERRWARN += -_gcc=-Wno-unused-label 41CERRWARN += -_gcc=-Wno-unused-function 42CERRWARN += -_gcc=-Wno-uninitialized 43 44LDLIBS += -lmd5 45 46i386_CFLAGS += -D_LARGEFILE64_SOURCE 47i386_CFLAGS += -D_FILE_OFFSET_BITS=64 --- 27 unchanged lines hidden (view full) --- 75 $(COMPILE.c) -o $@ $(UTILS_SRC) 76 77mboot_extra.o: $(EXTRA_SRC) 78 $(COMPILE.c) -o $@ $(EXTRA_SRC) 79 80bblk_einfo.o: $(EINFO_SRC) 81 $(COMPILE.c) -o $@ $(EINFO_SRC) 82 | 42CERRWARN += -_gcc=-Wno-unused-label 43CERRWARN += -_gcc=-Wno-unused-function 44CERRWARN += -_gcc=-Wno-uninitialized 45 46LDLIBS += -lmd5 47 48i386_CFLAGS += -D_LARGEFILE64_SOURCE 49i386_CFLAGS += -D_FILE_OFFSET_BITS=64 --- 27 unchanged lines hidden (view full) --- 77 $(COMPILE.c) -o $@ $(UTILS_SRC) 78 79mboot_extra.o: $(EXTRA_SRC) 80 $(COMPILE.c) -o $@ $(EXTRA_SRC) 81 82bblk_einfo.o: $(EINFO_SRC) 83 $(COMPILE.c) -o $@ $(EINFO_SRC) 84 |
85%.o: $(SRC)/common/util/%.c 86 $(COMPILE.c) $(OUTPUT_OPTION) $< 87 |
|
83install: all $(ROOTSBINPROG) .WAIT $(ROOTUSRSBINLINKS) 84 85clean: 86 $(RM) $(OBJS) 87 88lint: lint_SRCS 89 90include ../Makefile.targ | 88install: all $(ROOTSBINPROG) .WAIT $(ROOTUSRSBINLINKS) 89 90clean: 91 $(RM) $(OBJS) 92 93lint: lint_SRCS 94 95include ../Makefile.targ |