31 $(BUILD64)SUBDIRS += $(MACH64)
32
33 all := TARGET= all
34 clean := TARGET= clean
35 clobber := TARGET= clobber
36 install := TARGET= install
37 lint := TARGET= lint
38
39 .KEEP_STATE:
40
41 all clean clobber install lint: $(SUBDIRS)
42
43 check: $(CHECKHDRS)
44
45 $(SUBDIRS): FRC
46 @cd $@; pwd; $(MAKE) $(TARGET)
47
48 FRC:
49
50 include ../Makefile.targ
51
52 # EXPORT DELETE START
53 EXPORT_SRC:
54 $(RM) common/des.c+ common/des_crypt.c+ common/des_soft.c+ \
55 common/des_decrypt.c+ common/des_encrypt.c+ \
56 Makefile+
57 sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" < \
58 common/des.c > common/des.c+
59 $(MV) common/des.c+ common/des.c
60 sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" < \
61 common/des_crypt.c > common/des_crypt.c+
62 $(MV) common/des_crypt.c+ common/des_crypt.c
63 sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" < \
64 common/des_soft.c > common/des_soft.c+
65 $(MV) common/des_soft.c+ common/des_soft.c
66 sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" < \
67 common/des_encrypt.c > common/des_encrypt.c+
68 $(MV) common/des_encrypt.c+ common/des_encrypt.c
69 sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" < \
70 common/des_decrypt.c > common/des_decrypt.c+
71 $(MV) common/des_decrypt.c+ common/des_decrypt.c
72 sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
73 < Makefile > Makefile+
74 $(MV) Makefile+ Makefile
75 $(CHMOD) 444 Makefile common/des.c common/des_crypt.c \
76 common/des_soft.c common/des_encrypt.c common/des_decrypt.c
77 # EXPORT DELETE END
|
31 $(BUILD64)SUBDIRS += $(MACH64)
32
33 all := TARGET= all
34 clean := TARGET= clean
35 clobber := TARGET= clobber
36 install := TARGET= install
37 lint := TARGET= lint
38
39 .KEEP_STATE:
40
41 all clean clobber install lint: $(SUBDIRS)
42
43 check: $(CHECKHDRS)
44
45 $(SUBDIRS): FRC
46 @cd $@; pwd; $(MAKE) $(TARGET)
47
48 FRC:
49
50 include ../Makefile.targ
|