mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
3dc5d9461e
Updated all Makefiles to use .spec files and new resource handling.
44 lines
794 B
Makefile
44 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:
|