File: Buildin.tmpasm

package info (click to toggle)
camv-rnd 1.1.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,824 kB
  • sloc: ansic: 35,928; sh: 686; makefile: 476; yacc: 110; awk: 3
file content (20 lines) | stat: -rw-r--r-- 781 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# tmpasm script for compiling a plugin_src/ module as a buildin
# Requires variables before the include:
#  /local/rnd/mod       basename of the module (e.g. autoplace)
#  /local/rnd/mod/OBJS  full path of all object files
#  /local/rnd/mod/OBJS_C99  full path of all object files for non-c89
#  /local/rnd/mod/CONF  config file name

append /local/camv/buildin_pups [@@/local/rnd/mod@=@/local/rnd/mod@/@/local/rnd/mod@.pup@] {\n}

append /local/camv/MOD_OBJS           ?/local/rnd/mod/OBJS
append /local/camv/MOD_OBJS_C99       ?/local/rnd/mod/OBJS_C99
append /local/camv/MOD_LDFLAGS        /local/rnd/mod/LDFLAGS
append /local/camv/MOD_CFLAGS         /local/rnd/mod/CFLAGS
append /local/camv/MOD_RULES [@

mod_@/local/rnd/mod@: all

@]

include /local/camv/tmpasm/common_enabled