obj directory. Had to comment out the .c.obj line because the
new make doesn't deal with it properly. Also had to change a
couple of .out files to .OUT, because the new make doesn't deal
with "foo.o: foo.out" properly.
SCCS-vsn: usr.bin/tn3270/api/makefile 4.2
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
-# @(#)makefile 4.1 (Berkeley) %G%
+# @(#)makefile 4.2 (Berkeley) %G%
# msdos versus unix defines
O = .o
#PC_O = .obj
# msdos versus unix defines
O = .o
#PC_O = .obj
ALLO = apilib$O api_bsd$O api_exch$O astosc$O asc_ebc$O dctype$O \
disp_asc$O ebc_disp$O
ALLO = apilib$O api_bsd$O api_exch$O astosc$O asc_ebc$O dctype$O \
disp_asc$O ebc_disp$O
-.c.obj:
- ${CC} ${CFLAGS} -c $<
+#.c.obj:
+# ${CC} ${CFLAGS} -c $<
apilib.a: ${ALLO}
${RM} $@
apilib.a: ${ALLO}
${RM} $@
clean:
for i in ${ALLO} errs apilib.a makefile.bak \
disp_out asc_disp.out astosc.out disp_asc.out \
clean:
for i in ${ALLO} errs apilib.a makefile.bak \
disp_out asc_disp.out astosc.out disp_asc.out \
+ astosc.OUT disp_asc.OUT \
test* test$O t1* t1$O t2* t2$O; \
do (${RM} $$i); done
test* test$O t1* t1$O t2* t2$O; \
do (${RM} $$i); done
@for i in ${ALLSOURCE}; \
do (echo ${DIRPATH}$$i); done
@for i in ${ALLSOURCE}; \
do (echo ${DIRPATH}$$i); done
-astosc.out: ../ctlr/function.h ../ctlr/hostctlr.h ../ctlr/$(KBD)
- (cd ../tools; make mkastosc$X )
- ${RM} $@
- ../tools/mkastosc < ../ctlr/$(KBD) > $@
+astosc.OUT: ../ctlr/function.h ../ctlr/hostctlr.h ../ctlr/$(KBD)
+ (cd ${.CURDIR}/../tools; make mkastosc$X )
+ ${RM} $@ astosc.out
+ ../tools/mkastosc ${.CURDIR}/../ctlr/hostctlr.h \
+ ${.CURDIR}/../ctlr/function.h < \
+ ${.CURDIR}/../ctlr/$(KBD) > $@
+ ln $@ astosc.out
- (cd ../tools; make mkastods$X )
+ (cd ${.CURDIR}/../tools; make mkastods$X )
${RM} $@
../tools/mkastods > $@
${RM} $@
../tools/mkastods > $@
-disp_asc.out: ebc_disp$O
- (cd ../tools; make mkdstoas$X )
- ${RM} $@
+disp_asc.OUT: ebc_disp$O
+ (cd ${.CURDIR}/../tools; make mkdstoas$X )
+ ${RM} $@ disp_asc.out
depend:
grep '^#include' ${ALLC} | grep -v '<' | \
depend:
grep '^#include' ${ALLC} | grep -v '<' | \
api_bsd$O: ../ctlr/api.h api_exch.h
api_exch$O: ../general/general.h api_exch.h
asc_ebc$O: asc_ebc.h
api_bsd$O: ../ctlr/api.h api_exch.h
api_exch$O: ../general/general.h api_exch.h
asc_ebc$O: asc_ebc.h
-astosc$O: ../general/general.h ../ctlr/function.h astosc.h astosc.out
+astosc$O: ../general/general.h ../ctlr/function.h astosc.h astosc.OUT
-disp_asc$O: disp_asc.h asc_disp.out disp_asc.out
+disp_asc$O: disp_asc.h asc_disp.out disp_asc.OUT