45 lines
794 B
Makefile
45 lines
794 B
Makefile
DEFS = -DWINELIB
|
|
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = none
|
|
PROGRAMS = progman
|
|
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
|
WRCEXTRA = -s -p progman
|
|
|
|
LICENSELANG = En
|
|
|
|
C_SRCS = \
|
|
dialog.c \
|
|
group.c \
|
|
grpfile.c \
|
|
license.c \
|
|
main.c \
|
|
program.c \
|
|
string.c \
|
|
$(LICENSELANG:%=License_%.c)
|
|
|
|
SPEC_SRCS = progman.spec
|
|
|
|
RC_SRCS = rsrc.rc
|
|
|
|
all: check_wrc check_winestub $(PROGRAMS)
|
|
|
|
@MAKE_RULES@
|
|
|
|
# Override resource compiler rules
|
|
.rc.s:
|
|
$(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -o $*.s
|
|
|
|
progman: $(OBJS)
|
|
$(CC) -o progman $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
install::
|
|
$(INSTALL_PROGRAM) progman $(bindir)/progman
|
|
|
|
uninstall::
|
|
$(RM) $(bindir)/progman
|
|
|
|
### Dependencies:
|