mirror of
https://github.com/sheumann/AFPBridge.git
synced 2024-06-09 14:29:28 +00:00
503b15b5e4
This currently uses the run queue to poll for messages from the server, which works OK in typical desktop programs but not in other environments.
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
CFLAGS = -i -w
|
|
|
|
DSITEST_OBJS = dsitest.o aspinterface.o dsi.o readtcp.o endian.o tcpconnection.o atipmapping.o asmglue.o cmdproc.o
|
|
DSITEST_PROG = dsitest
|
|
|
|
AFPMOUNTER_OBJS = afpmounter.o callat.o endian.o
|
|
AFPMOUNTER_PROG = afpmounter
|
|
|
|
DUMPCMDTBL_OBJS = dumpcmdtbl.o asmglue.o
|
|
DUMPCMDTBL_PROG = dumpcmdtbl
|
|
|
|
AFPBRIDGE_OBJS = afpinit.o afpbridge.o aspinterface.o dsi.o readtcp.o endian.o tcpconnection.o atipmapping.o asmglue.o installcmds.o cmdproc.o callat.o
|
|
AFPBRIDGE_PROG = afpbridge
|
|
|
|
PROGS = $(DSITEST_PROG) $(AFPMOUNTER_PROG) $(DUMPCMDTBL_PROG) $(AFPBRIDGE_PROG)
|
|
|
|
.PHONY: default
|
|
default: $(PROGS)
|
|
|
|
$(DSITEST_PROG): $(DSITEST_OBJS)
|
|
occ $(CFLAGS) -o $@ $(DSITEST_OBJS)
|
|
|
|
$(AFPMOUNTER_PROG): $(AFPMOUNTER_OBJS)
|
|
occ $(CFLAGS) -o $@ $(AFPMOUNTER_OBJS)
|
|
|
|
$(DUMPCMDTBL_PROG): $(DUMPCMDTBL_OBJS)
|
|
occ $(CFLAGS) -o $@ $(DUMPCMDTBL_OBJS)
|
|
|
|
$(AFPBRIDGE_PROG): $(AFPBRIDGE_OBJS)
|
|
occ $(CFLAGS) -o $@ $(AFPBRIDGE_OBJS)
|
|
chtyp -tpif $@
|
|
|
|
%.macros: %.asm
|
|
macgen $< $@ /lang/orca/Libraries/ORCAInclude/m16.*
|
|
|
|
.PHONY: install
|
|
install: $(AFPBRIDGE_PROG)
|
|
cp $(AFPBRIDGE_PROG) "*/System/System.Setup"
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
$(RM) $(PROGS) *.o *.root > .null
|