root/src/utils/Makefile.in

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

fixes #286

  • 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 noit_lockfile.o \
15         @ATOMIC_OBJS@
16
17 all:    libnoit_utils.a
18
19 @DTRACEOBJ@:    $(OBJS)
20         @-test -n "@DTRACE@" && \
21         @DTRACE@ @DTRACEFLAGS@ -G -s dtrace_probes.d -o @DTRACEOBJ@ $(OBJS)
22
23 noit_log.o:     @DTRACEHDR@
24
25 @DTRACEHDR@:    dtrace_probes.d
26         @-test -n "@DTRACE@" && @DTRACE@ -h -s dtrace_probes.d
27
28 libnoit_utils.a:        $(OBJS) @DTRACEOBJ@
29         @rm -f $@
30         @$(AR) cq $@ $(OBJS) @DTRACEOBJ@
31         @echo "- archiving $@"
32         @$(RANLIB) $@
33
34 noit_atomic_sol_x86_32.o:       noit_atomic_sol.s
35         @as -P -o $@ noit_atomic_sol.s
36         @echo "- assembling $@"
37
38 noit_atomic_sol_x86_64.o:       noit_atomic_sol.s
39         @as -P -xarch=generic64 -o $@ noit_atomic_sol.s
40         @echo "- assembling $@"
41
42 .c.o:
43         @$(CC) $(CPPFLAGS) $(CFLAGS) -c $<
44         @echo "- compiling $<"
45
46 clean:
47         rm -f *.o libnoit_utils.a
48
49 Makefile.dep:
50         gcc -I.. -MM *.c > Makefile.dep
51
52 include Makefile.dep
53
Note: See TracBrowser for help on using the browser.