makefile.old
author Ryan C. Gordon <icculus@icculus.org>
Thu, 13 May 2010 00:08:21 -0400
changeset 154 36fb1c2006b5
parent 152 c50f3b7d3fa0
child 176 59f22c19ae86
permissions -rw-r--r--
Make RUNDIR be "." in makefile.old. ...since you have to run below the Data directory.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
109
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
     1
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
     2
macosx := false
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
     3
use_devil := false
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
     4
use_fmod := false
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
     5
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
     6
ifeq ($(strip $(shell uname -s)),Darwin)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
     7
	macosx := true
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
     8
endif
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
     9
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    10
#OPT += -O0
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    11
OPT += -O3 -fno-strict-aliasing -falign-loops=16 -fno-math-errno
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    12
#OPT += -Os -fno-strict-aliasing
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    13
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    14
BINDIR := bin
154
36fb1c2006b5 Make RUNDIR be "." in makefile.old.
Ryan C. Gordon <icculus@icculus.org>
parents: 152
diff changeset
    15
RUNDIR := .
109
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    16
SRCDIR := Source
152
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
    17
SDLDIR := Dependencies/SDL12
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
    18
LIBPNGDIR := Dependencies/libpng
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
    19
JPEGLIBDIR := Dependencies/libjpeg
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
    20
ZLIBDIR := Dependencies/zlib
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
    21
OPENALDIR := Dependencies/OpenAL
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
    22
GLUDIR := Dependencies/GLU
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
    23
LIBOGGDIR := Dependencies/libogg
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
    24
