75d3db4911
this server, tests, vm support, library stubs and other contributions are the work of Guanqun Lu, a 2009 GSOC student.
30 lines
474 B
Makefile
30 lines
474 B
Makefile
# Makefile for IPC server
|
|
SERVER = ipc
|
|
|
|
include /etc/make.conf
|
|
|
|
OBJ = main.o utility.o shm.o sem.o
|
|
|
|
CPPFLAGS=
|
|
CFLAGS = $(CPROFILE) $(CPPFLAGS)
|
|
|
|
# build local binary
|
|
|
|
all build: $(SERVER)
|
|
|
|
install: $(SERVER)
|
|
install -o root -c $< /usr/sbin/$(SERVER)
|
|
|
|
$(SERVER): $(OBJ)
|
|
$(CC) -o $@ $(LDFLAGS) $(OBJ) -lsys
|
|
|
|
# clean up local files
|
|
clean:
|
|
rm -f $(SERVER) *.o *.bak
|
|
|
|
depend:
|
|
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
|
|
# Include generated dependencies.
|
|
include .depend
|
|
|