ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / sysutils / net-snmp / sun / sdk / demo / demo_module_4 / Makefile
blob926b6c54da41f0c4c454964082f19f459a0b4636
2 # Copyright (c) 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.
8 # Use is subject to license terms.
10 # This distribution may include materials developed by third parties. Sun,
11 # Sun Microsystems, the Sun logo and Solaris are trademarks or registered
12 # trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
18 # Makefile to generate demo_module_4.so
20 # usage:
21 # To point to a particular compiler, set CC.
22 # Example: setenv CC /usr/dist/share/forte_dev/bin/cc
23 # "make" : generate library for 64bit
24 # "make ARCH=32" : generate library for 32bit
25 # "make clean" : remove *.o , *.so
28 ARCH=64
29 CFLAGS_64=-g -m64 -I.
30 CFLAGS_32=-g -I.
31 CFLAGS=$(CFLAGS_$(ARCH))
33 LDLIBS=
35 PROG= demo_module_4.so
36 SRCS= me4LoadGroup.c
37 OBJS = $(SRCS:.c=.o)
39 all:$(PROG)
40 $(PROG): $(OBJS)
41 $(CC) $(CFLAGS) $(LDLIBS) -G -o $@ $(OBJS)
42 .c.o:
43 $(CC) $(CFLAGS) -g -o $@ -c $<
45 clean:
46 rm -f me4LoadGroup.o demo_module_4.so