source: roaraudio/plugins/universal/Makefile @ 5763:83d26dff8492

Last change on this file since 5763:83d26dff8492 was 5763:83d26dff8492, checked in by phi, 11 years ago

Moved notify debugging support out of roard into plugin debug-notify.

File size: 1.2 KB
RevLine 
[5424]1include ../../Makefile.conf
2include ../../Makefile.inc
3
[5721]4TARGETS_PROTO=protocol-echo$(SHARED_SUFFIX) protocol-daytime$(SHARED_SUFFIX) protocol-discard$(SHARED_SUFFIX) tic-tac-toe$(SHARED_SUFFIX) protocol-http$(SHARED_SUFFIX)
[5763]5TARGETS_MISC=plugin-info$(SHARED_SUFFIX) helloworld$(SHARED_SUFFIX) debug-notify$(SHARED_SUFFIX)
[5579]6TARGETS=$(TARGETS_MISC) $(TARGETS_PROTO)
[5424]7
8#DEFINES        = -DDEBUG
[5763]9DEFINES+= -DROAR_DBG_PREFIX=\"'$(shell basename $+ .c)'\"
[5473]10INCLUDE = -I../../include -I../..
[5478]11CFLAGS += -g -Wall $(Wextra) $(OPTI_O) $(DEFINES) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC)
12LDFLAGS+= -g -Wall $(Wextra) $(OPTI_O) $(SHARED) -L../../lib $(LDPATH)
[5424]13LIBS    = $(LIBROAR)
14
15all: ${TARGETS}
16clean:
17        rm -f ${TARGETS} *.o
18new: clean all
19
[5426]20install: all
21        cp $(cp_v) ${TARGETS} '$(DESTDIR)$(PREFIX_PLUGINS)/universal/universal/$(DEV_VENDOR)-$(DEV_VENDOR_NAME)/'
22semi-install: all
23        sh -c 'set -e; for file in *$(SHARED_SUFFIX); do ln -fs `pwd`/$$file '$(DESTDIR)$(PREFIX_PLUGINS)/universal/universal/$(DEV_VENDOR)-$(DEV_VENDOR_NAME)/'; done'
24
[5424]25%$(SHARED_SUFFIX): %.o
26        $(CC) $(LDFLAGS) -o $@ $+ $(LIBS)
[5725]27
28protocol-http$(SHARED_SUFFIX): protocol-http.o
29        $(CC) $(LDFLAGS) -o $@ $+ $(LIBS) $(lib_uste)
Note: See TracBrowser for help on using the repository browser.