Changeset 3511:f9240c7d1955 in roaraudio for libroarpulse


Ignore:
Timestamp:
02/15/10 04:56:37 (10 years ago)
Author:
phi
Branch:
default
Message:

Makefile cleanup: we build libroarpulse and libroarpulse-simple as diffrent files now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroarpulse/Makefile

    r3485 r3511  
    1 TARGETS=libroarpulse.so libroarpulseinfo 
     1LIB_PREFIX=libroarpulse 
     2LIB_STDAPI=$(LIB_PREFIX)$(SHARED_SUFFIX) 
     3LIB_SIMPLE=$(LIB_PREFIX)-simple$(SHARED_SUFFIX) 
     4 
     5TARGETS=$(LIB_STDAPI) $(LIB_SIMPLE) libroarpulseinfo 
    26OBJS_ROAR   = libroarpulse.o 
    37OBJS_STD    = util.o error.o timeval.o context.o xmalloc.o version.o operation.o introspect.o sample.o channelmap.o stream.o volume.o mainloop.o mainloop-signal.o utf8.o x11.o 
    48OBJS_SIMPLE = simple.o 
    5 OBJS=$(OBJS_ROAR) $(OBJS_SIMPLE) $(OBJS_STD) 
     9OBJS_STDAPI=$(OBJS_ROAR) $(OBJS_STD) 
    610 
    711include ../Makefile.conf 
     
    2024new: clean all 
    2125 
    22 libroarpulse.so: ${OBJS} 
    23         ${CC} ${LDFLAGS} $(SHARED) -Wl,-soname,libroarpulse$(SHARED_SUFFIX).$(COMMON_V_MAJOR) -o libroarpulse$(SHARED_SUFFIX) ${OBJS} ${LIBS} 
     26$(LIB_STDAPI): ${OBJS_STDAPI} 
     27        ${CC} ${LDFLAGS} $(SHARED) -Wl,-soname,$(LIB_STDAPI).$(COMMON_V_MAJOR) -o $(LIB_STDAPI) ${OBJS_STDAPI} ${LIBS} 
     28 
     29$(LIB_SIMPLE): ${OBJS_SIMPLE} 
     30        ${CC} ${LDFLAGS} $(SHARED) -Wl,-soname,$(LIB_SIMPLE).$(COMMON_V_MAJOR) -o $(LIB_SIMPLE) ${OBJS_SIMPLE} ${LIBS} -lroarpulse 
     31 
    2432 
    2533libroarpulseinfo: libroarpulseinfo.o 
Note: See TracChangeset for help on using the changeset viewer.