root/src/utils/Makefile.in

Revision 4157a34c3d13eb5c24a6f212ff058080a60a4ee5, 0.9 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 4 years ago)

closes #226

  • Property mode set to 100644
Line 
1 CC=@CC@
2 CPPFLAGS=@CPPFLAGS@
3 CFLAGS=@CFLAGS@
4 LDFLAGS=@LDFLAGS@
5 AR=@AR@
6 RANLIB=@RANLIB@
7 LIBS=@LIBS@
8 INSTALL=@INSTALL@
9
10 top_srcdir=@top_srcdir@
11
12 OBJS=noit_hash.o noit_skiplist.o noit_log.o noit_sem.o noit_str.o \
13         noit_b64.o noit_security.o noit_watchdog.o noit_mkdir.o \
14         noit_getip.o \
15         @ATOMIC_OBJS@
16
17 all:    libnoit_utils.a
18
19 @DTRACEOBJ@:    $(OBJS)
20         @DTRACE@ @DTRACEFLAGS@ -G -s dtrace_probes.d -o @DTRACEOBJ@ $(OBJS)
21
22 noit_log.o:     @DTRACEHDR@
23
24 @DTRACEHDR@:    dtrace_probes.d
25         @DTRACE@ -h -s dtrace_probes.d
26
27 libnoit_utils.a:        $(OBJS) @DTRACEOBJ@
28         @rm -f $@
29         @$(AR) cq $@ $(OBJS) @DTRACEOBJ@
30         @echo "- archiving $@"
31         @$(RANLIB) $@
32
33 noit_atomic_sol_x86_32.o:       noit_atomic_sol.s
34         @as -P -o $@ noit_atomic_sol.s
35         @echo "- assembling $@"
36
37 noit_atomic_sol_x86_64.o:       noit_atomic_sol.s
38         @as -P -xarch=generic64 -o $@ noit_atomic_sol.s
39         @echo "- assembling $@"
40
41 .c.o:
42         @$(CC) $(CPPFLAGS) $(CFLAGS) -c $<
43         @echo "- compiling $<"
44
45 clean:
46         rm -f *.o libnoit_utils.a
Note: See TracBrowser for help on using the browser.