Files
amiga-tz/Makefile
T

50 lines
953 B
Makefile
Raw Normal View History

1986-01-13 17:26:56 -05:00
# %W%
1986-01-21 09:11:47 -05:00
# Use an absolute path name for TZDIR unless you're just testing the software.
TZDIR= /usr/local/lib/tzdir
DEBUG=
1986-01-13 17:26:56 -05:00
LINTFLAGS= -phbaaxc
1986-01-21 09:11:47 -05:00
LFLAGS=
CFLAGS= $(DEBUG) -DOBJECTID -DTZDIR=\"$(TZDIR)\"
1986-01-13 17:26:56 -05:00
1986-01-16 08:50:41 -05:00
TZCSRCS= tzcomp.c scheck.c strchr.c
TZCOBJS= tzcomp.o scheck.o strchr.o
1986-01-21 09:11:47 -05:00
ENCHILADA= Makefile timezone.h settz.c tzdump.c $(TZCSRCS) tzinfo years.sh
1986-01-13 17:26:56 -05:00
1986-01-21 09:11:47 -05:00
all: data tzdump
1986-01-13 17:26:56 -05:00
1986-01-21 09:11:47 -05:00
data: $(TZDIR) tzcomp tzinfo years
tzcomp -d $(TZDIR) tzinfo
1986-01-16 11:00:37 -05:00
tzdump: tzdump.o settz.o
1986-01-21 09:11:47 -05:00
$(CC) $(LFLAGS) tzdump.o settz.o $(LIBS) -o $@
1986-01-13 17:26:56 -05:00
1986-01-16 08:50:41 -05:00
tzcomp: $(TZCOBJS)
1986-01-21 09:11:47 -05:00
$(CC) $(LFLAGS) $(TZCOBJS) $(LIBS) -o $@
$(TZDIR):
mkdir $@
years: years.sh
cp $? $@
chmod 555 $@
1986-01-13 17:26:56 -05:00
1986-01-16 11:00:37 -05:00
bundle: $(ENCHILADA)
1986-01-21 09:11:47 -05:00
bundle $(ENCHILADA) > bundle
1986-01-16 08:50:41 -05:00
1986-01-16 11:00:37 -05:00
$(ENCHILADA):
1986-01-16 08:50:41 -05:00
sccs get $(REL) $(REV) $@
1986-01-21 09:11:47 -05:00
sure: tzdump.c $(TZCSRCS)
1986-01-16 11:00:37 -05:00
lint $(LINTFLAGS) tzdump.c settz.c
1986-01-16 08:50:41 -05:00
lint $(LINTFLAGS) $(TZCSRCS)
1986-01-13 17:26:56 -05:00
clean:
1986-01-21 09:11:47 -05:00
rm -f core *.o *.out years tzdump tzcomp bundle \#*
1986-01-13 17:26:56 -05:00
1986-01-16 08:50:41 -05:00
CLEAN: clean
sccs clean
1986-01-13 17:26:56 -05:00
1986-01-16 11:00:37 -05:00
tzdump.o tzcomp.o settz.o: timezone.h