75 clobber: $(SUBDIRS)
76 $(RM) $(POFILE) $(POFILES)
77
78 check: $(CHECKHDRS)
79
80 do_pkg:
81 cd pkg ; pwd ; $(MAKE) install
82
83 $(ROOTLIBDIR):
84 $(INS.dir)
85
86
87 # include library targets
88 # include ../../Makefile.targ
89
90 $(SUBDIRS): FRC
91 @cd $@; pwd; $(MAKE) $(TARGET)
92
93 FRC:
94
95 # EXPORT DELETE START
96 # Special target to clean up the source tree for export distribution
97 # Warning: This target changes the source tree
98 EXPORT_SRC:
99 $(RM) Makefile+ Makefile.mech_krb5+\
100 crypto/des/afsstring2key.c+ \
101 crypto/des/string2key.c+ \
102 mech/krb5_gss_glue.c+
103
104 $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
105 < crypto/des/afsstring2key.c > crypto/des/afsstring2key.c+
106 $(MV) crypto/des/afsstring2key.c+ crypto/des/afsstring2key.c
107
108 $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
109 < crypto/des/string2key.c > crypto/des/string2key.c+
110 $(MV) crypto/des/string2key.c+ crypto/des/string2key.c
111
112 $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
113 < mech/krb5_gss_glue.c > mech/krb5_gss_glue.c+
114 $(MV) mech/krb5_gss_glue.c+ mech/krb5_gss_glue.c
115
116 $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
117 < Makefile.mech_krb5 > Makefile.mech_krb5+
118 $(MV) Makefile.mech_krb5+ Makefile.mech_krb5
119
120 $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
121 < Makefile > Makefile+
122 $(MV) Makefile+ Makefile
123
124 $(CHMOD) 444 Makefile Makefile.mech_krb5 \
125 crypto/des/afsstring2key.c \
126 crypto/des/string2key.c \
127 mech/krb5_gss_glue.c
128
129
130 # CRYPT DELETE START
131 # Special target to clean up the source tree for domestic distribution
132 # Warning: This target changes the source tree
133 CRYPT_SRC:
134 $(RM) Makefile+ mech/krb5_gss_glue.c+
135
136 $(SED) -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
137 > mech/krb5_gss_glue.c+ < mech/krb5_gss_glue.c
138 $(MV) mech/krb5_gss_glue.c+ mech/krb5_gss_glue.c
139
140 $(SED) -e "/^# CRYPT DELETE START/,/^# CRYPT DELETE END/d" \
141 < Makefile \
142 | $(SED) -e "/EXPORT DELETE/d" \
143 > Makefile+
144 $(MV) Makefile+ Makefile
145
146 $(CHMOD) 444 mech/krb5_gss_glue.c Makefile
147
148 # CRYPT DELETE END
149 # EXPORT DELETE END
150
151
152
153 FRC:
154
155 _msg: $(MSGDOMAIN) .WAIT $(POFILE)
156 $(RM) $(MSGDOMAIN)/$(POFILE)
157 $(CP) $(POFILE) $(MSGDOMAIN)
158
159 $(POFILE): $(DERIVED_FILES) .WAIT $(POFILES)
160 $(RM) $@
161 $(CAT) $(POFILES) > $@
162
163 generic.po: FRC
164 $(RM) messages.po
165 -$(XGETTEXT) $(XGETFLAGS) `$(GREP) -s -l gettext`
166 $(SED) "/^domain/d" messages.po > $@
167 $(RM) messages.po
168
169 $(MSGDOMAIN):
170 $(INS.dir)
|
75 clobber: $(SUBDIRS)
76 $(RM) $(POFILE) $(POFILES)
77
78 check: $(CHECKHDRS)
79
80 do_pkg:
81 cd pkg ; pwd ; $(MAKE) install
82
83 $(ROOTLIBDIR):
84 $(INS.dir)
85
86
87 # include library targets
88 # include ../../Makefile.targ
89
90 $(SUBDIRS): FRC
91 @cd $@; pwd; $(MAKE) $(TARGET)
92
93 FRC:
94
95 _msg: $(MSGDOMAIN) .WAIT $(POFILE)
96 $(RM) $(MSGDOMAIN)/$(POFILE)
97 $(CP) $(POFILE) $(MSGDOMAIN)
98
99 $(POFILE): $(DERIVED_FILES) .WAIT $(POFILES)
100 $(RM) $@
101 $(CAT) $(POFILES) > $@
102
103 generic.po: FRC
104 $(RM) messages.po
105 -$(XGETTEXT) $(XGETFLAGS) `$(GREP) -s -l gettext`
106 $(SED) "/^domain/d" messages.po > $@
107 $(RM) messages.po
108
109 $(MSGDOMAIN):
110 $(INS.dir)
|