ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / sysutils / net-snmp / sun / Makefile
blob646094d3e72714d1e5d8ff309e5aa74406c9a9f3
2 # Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
4 # U.S. Government Rights - Commercial software. Government users are subject
5 # to the Sun Microsystems, Inc. standard license agreement and applicable
6 # provisions of the FAR and its supplements.
9 # This distribution may include materials developed by third parties. Sun,
10 # Sun Microsystems, the Sun logo and Solaris are trademarks or registered
11 # trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
17 # Makefile for sun directory in SMA
19 # $Log: Makefile,v $
20 # Revision 1.10 2004/01/09 14:04:14 rr144420
21 # 4974843 - directory change per LSARC
23 # Revision 1.9 2003/12/11 16:20:17 rr144420
24 # 4964336 - eliminate sdk_buildrev
26 # Revision 1.8 2003/12/05 15:04:26 rr144420
27 # 4964325 - Sun: pass ARCH=isa to make install
29 # Revision 1.7 2003/11/17 17:52:11 pcarroll
30 # 4953668 - Sun: updated masfcnv migration script needs to be added to pkg
32 # Revision 1.6 2003/11/11 22:49:24 pcarroll
33 # 4952508 - Sun: need to add a script to SMA pkgs for Enchilada migration
35 # Revision 1.5 2003/10/24 11:45:48 rr144420
36 # 4943260 - add sdk_buildrev
38 # Revision 1.4 2003/08/21 14:41:58 rr144420
39 # 4908816 - further makefile changes to install into correct lib
41 # Revision 1.3 2003/08/12 21:14:34 rr144420
42 # 4895376 - correct Sun copyright statements. Cannot use (c), and must use Copyright Copyright in makefiles
44 # Revision 1.2 2003/08/01 16:32:12 rr144420
45 # more of Paul's changes for packaging
47 # Revision 1.1 2003/07/23 15:53:28 rr144420
48 # new makefiles for building sun directory
51 SUBDIRS = agent
52 BUILDREV_SRCS = sma_buildrev.c
53 BUILDREV_PROGS = $(BUILDREV_SRCS:.c=)
54 SCRIPT_PROG = masfcnv \
55 masfd \
56 snmpd.conf
58 all: subdirs buildrevs
60 buildrevs:$(BUILDREV_PROGS)
61 .c:
62 $(CC) $< -o $@
64 subdirs:
65 echo "SUBDIRS: $(MAKE) CFGPREFIX=$(CFGPREFIX) CFGLIB64=$(CFGLIB64) CFGLIB=$(CFGLIB) CC=$(CC) DEBUG=$(DEBUG) ARCH=$(ARCH)" ;
66 @if test "$(SUBDIRS)" != ""; then \
67 it="$(SUBDIRS)" ; \
68 for i in $$it ; do \
69 echo "making all in `pwd`/$$i"; \
70 ( cd $$i ; $(MAKE) CFGPREFIX=$(CFGPREFIX) CFGLIB64=$(CFGLIB64) CFGLIB=$(CFGLIB) CC=$(CC) DEBUG=$(DEBUG) ARCH=$(ARCH) ) ; \
71 if test $$? != 0 ; then \
72 exit 1 ; \
73 fi \
74 done \
77 subdirs_install:
78 @if test "$(SUBDIRS)" != ""; then \
79 it="$(SUBDIRS)" ; \
80 for i in $$it ; do \
81 echo "making install in `pwd`/$$i"; \
82 ( cd $$i ; $(MAKE) CFGPREFIX=$(CFGPREFIX) CFGLIB64=$(CFGLIB64) CFGLIB=$(CFGLIB) install ARCH=$(ARCH) ) ; \
83 if test $$? != 0 ; then \
84 exit 1 ; \
85 fi \
86 done \
89 install: subdirs_install
91 force:
92 # dummy target to force rebuilding