Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
makefile.solaris
Package: dvd-munitions.tar.gz [view]
Upload User: aoeyumen
Upload Date: 2007-01-06
Package Size: 3329k
Code Size: 2k
Category:
DVD
Development Platform:
Unix_Linux
- #
- # $Header:
- # By: Alex Theo de Jong, NIST
- # Description:
- # Makefile for MPEG 2 Buffer implementation
- #
- # Operating System
- OS = -DSOLARIS # -DSOLARIS_PTHREAD
- # Use Solaris Multi-Threading
- THREADLIB = -lthread # -L/opt/pthread/lib/libpthread.a
- THREADINC = # -I/opt/pthread/include
- # Directories
- PIDRDIR = .
- INSTBIN = ../../../Bin/Solaris
- INSTLIB = ../../../Lib
- INSTINC = ../../../Inc
- # Tools
- CP = cp
- MV = mv
- CHMOD = chmod 666
- RM = rm -f
- CPP = CC # Sparc Compiler # g++ -V2.6.3 # GNU Compiler version
- AR = ar
- # Compiler options
- PROTOTYPE = # -fno-strict-prototype
- DEBUG = -g # gdb -DTRACE -DDEBUG
- WARNINGS = # -Wall # List all warnings # -w # Suppress warnings #
- OPTIMIZE = # -O2 # -O6 #
- # Compiler flags
- CPPFLAGS = $(DEBUG) $(WARNINGS) $(OPTIMIZE) $(OS)
- $(PROTOTYPE) -I$(PIDRDIR) -I$(INSTINC) $(THREADINC)
- # Loader/linker flags
- LDFLAGS = -L$(INSTLIB)
- LDLIBS = -lmpeg -lutil $(THREADLIB)
- # Things to compile
- OBJECTS = sync.o mpeg2buff.o
- HEADERS = sync.hh mpeg2const.hh mpeg2buff.hh
- PROGRAM = main
- LIBRARY = libmpeg.a
- # Compile lines
- all: $(PROGRAM)
- install: $(PROGRAM)
- clean: installclean
- installclean:
- $(RM) *.o *~ *.~?~ core $(PROGRAM)
- %.a: $(OBJECTS)
- $(AR) vrus $(INSTLIB)/$*.a $(OBJECTS)
- $(CP) *.hh $(INSTINC)
- $(CHMOD) $(INSTINC)/*.hh
- .cc.o:
- $(RM) $@
- $(CPP) $(CPPFLAGS) -c $<
- $(PROGRAM):
- $(CPP) -o $(PROGRAM) $(PROGRAM).o $(LDFLAGS) $(LDLIBS)
- #Dependencies
- mpeg2buff.o: mpeg2buff.hh
- sync.o: sync.hh
- $(PROGRAM): $(LIBRARY) $(PROGRAM).o