2 CHARMC
=$(BIN
)/charmc
$(OPTS
) -lm
-I..
6 INCLUDED
=..
/conv-mach.h ..
/conv-mach-opt.h \
7 ..
/ccs-server.c ..
/ccs-server.h ..
/ccs-auth.c ..
/ccs-auth.h \
8 ..
/sockRoutines.c ..
/sockRoutines.h
10 all: charmrun-notify charmrun-silent charmd charmd_faceless
12 charmrun-silent
: charmrun.c
$(INCLUDED
)
13 $(CHARMC
) -c
-seq
-DSILENT charmrun.c
-o charmrun-silent.o
14 $(CHARMC
) -cp
$(BIN
) -seq
-o charmrun-silent charmrun-silent.o
16 charmrun-notify
: charmrun.c
$(INCLUDED
)
17 $(CHARMC
) -c
-seq
-DNOTIFY charmrun.c
18 $(CHARMC
) -cp
$(BIN
) -seq
-o charmrun-notify charmrun.o
19 (cd ..
; CHARMINC
=.
; . .
/conv-config.sh
; cp ..
/bin
/charmrun-notify
$$CMK_POST_EXE ..
/bin
/charmrun
$$CMK_POST_EXE)
21 charmd
: daemon.c daemon.h ..
/sockRoutines-seq.o
22 $(CHARMC
) -seq
-c daemon.c
-o daemon.o
23 $(CHARMC
) -cp
$(BIN
) -seq daemon.o ..
/sockRoutines-seq.o
-o charmd
25 charmd_faceless
: daemon.c daemon.h ..
/sockRoutines-seq.o
26 $(CHARMC
) -seq
-DFACELESS
-c daemon.c
-o daemon-faceless.o
27 $(CHARMC
) -cp
$(BIN
) -seq
-DFACELESS daemon-faceless.o ..
/sockRoutines-seq.o
-o charmd_faceless
;
30 rm -f
*.o charmrun charmrun-notify charmrun-silent
31 rm -f charmd charmd_faceless