head	1.1;
branch	1.1.1;
access;
symbols
	LIBC_4_5_19:1.1.1.3
	LIBC_4_5_18:1.1.1.3
	LIBC_4_5_17:1.1.1.3
	LIBC_4_5_16:1.1.1.3
	LIBC_4_5_15:1.1.1.3
	LIBC_4_5_14:1.1.1.3
	LIBC_4_5_13:1.1.1.3
	LIBC_4_5_12:1.1.1.3
	LIBC_4_5_11:1.1.1.3
	LIBC_4_5_10:1.1.1.2
	LIBC_4_5_9:1.1.1.1
	LIBC_4_5_8:1.1.1.1
	LIBC_4_5_7:1.1.1.1
	LIBC:1.1.1;
locks; strict;
comment	@# @;


1.1
date	93.12.14.16.58.54;	author steinber;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	93.12.14.16.58.55;	author steinber;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	94.01.13.12.16.50;	author steinber;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	94.01.19.16.24.40;	author steinber;	state Exp;
branches;
next	;


desc
@@



1.1
log
@Initial revision
@
text
@#
# Makefile for message catalog'ing functions
#

include ../Makeconfig

include ../Makerules

LIB:=../$(LIB)
LIBALIAS:=../$(LIBALIAS)

JUMP_DIR:=../jump/$(SHLIB)
JUMP_LIB=libc

ifndef OPTFLAGS
OPTFLAGS= -O6 -fomit-frame-pointer
endif

CFLAGS = -I. -DHAVE_MMAP -DI_STDARG $(OPTFLAGS) $(INC) $(XCFLAGS)

DIRS:=
INCS= gencat.h mcprt.h mcprtlib.h msgcat.h nl_types.h
SRC= gencat.c genlib.c mcprt.c mcprtlib.c msgcat.c

SOMEFILES= Copyright Makefile README $(SRC) $(INC) sample.m
FILES=$(SOMEFILES) patchlevel.h

GENCATOBJ= gencat.o genlib.o
MSGLIBOBJ= msgcat.o mcprt.o mcprtlib.o

DIRS:=
SRCS= msgcat.c msgcat-libc.c #mcprt.c mcprtlib.c

OBJS= $(SRCS:.c=.o)

all: lib

include ../Maketargets

#.c.o:
#	$(CC) $(CFLAGS) -c $<

#clean:
#	rm -f $(OBJ) *~ *.bak gencat libmsg.a

shar:	msgcat.sh

gencat.o:	gencat.c gencat.h
genlib.o:	genlib.c gencat.h msgcat.h

libmsg.a: $(MSGLIBOBJ)
	$(AR) crv $@@ $(MSGLIBOBJ)


msgcat.o:	msgcat.h nl_types.h

mcprt.o:	mcprt.h mcprtlib.h
mcprtlib.o:	mcprtlib.h nl_types.h

msgcat.sh:	$(FILES)
	shar -C $(FILES) > $@@

gencat:	$(GENCATOBJ:.o=.c)
	$(CC) $(CFLAGS) -o $@@ $(GENCATOBJ:.o=.c)
@


1.1.1.1
log
@LIBC_4_5_7
@
text
@@


1.1.1.2
log
@LIBC_4_5_10
@
text
@d6 1
d9 9
a17 2
INC_CFLAGS=-I.
BASE_CFLAGS:= $(BASE_CFLAGS) -DHAVE_MMAP -DI_STDARG
d19 2
d22 5
d28 4
d33 1
a33 1
ASMS= $(SRCS:.c=.s)
d35 2
a36 1
ALIASES=
@


1.1.1.3
log
@LIBC_4_5_11
@
text
@d5 2
a6 1
TOPDIR=..
a7 3
include $(TOPDIR)/Makeconfig
include $(TOPDIR)/Makerules

d18 1
a18 1
include $(TOPDIR)/Maketargets
@
