mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-11-21 18:58:30 +00:00
first releasable tzcomp
SCCS-file: Makefile SCCS-SID: 1.4
This commit is contained in:
committed by
Paul Eggert
parent
264aa0f702
commit
c72acae014
29
Makefile
29
Makefile
@ -4,32 +4,37 @@ LINTFLAGS= -phbaaxc
|
||||
|
||||
CFLAGS= -g -DOBJECTID
|
||||
|
||||
TZCFLAGS= -d tzdir # Remove this line to put files in /etc/tzdir
|
||||
TZCSRCS= tzcomp.c scheck.c strchr.c
|
||||
TZCOBJS= tzcomp.o scheck.o strchr.o
|
||||
|
||||
WHOLE_ENCHILADA= Makefile timezone.h settz.c try.c $(TZCSRCS) tzinfo
|
||||
ENCHILADA= Makefile timezone.h settz.c tzdump.c $(TZCSRCS) tzinfo types.sh
|
||||
|
||||
ALL= try tzcomp
|
||||
ALL= tzdump tzcomp uspres nonpres
|
||||
|
||||
all: $(ALL)
|
||||
|
||||
data:
|
||||
tzcomp tzinfo
|
||||
data: tzcomp
|
||||
tzcomp $(TZCFLAGS) tzinfo
|
||||
|
||||
try: try.o settz.o
|
||||
$(CC) $(CFLAGS) try.o settz.o $(LIBS) -o $@
|
||||
uspres nonpres: types.sh
|
||||
cp $? $@
|
||||
chmod +x $@
|
||||
|
||||
tzdump: tzdump.o settz.o
|
||||
$(CC) $(CFLAGS) tzdump.o settz.o $(LIBS) -o $@
|
||||
|
||||
tzcomp: $(TZCOBJS)
|
||||
$(CC) $(CFLAGS) $(TZCOBJS) $(LIBS) -o $@
|
||||
|
||||
bundle: $(WHOLE_ENCHILADA)
|
||||
bundle $(WHOLE_ENCHILADA) > bundle
|
||||
bundle: $(ENCHILADA)
|
||||
bundle $(ENCHILADA) > bundle
|
||||
|
||||
$(WHOLE_ENCHILADA):
|
||||
$(ENCHILADA):
|
||||
sccs get $(REL) $(REV) $@
|
||||
|
||||
sure: try.c settz.c fake.c
|
||||
lint $(LINTFLAGS) try.c settz.c
|
||||
sure: tzdump.c settz.c
|
||||
lint $(LINTFLAGS) tzdump.c settz.c
|
||||
lint $(LINTFLAGS) $(TZCSRCS)
|
||||
|
||||
clean:
|
||||
@ -38,4 +43,4 @@ clean:
|
||||
CLEAN: clean
|
||||
sccs clean
|
||||
|
||||
try.o tzcomp.o settz.o: timezone.h
|
||||
tzdump.o tzcomp.o settz.o: timezone.h
|
||||
|
||||
Reference in New Issue
Block a user