summaryrefslogtreecommitdiff
path: root/zwgc/String/Imakefile
blob: cbc2f4728731052e9b7582e480d16dc12974117b (plain)
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
/**/#	Copyright 1988 Massachusetts Institute of Technology.
/**/#
/**/#	For copying and distribution information, see the file
/**/#	"mit-copyright.h". 
/**/#
/**/#	$Source$
/**/#	$Author$
/**/#	$Header$
/**/#

LIBS= $(ZEPHYR_LIB) $(COMERR_LIB) $(KRB_LIB) $(DES_LIB)
LINTLIBS=$(ZEPHYR_LINTLIB) $(COMERR_LIB) $(KRB_LIB) $(DES_LIB)

OBJS = new_string.o
SRCS = new_string.c
HDRS = new_string.h

SRCDIR= ${SRCTOP}/zwgc/zwgc.dev/String
CODE= ${SRCS} ${HDRS} Imakefile

LINCLUDES= -I../Memory

normal_obj_rule()

all:: string_spec $(OBJS)

#
# /* Automatically generate a spec file from the template include file: */
#
string_spec: new_string.h
	cat new_string.h | grep "^.\*" | grep -v "^ \*/" | sed 's/.\*//' > string_spec

clean::
	$(RM) $(OBJS) memory_spec