File: module.mk

package info (click to toggle)
libsmbios 0.12.1-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 18,488 kB
  • ctags: 2,397
  • sloc: cpp: 28,180; xml: 3,907; ansic: 436; makefile: 183; python: 157; sh: 92
file content (26 lines) | stat: -rwxr-xr-x 746 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# vim:noexpandtab:autoindent:tabstop=8:shiftwidth=8:filetype=make:

# push dir ... 
# If anything in this makefile needs to use the directory name, use the 
# $(d) variable. It will be properly set and reset, even in submake files.
# Any variable that uses the $(d) variable must be an IMMEDIATE variable, 
# ie. it must be "variable :=  $(d)/file", note the ":=".
sp 				:= $(sp).x
dirstack_$(sp)	:= $(d)
d				:= $(dir)

smbios_LIBS += \
	$(d)/checksum.o \
	$(d)/Token.o \
	$(d)/TokenD4.o \
	$(d)/TokenD5.o \
	$(d)/TokenD6.o \
	$(d)/TokenDA.o \
	$(d)/TokenTable.o \
	$(d)/TokenTableIterator.o \
	$(d)/TokenTableFactory.o \
#do not delete or move this comment

# Pop dir stack back to what it was
d		:= $(dirstack_$(sp))
sp		:= $(basename $(sp))