31 lines
601 B
Makefile
31 lines
601 B
Makefile
PROGRAMS = wrc$(EXEEXT)
|
|
MANPAGES = wrc.man.in
|
|
ALL_LIBS = @LIBGETTEXTPO@ $(LIBWPP) $(LIBWINE_STATIC) $(LIBPORT)
|
|
|
|
C_SRCS = \
|
|
dumpres.c \
|
|
genres.c \
|
|
newstruc.c \
|
|
po.c \
|
|
readres.c \
|
|
translation.c \
|
|
utils.c \
|
|
wrc.c \
|
|
writeres.c
|
|
|
|
LEX_SRCS = parser.l
|
|
BISON_SRCS = parser.y
|
|
|
|
wrc_EXTRADEFS = -DINCLUDEDIR="\"${includedir}\""
|
|
|
|
@MAKE_RULES@
|
|
|
|
wrc$(EXEEXT): $(OBJS) $(LIBWPP)
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(ALL_LIBS) $(LDFLAGS)
|
|
|
|
install install-dev:: wrc$(EXEEXT) install-man-pages
|
|
$(INSTALL_PROGRAM) wrc$(EXEEXT) $(DESTDIR)$(bindir)/wrc$(EXEEXT)
|
|
|
|
uninstall::
|
|
$(RM) $(DESTDIR)$(bindir)/wrc$(EXEEXT)
|