LIBVORBISDIR := Dependencies/libvorbis
109
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    25
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    26
ifeq ($(strip $(macosx)),true)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    27
	CXX := g++-4.0
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    28
	CC := gcc-4.0
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    29
	LD := g++-4.0
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    30
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    31
  	ifeq ($(strip $(use_devil)),true)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    32
        $(error DEVIL isn't supported in the Mac OS X builds right now.)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    33
    endif
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    34
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    35
  	ifeq ($(strip $(use_fmod)),true)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    36
        $(error FMOD isn't supported in the Mac OS X builds right now.)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    37
    endif
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    38
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    39
	ifeq ($(strip $(XCODE_DIR)),)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    40
        XCODE_DIR := /Developer
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    41
    endif
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    42
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    43
	ifeq ($(strip $(macosx_arch)),)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    44
	  	macosx_arch := $(shell uname -m)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    45
	endif
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    46
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    47
	ifeq ($(strip $(macosx_arch)),ppc)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    48
        macosx_arch_okay := true
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    49
        macosx_version_min := 10.4
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    50
        macosx_version_min_required := 1040
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    51
		macosx_sdk_dir := MacOSX10.4u.sdk
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    52
		macosx_gcc_dir := powerpc-apple-darwin10/4.0.1
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    53
		macosx_gcc_libdir := $(macosx_gcc_dir)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    54
		macosx_cxx_dir := powerpc-apple-darwin8
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    55
    endif
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    56
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    57
	ifeq ($(strip $(macosx_arch)),i386)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    58
        macosx_arch_okay := true
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    59
        macosx_version_min := 10.4
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    60
        macosx_version_min_required := 1040
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    61
		macosx_sdk_dir := MacOSX10.4u.sdk
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    62
		macosx_gcc_dir := i686-apple-darwin10/4.0.1
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    63
		macosx_gcc_libdir := $(macosx_gcc_dir)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    64
		macosx_cxx_dir := i686-apple-darwin8
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    65
    endif
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    66
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    67
	ifeq ($(strip $(macosx_arch)),x86_64)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    68
        macosx_arch_okay := true
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    69
        macosx_version_min := 10.6
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    70
        macosx_version_min_required := 1060
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    71
		macosx_sdk_dir := MacOSX10.6.sdk
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    72
		macosx_gcc_dir := i686-apple-darwin10/4.0.1
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    73
		macosx_gcc_libdir := $(macosx_gcc_dir)/x86_64
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    74
		macosx_cxx_dir := x86_64-apple-darwin8
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    75
    endif
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    76
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    77
	ifneq ($(strip $(macosx_arch_okay)),true)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    78
        $(error Unknown Mac OS X architecture. Please update the makefile.)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    79
    endif
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    80
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    81
   	EXEEXT := $(macosx_arch)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    82
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    83
    CFLAGS += -arch $(macosx_arch)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    84
    CFLAGS += -mmacosx-version-min=$(macosx_version_min)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    85
    CFLAGS += -DMAC_OS_X_VERSION_MIN_REQUIRED=$(macosx_version_min_required)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    86
    CFLAGS += -nostdinc
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    87
    CFLAGS += -F$(XCODE_DIR)/SDKs/$(macosx_sdk_dir)/System/Library/Frameworks
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    88
    CFLAGS += -I$(XCODE_DIR)/SDKs/$(macosx_sdk_dir)/usr/lib/gcc/$(macosx_gcc_dir)/include
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    89
    CFLAGS += -isystem $(XCODE_DIR)/SDKs/$(macosx_sdk_dir)/usr/include
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    90
    CFLAGS += -isystem $(XCODE_DIR)/SDKs/$(macosx_sdk_dir)/usr/include/c++/4.0.0
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    91
    CFLAGS += -isystem $(XCODE_DIR)/SDKs/$(macosx_sdk_dir)/usr/include/c++/4.0.0/$(macosx_cxx_dir)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    92
    CFLAGS += -isystem $(XCODE_DIR)/SDKs/$(macosx_sdk_dir)/usr/include/c++/4.0.0/$(macosx_cxx_dir)/bits
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    93
    CFLAGS += -isystem $(XCODE_DIR)/SDKs/$(macosx_sdk_dir)/usr/include/c++/4.0.0/backward
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    94
  	CFLAGS += -mdynamic-no-pic
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    95
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    96
    LDFLAGS += -arch $(macosx_arch)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    97
    LDFLAGS += -mmacosx-version-min=$(macosx_version_min)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    98
    LDFLAGS += -F$(XCODE_DIR)/SDKs/$(macosx_sdk_dir)/System/Library/Frameworks
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
    99
    LDFLAGS += -L$(XCODE_DIR)/SDKs/$(macosx_sdk_dir)/usr/lib/gcc/$(macosx_gcc_libdir)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   100
    LDFLAGS += -Wl,-syslibroot,$(XCODE_DIR)/SDKs/$(macosx_sdk_dir)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   101
  	LDFLAGS += -framework Cocoa -framework OpenGL -framework IOKit -framework CoreFoundation -framework Carbon -framework OpenAL
152
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
   102
  	LDFLAGS += ./Dependencies/SDL12/lib/macosx/libSDL-1.2.0.dylib ./Dependencies/SDL12/lib/macosx/libSDLmain-osx.a
109
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   103
else
131
d0ca5772f27d Use system g++ and SDL/OpenAL on Linux
Marcus Comstedt <marcus@mc.pp.se>
parents: 122
diff changeset
   104
	CXX := g++
d0ca5772f27d Use system g++ and SDL/OpenAL on Linux
Marcus Comstedt <marcus@mc.pp.se>
parents: 122
diff changeset
   105
	CC := gcc
d0ca5772f27d Use system g++ and SDL/OpenAL on Linux
Marcus Comstedt <marcus@mc.pp.se>
parents: 122
diff changeset
   106
	LD := g++
109
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   107
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   108
  	CFLAGS += -DPLATFORM_LINUX=1
131
d0ca5772f27d Use system g++ and SDL/OpenAL on Linux
Marcus Comstedt <marcus@mc.pp.se>
parents: 122
diff changeset
   109
  	LDFLAGS += `pkg-config --libs sdl`
d0ca5772f27d Use system g++ and SDL/OpenAL on Linux
Marcus Comstedt <marcus@mc.pp.se>
parents: 122
diff changeset
   110
	INCLUDES += `pkg-config --cflags sdl`
d0ca5772f27d Use system g++ and SDL/OpenAL on Linux
Marcus Comstedt <marcus@mc.pp.se>
parents: 122
diff changeset
   111
	# Don't use bundled headers
d0ca5772f27d Use system g++ and SDL/OpenAL on Linux
Marcus Comstedt <marcus@mc.pp.se>
parents: 122
diff changeset
   112
	SDLDIR := /dummy
109
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   113
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   114
  	ifeq ($(strip $(use_devil)),true)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   115
    	LDFLAGS += ./libIL.so.1 ./libILU.so.1 ./libILUT.so.1
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   116
  	endif
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   117
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   118
  	ifeq ($(strip $(use_fmod)),true)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   119
    	POSTLDFLAGS += -lpthread ./libfmod-linux-x86.a
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   120
  	else
131
d0ca5772f27d Use system g++ and SDL/OpenAL on Linux
Marcus Comstedt <marcus@mc.pp.se>
parents: 122
diff changeset
   121
    	LDFLAGS += `pkg-config --libs openal`
d0ca5772f27d Use system g++ and SDL/OpenAL on Linux
Marcus Comstedt <marcus@mc.pp.se>
parents: 122
diff changeset
   122
    	INCLUDES += `pkg-config --cflags openal`
d0ca5772f27d Use system g++ and SDL/OpenAL on Linux
Marcus Comstedt <marcus@mc.pp.se>
parents: 122
diff changeset
   123
	# Don't use bundled headers
d0ca5772f27d Use system g++ and SDL/OpenAL on Linux
Marcus Comstedt <marcus@mc.pp.se>
parents: 122
diff changeset
   124
	OPENALDIR := /dummy
109
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   125
  	endif
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   126
endif
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   127
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   128
DEFINES += \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   129
	-DPLATFORM_UNIX=1 \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   130
	-DUSE_SDL=1 \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   131
	-DTRUE=1 \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   132
	-DFALSE=0 \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   133
	-Dstricmp=strcasecmp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   134
	-DBinIO_STDINT_HEADER="<stdint.h>" \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   135
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   136
INCLUDES += \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   137
			-I$(SRCDIR) \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   138
			-I$(SDLDIR)/include \
152
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
   139
			-I./Dependencies/OpenGL/ \
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
   140
			-I./Dependencies/OpenGL/GL \
109
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   141
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   142
ifeq ($(strip $(use_devil)),true)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   143
    DEFINES += -DUSE_DEVIL=1
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   144
    INCLUDES += -I$(SRCDIR)/devil/include
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   145
else
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   146
    DEFINES += -DZ_PREFIX=1
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   147
    INCLUDES += -I$(ZLIBDIR) -I$(LIBPNGDIR) -I$(JPEGLIBDIR)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   148
endif
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   149
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   150
ifeq ($(strip $(use_fmod)),false)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   151
    DEFINES += -DUSE_OPENAL=1
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   152
    INCLUDES += -I$(OPENALDIR)/include -I$(LIBOGGDIR)/include -I$(LIBVORBISDIR)/include
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   153
endif
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   154
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   155
CFLAGS += -g -c $(OPT) $(INCLUDES) $(DEFINES) -fsigned-char -pipe -w
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   156
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   157
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   158
ifeq ($(strip $(EXEEXT)),)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   159
   	EXEEXT := bin
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   160
endif
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   161
EXE := $(RUNDIR)/lugaru-$(EXEEXT)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   162
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   163
CXXFLAGS := $(CFLAGS)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   164
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   165
SRCS := \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   166
	Frustum.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   167
	GameDraw.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   168
	GameInitDispose.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   169
	GameTick.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   170
	Globals.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   171
	Lights.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   172
	Models.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   173
	Objects.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   174
	pack.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   175
	pack_private.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   176
	Person.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   177
	private.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   178
	Quaternions.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   179
	Random.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   180
	Skeleton.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   181
	Skybox.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   182
	Sprites.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   183
	Terrain.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   184
	Text.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   185
	TGALoader.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   186
	unpack.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   187
	unpack_private.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   188
	Weapons.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   189
	MacCompatibility.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   190
	WinInput.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   191
	OpenGL_Windows.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   192
	openal_wrapper.cpp \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   193
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   194
SRCS := $(foreach f,$(SRCS),$(SRCDIR)/$(f))
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   195
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   196
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   197
UNUSED_SRCS := \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   198
	DRIVER.CC \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   199
	MD5.CC \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   200
152
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
   201
#    pnggccrd.c \
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
   202
#    pngvcrd.c \
109
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   203
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   204
PNGSRCS := \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   205
    png.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   206
    pngerror.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   207
    pngget.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   208
    pngmem.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   209
    pngpread.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   210
    pngread.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   211
    pngrio.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   212
    pngrtran.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   213
    pngrutil.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   214
    pngset.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   215
    pngtrans.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   216
    pngwio.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   217
    pngwrite.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   218
    pngwtran.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   219
    pngwutil.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   220
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   221
PNGSRCS := $(foreach f,$(PNGSRCS),$(LIBPNGDIR)/$(f))
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   222
152
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
   223
#    jdphuff.c \
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
   224
#    jidctred.c \
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
   225
#    jcphuff.c \
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
   226
109
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   227
JPEGSRCS := \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   228
	jdapistd.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   229
    jdmaster.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   230
    jdapimin.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   231
    jcapimin.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   232
    jdmerge.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   233
    jdatasrc.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   234
    jdatadst.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   235
    jdcoefct.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   236
    jdcolor.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   237
    jddctmgr.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   238
    jdhuff.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   239
    jdinput.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   240
    jdmainct.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   241
    jdmarker.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   242
    jdpostct.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   243
    jdsample.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   244
    jdtrans.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   245
    jerror.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   246
    jidctflt.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   247
    jidctfst.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   248
    jidctint.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   249
    jmemmgr.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   250
    jutils.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   251
    jmemnobs.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   252
    jquant1.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   253
    jquant2.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   254
    jcomapi.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   255
    jcmarker.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   256
    jcapistd.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   257
    jcparam.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   258
    jcinit.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   259
    jcdctmgr.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   260
    jccoefct.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   261
    jcmainct.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   262
    jfdctflt.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   263
    jfdctint.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   264
    jfdctfst.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   265
    jchuff.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   266
    jcsample.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   267
    jcmaster.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   268
    jccolor.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   269
    jcprepct.c \
152
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
   270
    jcarith.c \
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
   271
    jdarith.c \
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
   272
    jaricom.c \
109
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   273
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   274
JPEGSRCS := $(foreach f,$(JPEGSRCS),$(JPEGLIBDIR)/$(f))
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   275
152
c50f3b7d3fa0 Updated makefile.old with the new dependencies stuff.
Ryan C. Gordon <icculus@icculus.org>
parents: 131
diff changeset
   276
#	gzio.c \
109
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   277
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   278
ZLIBSRCS = \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   279
	adler32.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   280
	compress.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   281
	crc32.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   282
	deflate.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   283
	infback.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   284
	inffast.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   285
	inflate.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   286
	inftrees.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   287
	trees.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   288
	uncompr.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   289
	zutil.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   290
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   291
ZLIBSRCS := $(foreach f,$(ZLIBSRCS),$(ZLIBDIR)/$(f))
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   292
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   293
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   294
GLUSRCS := \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   295
	dict.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   296
	geom.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   297
	memalloc.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   298
	mesh.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   299
	mipmap.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   300
	normal.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   301
	priorityq.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   302
	render.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   303
	sweep.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   304
	tess.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   305
	tessmono.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   306
	util.c \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   307
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   308
GLUSRCS := $(foreach f,$(GLUSRCS),$(GLUDIR)/$(f))
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   309
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   310
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   311
OGGSRCS := \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   312
	bitwise.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   313
	framing.o
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   314
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   315
OGGSRCS := $(foreach f,$(OGGSRCS),$(LIBOGGDIR)/src/$(f))
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   316
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   317
VORBISSRCS := \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   318
	analysis.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   319
    bitrate.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   320
    block.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   321
    codebook.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   322
    envelope.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   323
    floor0.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   324
    floor1.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   325
    info.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   326
    lpc.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   327
    lsp.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   328
    mapping0.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   329
    mdct.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   330
    psy.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   331
    registry.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   332
    res0.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   333
    sharedbook.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   334
    smallft.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   335
    synthesis.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   336
    vorbisfile.o \
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   337
    window.o
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   338
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   339
VORBISSRCS := $(foreach f,$(VORBISSRCS),$(LIBVORBISDIR)/lib/$(f))
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   340
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   341
ifeq ($(strip $(macosx)),false)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   342
	SRCS += $(GLUSRCS)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   343
endif
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   344
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   345
ifeq ($(strip $(use_devil)),false)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   346
    SRCS += $(PNGSRCS) $(JPEGSRCS) $(ZLIBSRCS)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   347
endif
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   348
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   349
ifeq ($(strip $(use_fmod)),false)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   350
    SRCS += $(OGGSRCS) $(VORBISSRCS)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   351
endif
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   352
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   353
OBJS := $(SRCS:.CC=.o)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   354
OBJS := $(OBJS:.cc=.o)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   355
OBJS := $(OBJS:.cpp=.o)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   356
OBJS := $(OBJS:.c=.o)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   357
OBJS := $(OBJS:.m=.o)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   358
OBJS := $(foreach f,$(OBJS),$(BINDIR)/$(f))
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   359
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   360
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   361
.PHONY: clean all
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   362
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   363
all : $(EXE)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   364
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   365
$(BINDIR)/%.o : %.cpp
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   366
	@mkdir -p $(dir $@)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   367
	$(CXX) -o $@ $(CXXFLAGS) $<
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   368
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   369
$(BINDIR)/%.o : %.CC
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   370
	@mkdir -p $(dir $@)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   371
	$(CXX) -x c++ -o $@ $(CXXFLAGS) $<
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   372
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   373
$(BINDIR)/%.o : %.cc
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   374
	@mkdir -p $(dir $@)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   375
	$(CXX) -o $@ $(CXXFLAGS) $<
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   376
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   377
$(BINDIR)/%.o : %.m
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   378
	@mkdir -p $(dir $@)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   379
	$(CC) -o $@ $(CFLAGS) $<
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   380
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   381
$(BINDIR)/%.o : %.c
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   382
	@mkdir -p $(dir $@)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   383
	$(CC) -o $@ $(CFLAGS) $<
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   384
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   385
$(EXE) : $(OBJS) $(APPOBJS)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   386
	@mkdir -p $(dir $@)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   387
	$(LD) -o $@ $(LDFLAGS) $(OBJS) $(APPOBJS) $(POSTLDFLAGS)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   388
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   389
clean:
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   390
	rm -f $(BINDIR)/*.o
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   391
	rm -f $(BINDIR)/$(SRCDIR)/*.o
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   392
	rm -f $(BINDIR)/$(GLUDIR)/*.o
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   393
	rm -f $(BINDIR)/$(LIBPNGDIR)/*.o
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   394
	rm -f $(BINDIR)/$(JPEGLIBDIR)/*.o
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   395
	rm -f $(BINDIR)/$(ZLIBDIR)/*.o
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   396
	rm -f $(BINDIR)/$(LIBOGGDIR)/src/*.o
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   397
	rm -f $(BINDIR)/$(LIBVORBISDIR)/lib/*.o
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   398
	rm -f $(EXE)
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   399
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   400
# end of makefile ...
d0ed8b1f4f7a Resolved merges of FindOggVorbis.cmake and CMakeLists.txt
Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
parents:
diff changeset
   401