source: roaraudio/libroar/Makefile @ 4483:96a86fd04daf

Last change on this file since 4483:96a86fd04daf was 4483:96a86fd04daf, checked in by phi, 8 years ago

added dummy files for authfile support

File size: 1.3 KB
Line 
1include ../Makefile.conf
2include ../Makefile.inc
3
4SLIB=libroar$(SHARED_SUFFIX)
5
6TARGETS=$(SLIB) libroar.a
7VIO_META=vio.o vio_select.o vio_ops.o vio_string.o
8VIO_BRIDGE=vio_bio.o vio_stdio.o
9VIO=$(VIO_META) $(VIO_BRIDGE) vio_cmd.o vio_magic.o vio_pipe.o vio_socket.o vio_winsock.o vio_stack.o vio_jumbo.o vio_proto.o vio_dstr.o vio_tantalos.o vio_rtp.o vio_buffer.o vio_buffer_store.o
10HASHES=hash.o hash_tiger.o
11PASSWORD=passwordapi.o pinentry.o sshaskpass.o
12CRYPTO=crypto.o random.o $(HASHES)
13OBJS=libroar.o config.o debug.o error.o basic.o stream.o client.o simple.o auth.o socket.o ctl.o buffer.o meta.o file.o acl.o cdrom.o $(PASSWORD) $(VIO) stack.o slp.o nnode.o roardl.o roarx11.o beep.o proto.o env.o keyval.o vs.o ltm.o notify.o notify_proxy.o asyncctl.o enumdev.o serverinfo.o $(CRYPTO) authfile.o
14
15#DEFINES        = -DDEBUG
16INCLUDE = -I../include -I../include/libroar
17CFLAGS += -g -Wall -O2 $(DEFINES) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC)
18LDFLAGS = -g $(SHARED) $(LDPATH)
19LIBS    = $(LIBROAR_NS)
20
21all: ${TARGETS}
22        rm -f ../lib/${SLIB} 2> /dev/null || true
23        cp $(cp_v) ${TARGETS} ../lib/
24clean:
25        rm -f ${TARGETS} *.o
26new: clean all
27
28$(SLIB): ${OBJS}
29        ${CC} ${LDFLAGS} -Wl,-soname,$(SLIB).$(LIBROAR_V) -o $(SLIB) ${OBJS} ${LIBS}
30libroar.a: ${OBJS}
31        ${AR} cru libroar.a ${OBJS}
32        ${RANLIB} libroar.a
Note: See TracBrowser for help on using the repository browser.