mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
933 B

  1. --- ./Makefile.orig 2003-10-18 11:26:04.000000000 +0300
  2. +++ ./Makefile 2003-10-18 11:26:13.000000000 +0300
  3. @@ -23,7 +23,6 @@
  4. MINE_VER = 0.15
  5. MINE_OBJ = create.o install.o remove.o pkglist.o
  6. MINE_OBJ += showfile.o showkey.o memdb.o md5.o md5sum.o mine.o
  7. -MINE_LDFLAGS = -static
  8. # GAS
  9. #
  10. @@ -63,7 +62,7 @@
  11. # What do we want to build
  12. #
  13. -targets = mine
  14. +targets = mine mine.static
  15. ifeq ($(USE_GAS), 1)
  16. targets += gasgui
  17. endif
  18. @@ -79,13 +78,17 @@
  19. all: $(targets)
  20. mine: $(MINE_ALL_OBJS)
  21. - $(CC) $(MINE_ALL_OBJS) $(MINE_LDFLAGS) -o mine
  22. + $(CC) $(MINE_ALL_OBJS) -o mine
  23. +
  24. +mine.static:
  25. + $(CC) $(MINE_ALL_OBJS) -static -o mine.static
  26. gasgui: $(GAS_OBJ)
  27. $(CC) $(GAS_OBJ) -ldialog -lcurses -lm -o gasgui
  28. install:
  29. install mine $(sysprefix)/bin/mine
  30. + install mine.static $(sysprefix)/bin/mine.static
  31. install tarbz2gem.sh $(prefix)/sbin/tarbz2gem
  32. install rocket.sh $(prefix)/sbin/rocket
  33. ifeq ($(USE_GAS), 1)