Changeset 189


Ignore:
Timestamp:
Apr 3, 2006, 7:06:23 PM (16 years ago)
Author:
titer
Message:

Adds BeOS makefile

Location:
branches/compat-10.2
Files:
1 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • branches/compat-10.2/Makefile.common

    r185 r189  
    33VERSION_STRING = 0.6-svn
    44
    5 RM      = rm -Rf
    6 CFLAGS += -g -Wall -W -O3 -funroll-loops
    7 CFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
    8 CFLAGS += -DVERSION_MAJOR=$(VERSION_MAJOR)
    9 CFLAGS += -DVERSION_MINOR=$(VERSION_MINOR)
    10 CFLAGS += -DVERSION_STRING=\"$(VERSION_STRING)\"
    11 CFLAGS += -DSYS_$(shell echo $(SYSTEM) | dd conv=ucase 2>/dev/null)
     5RM        = rm -Rf
     6MOREFLAGS = -g -Wall -W -O3 -funroll-loops -D_FILE_OFFSET_BITS=64 \
     7            -D_LARGEFILE_SOURCE -D_GNU_SOURCE \
     8            -DVERSION_MAJOR=$(VERSION_MAJOR) \
     9            -DVERSION_MINOR=$(VERSION_MINOR) \
     10            -DVERSION_STRING=\"$(VERSION_STRING)\" \
     11            -DSYS_$(shell echo $(SYSTEM) | tr a-z A-Z)
     12CFLAGS   += $(MOREFLAGS)
     13CXXFLAGS += $(MOREFLAGS)
    1214
    1315ifeq ($(SYSTEM),BeOS)
     
    1820LDFLAGS += -lbind -lsocket
    1921endif
    20 endif
    21 ifeq ($(SYSTEM),Darwin)
    22 CFLAGS += -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386
    2322endif
    2423
  • branches/compat-10.2/configure

    r187 r189  
    1313CC="${CC-cc}"
    1414CFLAGS="${CFLAGS}"
     15CXX="${CXX-c++}"
     16CXXFLAGS="${CXXFLAGS}"
    1517LDFLAGS="${LDFLAGS}"
    1618
     
    3133  CC          C compiler command
    3234  CFLAGS      C compiler flags
     35  CXX         C++ compiler command
     36  CXXFLAGS    C++ compiler flags
    3337  LDFLAGS     linker flags
    3438
     
    275279CC             = $CC
    276280CFLAGS         = $CFLAGS
     281CXX            = $CXX
     282CXXFLAGS       = $CXXFLAGS
    277283LDFLAGS        = $LDFLAGS
    278284CFLAGS_GTK     = $CFLAGS_GTK
  • branches/compat-10.2/libtransmission/Makefile

    r135 r189  
    1010
    1111libtransmission.a: $(OBJS)
    12 ifeq ($(SYSTEM),Darwin)
    13         libtool -static $(OBJS) -o $@
    14 else
    1512        ar ru $@ $(OBJS)
    1613        ranlib $@
    17 endif
    1814
    1915%.o: %.c ../Makefile.config ../Makefile.common Makefile
     
    2521.depend: $(SRCS) Makefile
    2622        $(RM) .depend
    27         $(foreach SRC, $(SRCS), $(CC) -MM $(SRC) -D__TRANSMISSION__ >> .depend;)
     23        $(foreach SRC, $(SRCS), $(CC) -MM $(SRC) $(CFLAGS) >> .depend;)
    2824
    2925include .depend
Note: See TracChangeset for help on using the changeset viewer.