Debian Codegraph @

librplay/Makefile.in

raw ◀ ▶
Source reconstructed at patch state 0 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
1 include @RPLAY_TOP@/Makefile.config
2
3 srcdir = @srcdir@
4 VPATH = @srcdir@
5
6 INSTALL = @INSTALL@
7 INSTALL_PROGRAM = @INSTALL_PROGRAM@
8 INSTALL_DATA = @INSTALL_DATA@
9 MKINSTALLDIRS= @srcdir@/../mkinstalldirs
10
11 CPPFLAGS= $(CC_OPTIONS) -I. -I../include -I@srcdir@/../include @DEFS@
12 LDFLAGS= $(LD_OPTIONS) -shared @LDFLAGS@
13
14 .c.o:
15 $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
16
17 .SUFFIXES: .lo
18 .c.lo:
19 $(CC) -c -fPIC $(CPPFLAGS) $(CFLAGS) -o $@ $<
20
21 TARGET= $(LIBRPLAY_NAME)
22 SRCS= rplay.c rptp.c async.c
23 OBJS= rplay.o rptp.o async.o
24 SHAREDOBJS= rplay.lo rptp.lo async.lo
25
26 all: $(TARGET) librplay.so
27
28 #
29 # Use the following for SunOS 4.1.x, Solaris 2.x, Linux, NetBSD
30 #
31 $(TARGET): $(OBJS)
32 $(AR) rcv $@ $?
33 $(RANLIB) $@
34
35 librplay.so: $(SHAREDOBJS)
36 $(CC) -o $@ $(SHAREDOBJS) $(LDFLAGS)
37
38 #
39 # For HP-UX comment above and uncomment below.
40 #
41 #CFLAGS= +z
42 #
43 #$(TARGET): $(OBJS)
44 # ld -b -s +FPD -o $@ $(OBJS)
45 # -$(MKINSTALLDIRS) $(libdir)
46 # -$(INSTALL) $@ $(libdir)
47 # -chmod a+rx $(libdir) $(libdir)/$@
48 #
49
50 install: all
51 $(MKINSTALLDIRS) $(libdir)
52 $(INSTALL_DATA) $(TARGET) $(libdir)
53 $(INSTALL_DATA) librplay.so $(libdir)
54
55 uninstall:
56 $(RM) $(libdir)/$(TARGET)
57 $(RM) $(libdir)/librplay.so
58
59 clean:
60 $(RM) $(OBJS) $(SHAREDOBJS) $(TARGET) librplay.so a.out core *~ *.bak *.orig TAGS
61
62 distclean: clean
63 $(RM) Makefile
64
65 tags:
66 $(TAGS) *.[ch]
67
68 TAGS: tags
69
70 etags: tags
71
72 depend:
73 $(MAKEDEPEND) -- $(CPPFLAGS) $(CFLAGS) -- $(SRCS)
74