GNUmakefile 510 Bytes
#!smake
#
# $Revision: 1.2 $
#

PRDEPTH = ../..
include $(PRDEPTH)/PRdefs
CC=$(HOST_CC)
GCINCS=-I$(ROOT)/host_include -D_LANGUAGE_C

TARGETS = librcppli.a
PLITAB	= rcppli.tab

CFILES = socket.c rdram.c vi.c plusarg.c misc.c

default: $(TARGETS)

include $(PRDEPTH)/PRrules

headers:

exports install: default
	$(INSTALL) -m 444 -F /usr/lib/PR $(TARGETS) $(PLITAB)

librcppli.a: $(OBJECTS)
	ar rc $@ $(OBJECTS)

.c.o:
#	$(CC) $(GCINCS) -c -O -DPLI -Wab,-big_got -Wab,-dwalign $<
	$(CC) $(GCINCS) -c -O -DPLI $<