Makefile.com (f808c858) | Makefile.com (da2e3ebd) |
---|---|
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 --- 5 unchanged lines hidden (view full) --- 14# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner] 18# 19# CDDL HEADER END 20# 21# | 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 --- 5 unchanged lines hidden (view full) --- 14# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner] 18# 19# CDDL HEADER END 20# 21# |
22# Copyright 2006 Sun Microsystems, Inc. All rights reserved. | 22# Copyright 2007 Sun Microsystems, Inc. All rights reserved. |
23# Use is subject to license terms. 24# 25# ident "%Z%%M% %I% %E% SMI" 26# 27 28LIBRARY= libelf.a 29VERS= .1 30M4= m4 --- 14 unchanged lines hidden (view full) --- 45CLASSOBJS= clscook64.o newehdr64.o newphdr64.o update64.o 46BLTOBJS= msg.o xlate.o xlate64.o 47MISCOBJS= String.o args.o demangle.o nlist.o \ 48 nplist.o 49MISCOBJS64= nlist.o 50 51OBJECTS= $(BLTOBJS) $(MACHOBJS) $(COMOBJS) $(CLASSOBJS) $(MISCOBJS) 52 | 23# Use is subject to license terms. 24# 25# ident "%Z%%M% %I% %E% SMI" 26# 27 28LIBRARY= libelf.a 29VERS= .1 30M4= m4 --- 14 unchanged lines hidden (view full) --- 45CLASSOBJS= clscook64.o newehdr64.o newphdr64.o update64.o 46BLTOBJS= msg.o xlate.o xlate64.o 47MISCOBJS= String.o args.o demangle.o nlist.o \ 48 nplist.o 49MISCOBJS64= nlist.o 50 51OBJECTS= $(BLTOBJS) $(MACHOBJS) $(COMOBJS) $(CLASSOBJS) $(MISCOBJS) 52 |
53include $(SRC)/lib/Makefile.lib 54 |
|
53DEMOFILES= Makefile README acom.c dcom.c \ 54 pcom.c tpcom.c dispsyms.c | 55DEMOFILES= Makefile README acom.c dcom.c \ 56 pcom.c tpcom.c dispsyms.c |
57DEMOFILESRCDIR= ../demo 58ROOTDEMODIRBASE=$(ROOT)/usr/demo/ELF 59ROOTDEMODIRS= $(ROOTDEMODIRBASE) |
|
55 | 60 |
56include $(SRC)/lib/Makefile.lib | |
57include $(SRC)/cmd/sgs/Makefile.com 58 59# 60# Do not compile the libelf.a objects with the -xF flag 61# 62$(OBJS) := XFFLAG= 63 64WARLOCKFILES= $(OBJECTS:%.o=wlocks/%.ll) --- 37 unchanged lines hidden (view full) --- 102ROOTFS_LINTLIB= $(LINTLIB:%=$(ROOTFS_LIBDIR)/%) 103 104ROOTFS_DYNLIB64= $(DYNLIB:%=$(ROOTFS_LIBDIR64)/%) 105ROOTFS_LINTLIB64= $(LINTLIB:%=$(ROOTFS_LIBDIR64)/%) 106 107$(ROOTFS_DYNLIB) := FILEMODE= 755 108$(ROOTFS_DYNLIB64) := FILEMODE= 755 109 | 61include $(SRC)/cmd/sgs/Makefile.com 62 63# 64# Do not compile the libelf.a objects with the -xF flag 65# 66$(OBJS) := XFFLAG= 67 68WARLOCKFILES= $(OBJECTS:%.o=wlocks/%.ll) --- 37 unchanged lines hidden (view full) --- 106ROOTFS_LINTLIB= $(LINTLIB:%=$(ROOTFS_LIBDIR)/%) 107 108ROOTFS_DYNLIB64= $(DYNLIB:%=$(ROOTFS_LIBDIR64)/%) 109ROOTFS_LINTLIB64= $(LINTLIB:%=$(ROOTFS_LIBDIR64)/%) 110 111$(ROOTFS_DYNLIB) := FILEMODE= 755 112$(ROOTFS_DYNLIB64) := FILEMODE= 755 113 |
110ROOTDEMODIR= $(ROOT)/usr/demo/ELF 111ROOTDEMOFILES= $(DEMOFILES:%=$(ROOTDEMODIR)/%) 112 | |
113LIBS = $(DYNLIB) $(LINTLIB) 114 115CLEANFILES += $(LINTOUTS) $(BLTSRCS) $(BLTFILES) $(WARLOCKFILES) 116 | 114LIBS = $(DYNLIB) $(LINTLIB) 115 116CLEANFILES += $(LINTOUTS) $(BLTSRCS) $(BLTFILES) $(WARLOCKFILES) 117 |
117$(ROOTDEMODIR) := OWNER = root 118$(ROOTDEMODIR) := GROUP = bin 119$(ROOTDEMODIR) := DIRMODE = $(VAR_LIBELF_ROOTDEMODIR_DIRMODE) 120 121.PARALLEL: $(LIBS) $(ROOTDEMOFILES) | 118.PARALLEL: $(LIBS) |