mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
- Remove some old rc make stuff
- "make clean" omitted some include subdirs
This commit is contained in:
parent
4ddedb8131
commit
03b5529ab4
2 changed files with 2 additions and 18 deletions
|
@ -99,22 +99,6 @@ OBJS = $(C_SRCS:.c=.o) $(GEN_ASM_SRCS:.s=.o) $(ASM_SRCS:.S=.o) \
|
|||
.res.h:
|
||||
$(WRC) $(WRCFLAGS) $(WRCEXTRA) -bnh $<
|
||||
|
||||
# Obsolete
|
||||
#.rc.c:
|
||||
# echo "#include \"windows.h\"" >$*-tmp.c
|
||||
# echo WINDOWS_H_ENDS_HERE >>$*-tmp.c
|
||||
# cat $< >>$*-tmp.c
|
||||
# $(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P $*-tmp.c | sed -e '1,/^WINDOWS_H_ENDS_HERE/d' | $(WINERC) $(RCFLAGS) -c -o $* -p $*
|
||||
# $(RM) $*-tmp.c
|
||||
#
|
||||
#.rc.h:
|
||||
# echo "#include \"windows.h\"" >$*-tmp.c
|
||||
# echo WINDOWS_H_ENDS_HERE >>$*-tmp.c
|
||||
# cat $< >>$*-tmp.c
|
||||
# $(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P $*-tmp.c | sed -e '1,/^WINDOWS_H_ENDS_HERE/d' | $(WINERC) $(RCFLAGS) -c -o $* -p $*
|
||||
# $(RM) $*-tmp.c
|
||||
#
|
||||
|
||||
|
||||
# Rule to rebuild the resource compiler
|
||||
|
||||
|
@ -166,7 +150,7 @@ depend:: $(MAKEDEP) $(C_SRCS) $(RC_SRCS) $(EXTRA_SRCS)
|
|||
$(MAKEDEP) $(DIVINCL) -C$(SRCDIR) $(C_SRCS) $(RC_SRCS) $(EXTRA_SRCS)
|
||||
|
||||
clean::
|
||||
$(RM) *.o \#*\# *~ *% .#* *.bak *.orig *.rej *.flc *-tmp.c y.tab.c y.tab.h lex.yy.c core $(GEN_ASM_SRCS) $(RC_SRCS:.rc=.s) $(RC_SRCS:.rc=.h) $(PROGRAMS)
|
||||
$(RM) *.o \#*\# *~ *% .#* *.bak *.orig *.rej *.flc y.tab.c y.tab.h lex.yy.c core $(GEN_ASM_SRCS) $(RC_SRCS:.rc=.s) $(RC_SRCS:.rc=.h) $(PROGRAMS)
|
||||
|
||||
dummy:
|
||||
|
||||
|
|
|
@ -234,7 +234,7 @@ htmlpages:
|
|||
|
||||
clean::
|
||||
for i in $(BUILDSUBDIRS); do (cd $$i; $(MAKE) clean) || exit 1; done
|
||||
for i in include include/wine; do (cd $$i; $(RM) *.o \#*\# .#* *~ *% *.bak *.orig *.rej *.flc); done
|
||||
for i in include include/bitmaps include/server include/wine; do (cd $$i; $(RM) *.o \#*\# .#* *~ *% *.bak *.orig *.rej *.flc); done
|
||||
$(RM) wine wine.sym libwine.a libwine.so.1.0 libwine.so TAGS .#*
|
||||
|
||||
distclean: clean
|
||||
|
|
Loading…
Reference in a new issue