Changeset 694:945f0cff1fea in roaraudio


Ignore:
Timestamp:
08/28/08 03:58:41 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

use $(SHARED) a bit more

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • libroararts/Makefile

    r485 r694  
    22OBJS=libartsc.o 
    33 
     4include ../Makefile.conf 
     5 
    46DEFINES        = -DDEBUG 
    57INCLUDE = -I../include -I../include/libroarpulse 
    6 CFLAGS  = -g -Wall -O2 $(DEFINES) $(INCLUDE) 
     8CFLAGS  = -g -Wall -O2 $(DEFINES) $(INCLUDE) $(INCPATH) -fPIC 
    79LDFLAGS = -g -lroar $(LDPATH) -L../lib/ 
    810 
     
    1416 
    1517libartsc.so: ${OBJS} 
    16         ${CC} ${LDFLAGS} -shared -o libartsc.so ${OBJS} 
     18        ${CC} ${LDFLAGS} $(SHARED) -o libartsc.so ${OBJS} 
  • libroaresd/Makefile

    r632 r694  
     1include ../Makefile.conf 
     2 
    13TARGETS=libroaresd.so 
    24OBJS=libroaresd.o esdbasic.o esdctl.o esdstream.o esdsample.o esdfile.o 
     
    46#DEFINES        = -DDEBUG 
    57INCLUDE = -I../include -I../include/libroaresd 
    6 CFLAGS  = -g -Wall -O2 $(DEFINES) $(INCLUDE) 
    7 LDFLAGS = -g -shared -lroar $(LDPATH) -L../lib/ 
     8CFLAGS  = -g -Wall -O2 $(DEFINES) $(INCLUDE) $(INCPATH) -fPIC 
     9LDFLAGS = -g -lroar $(LDPATH) -L../lib/ 
    810 
    911all: ${TARGETS} 
  • libroarpulse/Makefile

    r485 r694  
    22OBJS=libroarpulse.o simple.o util.o 
    33 
     4include ../Makefile.conf 
     5 
    46DEFINES        = -DDEBUG 
    57INCLUDE = -I../include -I../include/libroarpulse 
    6 CFLAGS  = -g -Wall -O2 $(DEFINES) $(INCLUDE) 
     8CFLAGS  = -g -Wall -O2 $(DEFINES) $(INCLUDE) $(INCPATH) -fPIC 
    79LDFLAGS = -g -lroar $(LDPATH) -L../lib/ 
    810 
     
    1416 
    1517libroarpulse.so: ${OBJS} 
    16         ${CC} ${LDFLAGS} -shared -o libroarpulse.so ${OBJS} 
     18        ${CC} ${LDFLAGS} $(SHARED) -o libroarpulse.so ${OBJS} 
    1719 
    1820libroarpulseinfo: libroarpulseinfo.o 
  • libroaryiff/Makefile

    r485 r694  
    22OBJS=libroaryiff.o connection.o playback.o audiocd.o ctl.o 
    33 
     4include ../Makefile.conf 
     5 
    46#DEFINES        = -DDEBUG 
    57INCLUDE = -I../include -I../include/libroaryiff 
    6 CFLAGS  = -g -Wall -O2 $(DEFINES) $(INCLUDE) 
    7 LDFLAGS = -g -shared -lroar $(LDPATH) -L../lib/ 
     8CFLAGS  = -g -Wall -O2 $(DEFINES) $(INCLUDE) $(INCPATH) -fPIC 
     9LDFLAGS = -g $(SHARED) -lroar $(LDPATH) -L../lib/ 
    810 
    911all: ${TARGETS} 
Note: See TracChangeset for help on using the changeset viewer.