1 0 stevel # 2 0 stevel # CDDL HEADER START 3 0 stevel # 4 0 stevel # The contents of this file are subject to the terms of the 5 2522 raf # Common Development and Distribution License (the "License"). 6 2522 raf # You may not use this file except in compliance with the License. 7 0 stevel # 8 0 stevel # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 0 stevel # or http://www.opensolaris.org/os/licensing. 10 0 stevel # See the License for the specific language governing permissions 11 0 stevel # and limitations under the License. 12 0 stevel # 13 0 stevel # When distributing Covered Code, include this CDDL HEADER in each 14 0 stevel # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 0 stevel # If applicable, add the following below this CDDL HEADER, with the 16 0 stevel # fields enclosed by brackets "[]" replaced with your own identifying 17 0 stevel # information: Portions Copyright [yyyy] [name of copyright owner] 18 0 stevel # 19 0 stevel # CDDL HEADER END 20 0 stevel # 21 0 stevel # 22 9815 Rishi # Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23 0 stevel # Use is subject to license terms. 24 0 stevel # 25 0 stevel # 26 0 stevel 27 0 stevel include $(SRC)/lib/Makefile.lib 28 0 stevel 29 3871 yz147064 HDRS = libdladm.h libdladm_impl.h libdllink.h libdlaggr.h \ 30 5895 yz147064 libdlwlan.h libdlwlan_impl.h libdlvnic.h libdlvlan.h \ 31 8306 Sowmini libdlmgmt.h libdlflow.h libdlflow_impl.h libdlstat.h \ 32 10616 Sebastien libdlether.h libdlsim.h libdlbridge.h libdliptun.h 33 8275 Eric 34 0 stevel HDRDIR = common 35 0 stevel 36 3184 meem SUBDIRS = $(MACH) 37 4456 ss150715 $(BUILD64)SUBDIRS += $(MACH64) 38 0 stevel 39 0 stevel POFILE = libdladm.po 40 3871 yz147064 MSGFILES = common/libdladm.c common/linkprop.c common/secobj.c \ 41 5084 johnlev common/libdllink.c common/libdlaggr.c \ 42 5895 yz147064 common/libdlwlan.c common/libdlvnic.c \ 43 8275 Eric common/libdlvlan.c common/libdlmgmt.c \ 44 8275 Eric common/flowattr.c common/flowprop.c \ 45 10491 Rishi common/propfuncs.c common/libdlflow.c \ 46 8306 Sowmini common/libdlstat.c common/flowattr.c \ 47 10491 Rishi common/libdlether.c common/libdlsim.c \ 48 10616 Sebastien common/libdlbridge.c common/libdliptun.c 49 8275 Eric 50 3184 meem XGETFLAGS = -a -x libdladm.xcl 51 0 stevel 52 0 stevel all := TARGET = all 53 0 stevel clean := TARGET = clean 54 0 stevel clobber := TARGET = clobber 55 0 stevel install := TARGET = install 56 0 stevel lint := TARGET = lint 57 0 stevel 58 0 stevel .KEEP_STATE: 59 0 stevel 60 2522 raf all clean clobber install lint: $(SUBDIRS) 61 0 stevel 62 0 stevel install_h: $(ROOTHDRS) 63 0 stevel 64 0 stevel check: $(CHECKHDRS) 65 0 stevel 66 0 stevel $(POFILE): pofile_MSGFILES 67 0 stevel 68 0 stevel _msg: $(MSGDOMAINPOFILE) 69 0 stevel 70 2522 raf $(SUBDIRS): FRC 71 0 stevel @cd $@; pwd; $(MAKE) $(TARGET) 72 0 stevel 73 0 stevel FRC: 74 0 stevel 75 0 stevel include $(SRC)/Makefile.msg.targ 76 0 stevel include $(SRC)/lib/Makefile.targ 77