File: 10_remove_static

package info (click to toggle)
chntpw 140201-1.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,160 kB
  • sloc: ansic: 24,950; makefile: 168
file content (22 lines) | stat: -rw-r--r-- 777 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Do not build static files in the Makefile, they are not used in Debian.
Author: Javier Fernandez-Sanguino <jfs@debian.org> for Debian
Forwarded: not-needed, this patch is Debian-specific

--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@
 LIBS=$(shell libgcrypt-config --libs)
 
 
-all: chntpw chntpw.static cpnt reged reged.static samusrgrp samusrgrp.static sampasswd sampasswd.static
+all: chntpw cpnt reged samusrgrp sampasswd
 
 chntpw: chntpw.o ntreg.o edlib.o libsam.o
 	$(CC) $(CFLAGS) -o chntpw chntpw.o ntreg.o edlib.o libsam.o $(LIBS)
@@ -52,5 +52,5 @@
 	$(CC) -c $(CFLAGS) $<
 
 clean:
-	rm -f *.o chntpw chntpw.static cpnt reged reged.static samusrgrp samusrgrp.static sampasswd sampasswd.static *~
+	rm -f *.o chntpw cpnt reged samusrgrp sampasswd *~