source: trunk/Makefile.common @ 196

Last change on this file since 196 was 191, checked in by titer, 16 years ago

Merge compat-10.2 branch. This adds Jaguar compatibility on OS X, and
completes the Jam -> Make/XCode switch. Hope it doesn't break too much.

File size: 800 bytes
Line 
1VERSION_MAJOR  = 0
2VERSION_MINOR  = 5
3VERSION_STRING = 0.6-svn
4
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)
14
15ifeq ($(SYSTEM),BeOS)
16CXXFLAGS += -Wno-multichar
17ifeq ($(BEOS_NETSERVER),yes)
18CFLAGS  += -DBEOS_NETSERVER
19LDFLAGS += -lnet
20else
21LDFLAGS += -lbind -lsocket
22endif
23endif
24
25ifeq ($(PTHREAD),yes)
26ifeq ($(SYSTEM),FreeBSD)
27LDFLAGS += -pthread
28else
29LDFLAGS += -lpthread
30endif
31endif
32
33ifeq ($(OPENSSL),yes)
34CFLAGS  += -DHAVE_OPENSSL
35LDFLAGS += -lcrypto
36endif
Note: See TracBrowser for help on using the repository browser.