Makefile.com (fa9e4066f08beec538e775443c5be79dd423fcab) | Makefile.com (088e9d477eee66081e407fbc5a33c4da25f66f6a) |
---|---|
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, Version 1.0 only 6# (the "License"). You may not use this file except in compliance 7# with the License. 8# --- 14 unchanged lines hidden (view full) --- 23# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 24# Use is subject to license terms. 25# 26# ident "%Z%%M% %I% %E% SMI" 27 28LIBRARY= libzpool.a 29VERS= .1 30 | 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, Version 1.0 only 6# (the "License"). You may not use this file except in compliance 7# with the License. 8# --- 14 unchanged lines hidden (view full) --- 23# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 24# Use is subject to license terms. 25# 26# ident "%Z%%M% %I% %E% SMI" 27 28LIBRARY= libzpool.a 29VERS= .1 30 |
31# include the list of ZFS sources |
|
31include ../../../uts/common/Makefile.files 32KERNEL_OBJS = kernel.o taskq.o util.o 33LIST_OBJS = list.o 34 35OBJECTS=$(ZFS_COMMON_OBJS) $(ZFS_SHARED_OBJS) $(KERNEL_OBJS) $(LIST_OBJS) 36 37# include library definitions 38include ../../Makefile.lib 39 40ZFS_COMMON_SRCS= $(ZFS_COMMON_OBJS:%.o=../../../uts/common/fs/zfs/%.c) | 32include ../../../uts/common/Makefile.files 33KERNEL_OBJS = kernel.o taskq.o util.o 34LIST_OBJS = list.o 35 36OBJECTS=$(ZFS_COMMON_OBJS) $(ZFS_SHARED_OBJS) $(KERNEL_OBJS) $(LIST_OBJS) 37 38# include library definitions 39include ../../Makefile.lib 40 41ZFS_COMMON_SRCS= $(ZFS_COMMON_OBJS:%.o=../../../uts/common/fs/zfs/%.c) |
41SHARED_SRCS= $(ZFS_SHARED_OBJS:%.o=../../../common/zfs/%.c) | 42ZFS_SHARED_SRCS= $(ZFS_SHARED_OBJS:%.o=../../../common/zfs/%.c) |
42KERNEL_SRCS= $(KERNEL_OBJS:%.o=../common/%.c) 43LIST_SRCS= $(LIST_OBJS:%.o=../../../uts/common/os/%.c) 44 | 43KERNEL_SRCS= $(KERNEL_OBJS:%.o=../common/%.c) 44LIST_SRCS= $(LIST_OBJS:%.o=../../../uts/common/os/%.c) 45 |
45SRCS=$(ZFS_COMMON_SRCS) $(KERNEL_SRCS) $(LIST_SRCS) | 46SRCS=$(ZFS_COMMON_SRCS) $(ZFS_SHARED_SRCS) $(KERNEL_SRCS) $(LIST_SRCS) |
46SRCDIR= ../common 47 48LIBS += $(LINTLIB) 49 50INCS += -I../common 51INCS += -I../../../uts/common/fs/zfs 52INCS += -I../../../common/zfs 53 --- 10 unchanged lines hidden (view full) --- 64.KEEP_STATE: 65 66all: $(LIBS) 67 68lint: $(LINTLIB) 69 70include ../../Makefile.targ 71 | 47SRCDIR= ../common 48 49LIBS += $(LINTLIB) 50 51INCS += -I../common 52INCS += -I../../../uts/common/fs/zfs 53INCS += -I../../../common/zfs 54 --- 10 unchanged lines hidden (view full) --- 65.KEEP_STATE: 66 67all: $(LIBS) 68 69lint: $(LINTLIB) 70 71include ../../Makefile.targ 72 |
72objs/%.o pics/%.o: ../../../uts/common/fs/zfs/%.c | 73pics/%.o: ../../../uts/common/fs/zfs/%.c |
73 $(COMPILE.c) -o $@ $< 74 $(POST_PROCESS_O) 75 | 74 $(COMPILE.c) -o $@ $< 75 $(POST_PROCESS_O) 76 |
76objs/%.o pics/%.o: ../../../common/zfs/%.c | 77pics/%.o: ../../../common/zfs/%.c |
77 $(COMPILE.c) -o $@ $< 78 $(POST_PROCESS_O) 79 | 78 $(COMPILE.c) -o $@ $< 79 $(POST_PROCESS_O) 80 |
80objs/%.o pics/%.o: ../../../uts/common/os/%.c | 81pics/%.o: ../../../uts/common/os/%.c |
81 $(COMPILE.c) -o $@ $< 82 $(POST_PROCESS_O) | 82 $(COMPILE.c) -o $@ $< 83 $(POST_PROCESS_O) |
83 | |