Sweden-Number/server/Makefile.in

70 lines
1.2 KiB
Makefile

EXTRALIBS = @LIBPOLL@ @LIBRT@
C_SRCS = \
async.c \
atom.c \
change.c \
class.c \
clipboard.c \
completion.c \
console.c \
debugger.c \
device.c \
directory.c \
event.c \
fd.c \
file.c \
handle.c \
hook.c \
mach.c \
mailslot.c \
main.c \
mapping.c \
mutex.c \
named_pipe.c \
object.c \
process.c \
procfs.c \
ptrace.c \
queue.c \
region.c \
registry.c \
request.c \
semaphore.c \
serial.c \
signal.c \
snapshot.c \
sock.c \
symlink.c \
thread.c \
timer.c \
token.c \
trace.c \
unicode.c \
user.c \
window.c \
winstation.c
PROGRAMS = wineserver wineserver-installed
MANPAGES = \
wineserver.de.UTF-8.man.in \
wineserver.fr.UTF-8.man.in \
wineserver.man.in
OBJS = $(C_SRCS:.c=.o)
wineserver: $(OBJS)
$(CC) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(EXTRALIBS) $(LIBS) $(LDRPATH_LOCAL)
wineserver-installed: $(OBJS)
$(CC) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(EXTRALIBS) $(LIBS) $(LDRPATH_INSTALL)
.PHONY: install install-lib uninstall
install install-lib:: wineserver-installed install-man-pages
$(INSTALL_PROGRAM) wineserver-installed $(DESTDIR)$(bindir)/wineserver
uninstall::
$(RM) $(DESTDIR)$(bindir)/wineserver