36 SUBDIRS= $(MACH)
37 $(BUILD64)SUBDIRS += $(MACH64)
38
39 HDRS = gssapiP_spnego.h
40 HDRDIR = mech
41
42 all := TARGET= all
43 clean := TARGET= clean
44 clobber := TARGET= clobber
45 install := TARGET= install
46 lint := TARGET= lint
47
48 .KEEP_STATE:
49
50 all clean clobber install lint: $(SUBDIRS)
51
52 $(SUBDIRS): FRC
53 @cd $@; pwd; $(MAKE) $(TARGET)
54
55 FRC:
56
57 # EXPORT DELETE START
58 # Special target to clean up the source tree for export distribution
59 # Warning: This target changes the source tree
60 EXPORT_SRC:
61 $(RM) Makefile+ mech/spnego_mech.c+
62 sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
63 < mech/spnego_mech.c > mech/spnego_mech.c+
64 $(MV) mech/spnego_mech.c+ mech/spnego_mech.c
65 sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
66 < Makefile > Makefile+
67 $(MV) Makefile+ Makefile
68 $(CHMOD) 444 Makefile mech/spnego_mech.c
69
70 # CRYPT DELETE START
71 # Special target to clean up the source tree for domestic distribution
72 # Warning: This target changes the source tree
73 CRYPT_SRC:
74 $(RM) Makefile+ mech/spnego_mech.c+
75 sed -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
76 < mech/spnego_mech.c > mech/spnego_mech.c+
77 $(MV) mech/spnego_mech.c+ mech/spnego_mech.c
78 sed -e "/^# CRYPT DELETE START/,/^# CRYPT DELETE END/d" \
79 < Makefile > Makefile+
80 $(MV) Makefile+ Makefile
81 $(CHMOD) 444 Makefile mech/spnego_mech.c
82
83 # CRYPT DELETE END
84 # EXPORT DELETE END
|
36 SUBDIRS= $(MACH)
37 $(BUILD64)SUBDIRS += $(MACH64)
38
39 HDRS = gssapiP_spnego.h
40 HDRDIR = mech
41
42 all := TARGET= all
43 clean := TARGET= clean
44 clobber := TARGET= clobber
45 install := TARGET= install
46 lint := TARGET= lint
47
48 .KEEP_STATE:
49
50 all clean clobber install lint: $(SUBDIRS)
51
52 $(SUBDIRS): FRC
53 @cd $@; pwd; $(MAKE) $(TARGET)
54
55 FRC:
|