Makefile (7c478bd9) Makefile (b6805bf7)
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#

--- 6 unchanged lines hidden (view full) ---

15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
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#

--- 6 unchanged lines hidden (view full) ---

15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23#ident "%Z%%M% %I% %E% SMI"
24#
25# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
26# Use is subject to license terms.
27#
28
29FSTYPE= ufs
30LIBPROG= clri
31DCOPY= dcopy
32ATTMK= $(LIBPROG)
33
34OTHERINSTALL= $(ROOTLIBFSTYPE)/$(DCOPY)
23# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
24# Use is subject to license terms.
25#
26
27FSTYPE= ufs
28LIBPROG= clri
29DCOPY= dcopy
30ATTMK= $(LIBPROG)
31
32OTHERINSTALL= $(ROOTLIBFSTYPE)/$(DCOPY)
35
33
36include ../../Makefile.fstype
37include ../Makefile.roll
38
39OBJS= $(LIBPROG).o $(ROLLOBJS)
40SRCS= $(LIBPROG).c $(ROLLSRCS)
41
34include ../../Makefile.fstype
35include ../Makefile.roll
36
37OBJS= $(LIBPROG).o $(ROLLOBJS)
38SRCS= $(LIBPROG).c $(ROLLSRCS)
39
40# No msg catalog here.
41POFILE=
42
42CFLAGS += $(CCVERBOSE)
43CPPFLAGS += -D_LARGEFILE64_SOURCE
44
45$(LIBPROG): $(OBJS)
46 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
47 $(POST_PROCESS)
48
43CFLAGS += $(CCVERBOSE)
44CPPFLAGS += -D_LARGEFILE64_SOURCE
45
46$(LIBPROG): $(OBJS)
47 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
48 $(POST_PROCESS)
49
50clean:
51 $(RM) $(LIBPROG).o
52
49lint := PROG=$(LIBPROG)
50lint: lint_PROG
51
52$(ROOTLIBFSTYPE)/$(DCOPY): $(ROOTLIBFSTYPE)/$(LIBPROG)
53 -$(RM) $@; $(LN) $(ROOTLIBFSTYPE)/$(LIBPROG) $@
53lint := PROG=$(LIBPROG)
54lint: lint_PROG
55
56$(ROOTLIBFSTYPE)/$(DCOPY): $(ROOTLIBFSTYPE)/$(LIBPROG)
57 -$(RM) $@; $(LN) $(ROOTLIBFSTYPE)/$(LIBPROG) $@