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
Package: linux-2.4.20.tar.gz [view]
Upload User: jlfgdled
Upload Date: 2013-04-10
Package Size: 33168k
Code Size: 1k
Category:
Linux-Unix program
Development Platform:
Unix_Linux
- CFLAGS = -g -O2 -Wall $(CPPFLAGS)
- TARGET = $(TOPDIR)/include/asm-ia64/offsets.h
- all:
- mrproper: clean
- clean:
- rm -f print_offsets.s print_offsets offsets.h
- fastdep: offsets.h
- @if ! cmp -s offsets.h ${TARGET}; then
- echo -e "*** Updating ${TARGET}...";
- cp offsets.h ${TARGET};
- else
- echo "*** ${TARGET} is up to date";
- fi
- #
- # If we're cross-compiling, we use the cross-compiler to translate
- # print_offsets.c into an assembly file and then awk to translate this
- # file into offsets.h. This avoids having to use a simulator to
- # generate this file. This is based on an idea suggested by Asit
- # Mallick. If we're running natively, we can of course just build
- # print_offsets and run it. --davidm
- #
- ifeq ($(CROSS_COMPILE),)
- offsets.h: print_offsets
- ./print_offsets > offsets.h
- comma := ,
- print_offsets: print_offsets.c FORCE_RECOMPILE
- $(CC) $(CFLAGS) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) print_offsets.c -o $@
- FORCE_RECOMPILE:
- else
- offsets.h: print_offsets.s
- $(AWK) -f print_offsets.awk $^ > $@
- print_offsets.s: print_offsets.c
- $(CC) $(CFLAGS) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) -S print_offsets.c -o $@
- endif
- .PHONY: all modules modules_install