Makefile (b6805bf78d2bbbeeaea8909a05623587b42d58b3) | Makefile (7f11fd00fc23e2af7ae21cc8837a2b86380dcfa7) |
---|---|
1# 2# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 3# Use is subject to license terms. 4# 5 6NATIVE=native 7PROG= zic 8KSHPROG= tzselect --- 52 unchanged lines hidden (view full) --- 61 $(LINK.c) $(OBJS) -o $@ $(LDLIBS) 62 $(POST_PROCESS) 63 64install: all $(DIRS) $(ROOTTZSRCD) $(ROOTTZTABD) $(ROOTUSRSBINPROG) \ 65 $(ROOTLIBTZSRCFILES) $(ROOTLIBTZTABFILES) $(ROOTKSHPROG) 66 $(NPROG) -d $(ROOTTZD) $(TZFILES) 67 68$(NPROG): $(NATIVE) $(NOBJS) | 1# 2# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 3# Use is subject to license terms. 4# 5 6NATIVE=native 7PROG= zic 8KSHPROG= tzselect --- 52 unchanged lines hidden (view full) --- 61 $(LINK.c) $(OBJS) -o $@ $(LDLIBS) 62 $(POST_PROCESS) 63 64install: all $(DIRS) $(ROOTTZSRCD) $(ROOTTZTABD) $(ROOTUSRSBINPROG) \ 65 $(ROOTLIBTZSRCFILES) $(ROOTLIBTZTABFILES) $(ROOTKSHPROG) 66 $(NPROG) -d $(ROOTTZD) $(TZFILES) 67 68$(NPROG): $(NATIVE) $(NOBJS) |
69 $(NATIVECC) -o $@ $(NOBJS) | 69 $(NATIVECC) $(NATIVE_CFLAGS) -o $@ $(NOBJS) |
70 71# 72# XXX 73# There is a .ksh rule in Makefile.targ, but we need our custom POFILE rules. 74# 75$(KSHPROG): $(KSHPROG).ksh 76 $(RM) $@ 77 $(CAT) $(KSHPROG).ksh > $@ --- 12 unchanged lines hidden (view full) --- 90 -@mkdir -p $@ 91 92clean: 93 $(RM) $(OBJS) 94 95lint: lint_SRCS 96 97$(NOBJS): $$(@F:.o=.c) | 70 71# 72# XXX 73# There is a .ksh rule in Makefile.targ, but we need our custom POFILE rules. 74# 75$(KSHPROG): $(KSHPROG).ksh 76 $(RM) $@ 77 $(CAT) $(KSHPROG).ksh > $@ --- 12 unchanged lines hidden (view full) --- 90 -@mkdir -p $@ 91 92clean: 93 $(RM) $(OBJS) 94 95lint: lint_SRCS 96 97$(NOBJS): $$(@F:.o=.c) |
98 $(NATIVECC) -O $(NCPPFLAGS) -c -o $@ $(@F:.o=.c) | 98 $(NATIVECC) -O $(NATIVE_CFLAGS) $(NCPPFLAGS) -c -o $@ $(@F:.o=.c) |
99 100$(NATIVE)/zic.o: $(NATIVE)/tzfile.h 101 | 99 100$(NATIVE)/zic.o: $(NATIVE)/tzfile.h 101 |
102#$(NATIVE)/scheck.o: scheck.c 103# $(NATIVECC) -c -o $@ scheck.c 104 105#$(NATIVE)/ialloc.o: ialloc.c 106# $(NATIVECC) -c -o $@ ialloc.c 107 | |
108$(NATIVE)/tzfile.h: $(ROOT)/usr/include/tzfile.h 109 $(RM) $@; cp $(ROOT)/usr/include/tzfile.h $@ 110 111# 112# From ../Makefile.targ 113# 114clobber: clean 115 -$(RM) $(PROG) $(CLOBBERFILES) --- 25 unchanged lines hidden --- | 102$(NATIVE)/tzfile.h: $(ROOT)/usr/include/tzfile.h 103 $(RM) $@; cp $(ROOT)/usr/include/tzfile.h $@ 104 105# 106# From ../Makefile.targ 107# 108clobber: clean 109 -$(RM) $(PROG) $(CLOBBERFILES) --- 25 unchanged lines hidden --- |