mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-11-22 05:10:17 +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
|
CFLAGS= -g -DOBJECTID
|
||||||
|
|
||||||
|
TZCFLAGS= -d tzdir # Remove this line to put files in /etc/tzdir
|
||||||
TZCSRCS= tzcomp.c scheck.c strchr.c
|
TZCSRCS= tzcomp.c scheck.c strchr.c
|
||||||
TZCOBJS= tzcomp.o scheck.o strchr.o
|
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)
|
all: $(ALL)
|
||||||
|
|
||||||
data:
|
data: tzcomp
|
||||||
tzcomp tzinfo
|
tzcomp $(TZCFLAGS) tzinfo
|
||||||
|
|
||||||
try: try.o settz.o
|
uspres nonpres: types.sh
|
||||||
$(CC) $(CFLAGS) try.o settz.o $(LIBS) -o $@
|
cp $? $@
|
||||||
|
chmod +x $@
|
||||||
|
|
||||||
|
tzdump: tzdump.o settz.o
|
||||||
|
$(CC) $(CFLAGS) tzdump.o settz.o $(LIBS) -o $@
|
||||||
|
|
||||||
tzcomp: $(TZCOBJS)
|
tzcomp: $(TZCOBJS)
|
||||||
$(CC) $(CFLAGS) $(TZCOBJS) $(LIBS) -o $@
|
$(CC) $(CFLAGS) $(TZCOBJS) $(LIBS) -o $@
|
||||||
|
|
||||||
bundle: $(WHOLE_ENCHILADA)
|
bundle: $(ENCHILADA)
|
||||||
bundle $(WHOLE_ENCHILADA) > bundle
|
bundle $(ENCHILADA) > bundle
|
||||||
|
|
||||||
$(WHOLE_ENCHILADA):
|
$(ENCHILADA):
|
||||||
sccs get $(REL) $(REV) $@
|
sccs get $(REL) $(REV) $@
|
||||||
|
|
||||||
sure: try.c settz.c fake.c
|
sure: tzdump.c settz.c
|
||||||
lint $(LINTFLAGS) try.c settz.c
|
lint $(LINTFLAGS) tzdump.c settz.c
|
||||||
lint $(LINTFLAGS) $(TZCSRCS)
|
lint $(LINTFLAGS) $(TZCSRCS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@ -38,4 +43,4 @@ clean:
|
|||||||
CLEAN: clean
|
CLEAN: clean
|
||||||
sccs 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