source: svn/trunk/zas_dstar/build/pdrivers/makefile @ 2

Last change on this file since 2 was 2, checked in by jglee, 11 years ago

first commit

File size: 2.3 KB
Line 
1################################################################################
2# Makefile for DSTHAL Library                                                  #
3#                                                                              #
4# Copyright (c) 2004-2006 Digital Stream Technology Inc.  All rights reserved. #
5################################################################################
6
7PDRIVERBASE = $(BASEPRJDIR)/pdrivers
8
9DEFINES += $(GLOBAL_DEFINES)  __USE_LARGEFILE64
10#EXTRA_CFLAGS = -Werror
11
12################################################################################
13# Includes directories
14################################################################################
15DRIVER_INCLUDES :=      $(PDRIVERBASE)  \
16                    $(PDRIVERBASE)/lib/libdvbpsi/obj/include \
17                    $(PDRIVERBASE)/lib/libmpeg2-0.5.1/include \
18                    /usr/local/include/mpeg2dec
19
20                   
21
22EXTRA_INCLUDE_DIR = $(DSTHALBASE)/include                                       \
23                                         $(DSTHALPLATFORMBASE)                                  \
24                                         $(BASEPRJDIR)/devices/includes         \
25                                         $(BASEPRJDIR)/pdrivers                \
26                                         /usr/local/include/SDL \
27                                         $(DRIVER_INCLUDES)
28
29################################################################################
30# Library Names
31################################################################################
32LIBS =
33SHARED_LD_LIBS = $(addprefix -l, $(LIBS))
34
35################################################################################
36# Library Name and Type
37#    "shared" to generate shared (or dynamic) library.
38#    "static" to generate static (or achieve) library.
39################################################################################
40LIBNAME = pdriver
41LIBTYPE = shared
42#LIBTYPE = static
43
44################################################################################
45# Output Directories
46################################################################################
47BUILD_OBJS_DIR := $(PDRIVERBASE)/debug
48
49################################################################################
50# Source Files
51################################################################################
52SOURCEFILES =   $(PDRIVERBASE)/pd_dmx.c \
53                $(PDRIVERBASE)/block.c \
54                $(PDRIVERBASE)/mpeg2dec.c \
55                $(PDRIVERBASE)/video_out_sdl.c
56
57#NOLINKSUBDIRS = $(PDRIVERBASE)/lib
58
59include $(BASEMAKEDIR)/rules.mak
Note: See TracBrowser for help on using the repository browser.