2 # Symbolic target to add to all
6 # pkg-config specification file
7 otherproj-PC-PREFIX := $(prefix)
8 otherproj-PC-NAME := otherproj
9 otherproj-PC-DESC := Some other project
10 otherproj-PC-URL := http://www.otherproj.example.com/
11 otherproj-PC-VERSION := 1.0
12 otherproj-PC-LIBS := -lotherproject
13 otherproj-PC-CFLAGS := -DOTHERPROJ_DEFINE
14 otherproj-PC-VARS := PREFIX NAME DESC URL VERSION LIBS CFLAGS
15 $L/otherproj.pc: PC_VARS := $(otherproj-PC-VARS)
16 $L/otherproj.pc: $C/otherproj.pc.in $L/otherproj.pc-flags
17 # trigger a rebuild when flags change
18 setup_flags_files__ := $(call gen_rebuild_flags,$L/otherproj.pc-flags,\
19 $(call varcat,$(otherproj-PC-VARS),otherproj-PC-))
21 $I/lib/pkgconfig/otherproj.pc: $L/otherproj.pc
22 install += $I/lib/pkgconfig/otherproj.pc
23 otherproj: $L/otherproj.pc