root/src/utils/Makefile.in

Revision 1ba47323bb855f603913d7d0f5728743f990f3d8, 0.7 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 6 years ago)

fixes #31

  • 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 \
14         @ATOMIC_OBJS@
15
16 all:    libnoit_utils.a
17
18 libnoit_utils.a:        $(OBJS)
19         @rm -f $@
20         @$(AR) cq $@ $(OBJS)
21         @echo "- archiving $@"
22         @$(RANLIB) $@
23
24 noit_atomic_sol_x86_32.o:       noit_atomic_sol.s
25         @as -P -o $@ noit_atomic_sol.s
26         @echo "- assembling $@"
27
28 noit_atomic_sol_x86_64.o:       noit_atomic_sol.s
29         @as -P -xarch=generic64 -o $@ noit_atomic_sol.s
30         @echo "- assembling $@"
31
32 .c.o:
33         @$(CC) $(CPPFLAGS) $(CFLAGS) -c $<
34         @echo "- compiling $<"
35
36 clean:
37         rm -f *.o libnoit_utils.a
Note: See TracBrowser for help on using the browser.