File: Imakefile

package info (click to toggle)
kinput2 3.1-14
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 3,284 kB
  • sloc: ansic: 49,965; makefile: 104; sh: 68
file content (41 lines) | stat: -rw-r--r-- 744 bytes parent folder | download | duplicates (10)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#include "../Kinput2.conf"

SJ3DEF_FILES =  sjhk sjrc sjrk sjsb sjzh

OBJS = jcode.o ../lib/Xsj3clib/code.o
SRCS = jcode.c

DEPLIBS = $(DEPXLIB)
LOCAL_LIBRARIES = $(XLIB)

#ifdef UseSj3
INCLUDES = -I../include -I../lib/Xsj3clib -I$(SJ3SRC)/sj3lib -I$(SJ3SRC)

#define SjdefTarget(file)	@@\
file: file.EUC			@@\
	rm -f $@		@@\
	./jcode file.EUC > file 

all:: jcode $(SJ3DEF_FILES)
install:: $(SJ3DEF_FILES)

SjdefTarget(sjhk)
SjdefTarget(sjrc)
SjdefTarget(sjrk)
SjdefTarget(sjsb)
SjdefTarget(sjzh)
SingleProgramTarget(jcode,$(OBJS),$(XLIB),)
MakeDirectories(install,$(SJ3DEF_DIR))
InstallMultipleFlags($(SJ3DEF_FILES),$(SJ3DEF_DIR),$(INSTDATFLAGS))

clean::
	$(RM) $(SJ3DEF_FILES)

DependTarget()

#else
all::
clean::
install::
depend::
#endif